Jump to content

No Pickup


Recommended Posts

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

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

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 by lilkandeekid
Link to comment
Share on other sites

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

and we have a winner ;)

 

so you need to give them Preston's combat style CSPreston - 000add7f

the 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

  • Recently Browsing   0 members

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