Jump to content

/Very/ New to modding Oblivion,Need help


Tear3d

Recommended Posts

Hi ^^' as the title says I am exceedingly new to modding this game.

I have watched tutorials (some being up to ten years old at this point) to get started.

I made a mod and posted it the other day, and I am somewhat happy with what ive made.

Only issue being is I don't understand how the AI for NPCs really works, and need some help.

In my mod I included 3 new npcs who all are dressed in darkbrotherhood gear ( https://www.nexusmods.com/oblivion/mods/50351?tab=files )

I was hoping they could be follower npcs like the ones you get at the end of the brotherhood questline (who you can tell to wait, follow you or flee).

If anyone could help me understand how to edit them to be able to do such, or could fix them for me I would appreciate it alot.

Link to comment
Share on other sites

Have you looked at the vanilla game Dark Brotherhood Murders?

 

If you look at their AI Package List you'll see their three Follow packages, and if you look on the Conditions tab you find three GetQuestVariable entries and by expanding the Function Ifo column you'll see three variables from the quest Dark19Whispers (== 1.00 is the same as true and == 0.00 is false).

 

You'll also notice that each Murder has a script listed (DarkMurdererScript). If you open that script in the CS you'll see that it sets variables back to 0.00 (false) and removes a spell (DarkUnderlingFade ... a chameleon ability they have) when they are killed.

 

A look at the quest Dark19Whispers Topics tab reveals the inner workings of getting the followers to follow (see the Result Script box on each of the "Yes, most revered Listener" responses in the Response Details section when for example Dark19Choice1A is highlighted). The scroll arrows are need to see everything the result script does (more in the case of some Choice options than others).

 

That should give you a toehold, and when you run into something you will have a specific question that can then be answered. I myself will probably not have the answer ... the Shivering Isles dancer was recently a subject for my own attempts (I figured three dancers would be more fun than one) but have since scaled back the additional dancers to more of an "additional window dressing" role (i.e. all I actually managed to do was break the vanilla dancer, not recreate some sort of "Happy Hour Review" at the local strip club).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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