Jump to content

NPC Packages Serious Help Needed


Recommended Posts

Ok so heres the situation: In a mod im making for myself and future release I have made a room with lots of chests in it with cool items. And a storage chest that also links to new chests in all of the default houses. This all works just fine and is perfect however i want to add an NPC in like a companion. I want him/her to be able to wait, follow me, or return to the Help Room. Kinda like the adoring fan. However i also need him/her to fight anyone Im fighting. So far Ive managed to make the NPC give it items and made it essential. Im also making it able to Repair my items and recharge them. With my limited knowledge i made a Travel package that provides these services and makes it follow me. I cant achieve anything more on my own.

 

So could someone walk me through or something of the sort of making the Follow me, wait and return dialague, creating the nesscery packages and linking the dialague and the packages together.

 

Please i really need help. Ive looked through the default packages and dialauge but couldnt find anything to suit my needs or how to link them together.

 

Thanks in advance.

Link to comment
Share on other sites

This could take a while so I will go through this step by step with you.

 

First you need to make a new quest, at the top of the CS click on the Q button next to the speach bubble and right click in the far left box under Editor || Priority and select new and give it a name.

I will call the new quest aaaServant, give it a priority of 75 and tick start game enabled.

 

Then click on the Topics button at the top and in the box directly under the Quest Data and Quest stages buttons right click and select add topic, in the little box that opens right click, select new and give it a name, I will call it aaFollow.

In Topic Text put Follow me. right click in respose text and put something like Sir! Yes Sir!

Click ok to close and then save, we will come back to the quest later.

It should look like this before you close and save.

http://i28.tinypic.com/aewggi.png

 

Now we will move onto creating the follow package.

 

Goto character and select Packages, right click and select new, you already know how to do some packages so this will be easy. I will call the package aaaFollowMe

Package type : Follow

Flags : tick Continue if PC near and Must Complete ( Skip fallout behavior optional ).

Any in all Day of week, Month etc boxes, Time - Any, and Duration 0

You can ignore Conditions and Location

Target : Any Object, Object ID : Player, and Count 1

then save.

Now we open the quest and the topic aaaFollow and in the Result script section type : addscriptpackage aaaFollowMe

Tick the Goodbye box if you wish ( optional )

Next come the conditions...The NPC i wish to be able to say this to...Hmmm...I will pick on Elisa Pierrane, so in the conditions box I put : GetIsID ElisaPierrane == 1

close all dialogue boxes and save...next we need to write a small script for the quest to make sure the topic appears in your options when talking to the NPC.

 

http://i32.tinypic.com/244xlqc.png

 

Open your quest and attach this script to it, save and then test in game, if all is well this topic will show on the NPC of your choice. Other topics will be added to both the quest and the small script, but lets get this working for you first before we move onto them.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...