Brandon007 Posted July 9, 2015 Share Posted July 9, 2015 Ello everyone. I am currently working on a nice NPC mod for FAllout NV, but Im kinda stuck at one part. Mostly for their Inventory. In my mod, I have a List of weapons (All subgrouped into different leveled lists with their ammo) as well as Armor (Which have different variants). And I dont know how to get an NPC to randomly pick an entry in the list when it is spawned. This is so that the variety of Inventory of the spawned NPC is pretty much random, giving the illusion that its a unique NPC each time they are spawned. When Spawned, the Weapons are also listed in a leveld list, and when teh NPC is spawned, I want it to also randomly pick from that list. Anyone know how to do that? Link to comment Share on other sites More sharing options...
Brandon007 Posted July 11, 2015 Author Share Posted July 11, 2015 I dont know if its engine coded or not, But I know spawned NPC's use the best equipment in their inventory, but since all the variants have the same stats, just different appearances.... I think it goes alphabetical if all the stats are the same. Link to comment Share on other sites More sharing options...
Brandon007 Posted July 13, 2015 Author Share Posted July 13, 2015 Anyone? A tad bit disappointing. Would of thought someone would of replied to this by now... Link to comment Share on other sites More sharing options...
DaemonGrin Posted July 13, 2015 Share Posted July 13, 2015 If you haven't read this there is a tabled comment concerning chance. It is not based on alphabetical order or the best gear. It is based on what settings you have used. I have created a few leveled items and have not encountered you're issue. Almost every time I've tested my mod the enemies have had different weapons from their list. http://geck.bethsoft.com/index.php?title=LeveledItem Hope that short explaination helps you out,Geoff Link to comment Share on other sites More sharing options...
Brandon007 Posted July 13, 2015 Author Share Posted July 13, 2015 If you haven't read this there is a tabled comment concerning chance. It is not based on alphabetical order or the best gear. It is based on what settings you have used. I have created a few leveled items and have not encountered you're issue. Almost every time I've tested my mod the enemies have had different weapons from their list. http://geck.bethsoft.com/index.php?title=LeveledItem Hope that short explaination helps you out,GeoffWell, Reading what you said, and looking over the page. The NPC should randomly pick a piece of equipment if all the settings are the same right? Link to comment Share on other sites More sharing options...
DaemonGrin Posted July 13, 2015 Share Posted July 13, 2015 If you haven't read this there is a tabled comment concerning chance. It is not based on alphabetical order or the best gear. It is based on what settings you have used. I have created a few leveled items and have not encountered you're issue. Almost every time I've tested my mod the enemies have had different weapons from their list. http://geck.bethsoft.com/index.php?title=LeveledItem Hope that short explaination helps you out,GeoffWell, Reading what you said, and looking over the page. The NPC should randomly pick a piece of equipment if all the settings are the same right? With a chance of 0 and the calculate from all levels <= PC's level checked it should be equal chance between all items in the leveled list. I'd say the best way to test it is plop several of the npc in a room and see who wears what. Not to mention the more armors in the list the more odds of different outfits. Link to comment Share on other sites More sharing options...
Recommended Posts