Jump to content

NPCs won't equip custom guns


Shattersphere

Recommended Posts

I've been trying to equip NPCs with custom guns but for some reason they don't equip them. I know for a fact that the heart of the problem is in the model of the gun because when i go into the stats of say a 10mm SMG and replace the model of the 10mm SMG with my custom gun the NPCs won't equip this gun.

 

Any ideas what the problem could be?

Link to comment
Share on other sites

The model won't change the outcome of the NPC using the weapon or not. I think that it's either because you changed the damage values (ie. some previous mod made the damage higher, and your new mod overrode that) or because your NPC keeps picking up a new weapon that's stronger than that weapon.
Link to comment
Share on other sites

If you give the gun to your own character do they equip it?

 

I've just successfully made a new gun and originally found that while the correct gun was being equipped, it wasn't loading the model.

 

What fixed the problem was to create and set a "1stPersonModel". In the stat sheet for the weapon there is a drop down box where you set "first person model". The first person model is a simple static (filter for "1stPerson" in the statics list is probably the easiest way to find the existing ones) which should be pointed at your new gun model, then you can pick it in the drop down list on the weapon screen.

 

Apologies if the above is a bit vague, I'm not at my own PC so can't check the exact details in the GECK.

 

Also, NPC will use the best gun in their inventory, so it may be worth setting the damage to an obscenely high value just for testing.

Link to comment
Share on other sites

Thanks for the help guys, I'll test what you said then reply

 

EDIT

 

I repeated the test i did in my original post except i made the damage values of the gun super high and now it is being equipped by the NPCs! :D

Thanks again for all the help guys now i can finally finish my mod :thumbsup:

Edited by Shattersphere
Link to comment
Share on other sites

  • Recently Browsing   0 members

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