Jump to content

Help with NPC Templates & LeveledNPC


Thom293

Recommended Posts

Ok, so can someone help me with the following, please? I am 99% done with a mod, but this last part is vexing me. Here is what I want:

 

So the game already does all of the below. I am simply making a change to one NPC. I want one of the 5 versions NiceGuyNPC that are spawned to look like a bad guy and have slightly different equipment, but otherwise behave as the other 4 versions of NiceGuyNPC.

 

So, in FO4Edit here is how the records look:

 

  1. BadGuyNPC 1-4
  2. LeveledBadGuyTemplate - Calls on all 4 BadGuyNPC1-4 (who all look different)
  3. NiceGuy1NPC - (This is the Guy I customize). I change this version so I want him to LOOK like any of the 5 options in the Leveled bad guy template, but not have any of their stats or equipment. I assign LeveledBadGuyTemplate as the Template and assign the template flag Use Model/Animation. I give NiceGuy1NPC some different equipment and different starting outfit and better health offset.
  4. NiceGuy2-5NPC - Stock NPCs that I dont change. They all look different, but have the same equipment, outfit and health, etc.
  5. LeveledNiceGuy-calls on NiceGuy1NPC (the guy I changed with different equipment) and also NiceGuy2-5NPC (that all have the same NiceGuy equipment) (5 npcs total).
  6. FinalNiceGuyNPC - This is the final guy that appears in game and has 5 possible options. Calls on LeveledNiceGuy template. But also has the default NiceGuy equipment listed in the record.

 

So my question is - if i was lucky and got each of the possible 5 FinalNice guy possibilities - 4 of them would have similar look and equipment. One of them would have a different (bad guy) appearance and custom equipment, but otherwise be functionally the same as all of the other nice guys.

 

In other words, I want one of the Nice guys to look like a bad guy and have slightly different equipment. Is that possible?

 

I would think that in the FinalNiceGuyNPC, I could delete alll of the places that I wanted inhereted from the leveled list NPCs. In other words, if the leveld list NPCs all have equipment and behavior, why does the FinalNiceGuyNPC need them in his record? Can I make the draw from the leveled list NPCs and delete everything else?

 

I may not have explained that great. I will elaborate if necessary. Thanks in advance.

Link to comment
Share on other sites

  • 4 months later...

how has nobody answered this yet?

 

anyways, you can put any inventory you want onto your templates, as long as the 'inventrory' (use template actors) is present in your final npc, it will inherit any inventory items from the templates. and make sure the 'inventory' (use template flags) is marked on your templates. it works this way for anything.

 

if you want to have different possibilities, or chances of getting different things, looks, inventory, whatever, use the Leveled NPC branch, (not the non-player character (actor) branch) to make a list of the possibilities, or level scaled npc templates. then instead of entering a npc template into your main-end-result-guy's template actors, enter the LChar leveled npc list that contains whatever tamplate characters.

 

the system goes like this EncNPC->LCharList->LvlNPC to generate nice random or leveled stats.

 

so for example:

 

(non-player character (actor))

EncBadGuy1LooksTemplate

EncBadGuy2LooksTemplate

EncBadGuy3LooksTemplate

 

all go into

 

(Leveled NPC)

LCharRandomLooks

 

which is the template for

 

(non-player character (actor))

LvlBadassNPC

 

and the 'EncBadGuyLooksTemplate's can all be dictated by level too, if you would want, for example, an npc that looks more badass the higher their level (for example)

 

so if you would want a 20% chance of getting a randomly bad dude, make him as a template, along with 4 other good guys templates, then make an LChar (NPC Leveled List) list with all 5 of them, but do NOT give them level scaling, then one will be picked randomly when the character loads, giving you a 20% chance of the bad one spawning.

 

if you want them to scale, youll need to make 6 or so lists of what i previously said, so it would be 6 20%chance-bad-guy LChar lists, and add them all to yet another LChar list, and this time give the LChar list that contains all the LChar lists level scaling. message me if you need any more explanation

Link to comment
Share on other sites

  • Recently Browsing   0 members

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