markprice4675 Posted January 27, 2016 Share Posted January 27, 2016 Greetings. Does anyone know if there is a keyword or editable line in FO4.Edit to stop settlers picking up random weapons from the ground, I am developing my mercenary plugin for the settlement raiding mod and I want them to use the weapons I have selected, however when they kill an NPC if they think that weapon is better than their own they will just pick it up and use that one instead, which is killing my mercenary classes lol Link to mod: http://www.nexusmods.com/fallout4/mods/2995/? If I figure it out on my own I will report it back here :) Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 27, 2016 Share Posted January 27, 2016 I dug around to see if there was an easy solution to a similar issue - them stealing weapons out of containers, but didnt come up with much of an easy way to fix it.No real idea, but think it may have something to do with the sandbox packages attached to them. Did a quick look into workshopNPCScript, the basic script for all NPC's that can be assigned to a workshop, but didnt find much :confused: Link to comment Share on other sites More sharing options...
markprice4675 Posted January 27, 2016 Author Share Posted January 27, 2016 hmm interesting I am digging into that now, I know mama murphy doesnt pick up weapons but also doesnt fight maybe she can show us showing that we are missing... Link to comment Share on other sites More sharing options...
markprice4675 Posted January 27, 2016 Author Share Posted January 27, 2016 does paladin danse at any point randomly pick up weapons? Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 27, 2016 Share Posted January 27, 2016 I havent seen him ever, but then he already has a gatling laser lol Link to comment Share on other sites More sharing options...
markprice4675 Posted January 27, 2016 Author Share Posted January 27, 2016 thats a good point, but thinking about it do any of the companions randomly pick up other weapons? if not that may be the answer, they must have some sort of package or keyword that tells them to use the weapon you have gave them.. Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 27, 2016 Share Posted January 27, 2016 Ya definitely on the right track, I know they use the same scripts as the settlers when they are at a settlement and not actively your companion. If they dont grab things then it would definitely be a package, keyword, or something else. Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 27, 2016 Share Posted January 27, 2016 (edited) The only keyword I could find attached to the base NPC of the settlers (WorkshopNPC) is "AO_Type_WorkshopAlarm" and it links Npcs to the response for the alarm you can build. Been doing a comparison of Mama Murphy, Piper and the Settlers to see if I can find anything.So far I think Mama Murphy may be something to look at the more I think about it, atleast before you build her that chair and she does nothing but get high all day.....I shot her in the face with a mini nuke once and she still didnt budge!I do remember before I had her in a chair she worked in the garden, defended the place and acted like the other settlers. This is also confirmed by her having the "workshopNPCScript" attached to her, granted the allow caravan and move settlement functions are removed. She's also part of the settlers faction (WorkshopNPCFaction) which explains her defending it. Need to figure out she (before druggie state) or any of the other companions are immune to looting from corpses and containers at the settlements. Edited January 27, 2016 by lilkandeekid Link to comment Share on other sites More sharing options...
markprice4675 Posted January 27, 2016 Author Share Posted January 27, 2016 yeah ive been doing some comparisons with Preston and NPCs, Preston will not use any guns he picks up from the ground, he still does pick up weapons but he will not use them. so I'm going to test out his combat style and place it on one of my mercenaries to see if it makes a difference. Link to comment Share on other sites More sharing options...
markprice4675 Posted January 27, 2016 Author Share Posted January 27, 2016 and we have a winner ;) so you need to give them Preston's combat style CSPreston - 000add7fthe NPCs will still pick up random weapons however they will not use them just store in their inventory, win win I think lol I will put down some containers with weapons in next to the mercenaries and spawn some bad guys to see if they are tempted. I will also compare prestons combat style with others to see why he uses the weapon you have gave him. at least now we know :) Link to comment Share on other sites More sharing options...
Recommended Posts