Shattersphere Posted December 1, 2010 Share Posted December 1, 2010 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 More sharing options...
dazzerfong Posted December 1, 2010 Share Posted December 1, 2010 You didn't give them the appropriate ammo for it? Link to comment Share on other sites More sharing options...
Shattersphere Posted December 1, 2010 Author Share Posted December 1, 2010 You didn't give them the appropriate ammo for it? Yeah the gun had the right ammo (10mmlist) and it still didn't work. I'm positive it has something to do with the model but i'm wondering if anybody knows how to change the model so that they will use it. Link to comment Share on other sites More sharing options...
dazzerfong Posted December 1, 2010 Share Posted December 1, 2010 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 More sharing options...
murfy27 Posted December 1, 2010 Share Posted December 1, 2010 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 More sharing options...
Shattersphere Posted December 1, 2010 Author Share Posted December 1, 2010 (edited) 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! :DThanks again for all the help guys now i can finally finish my mod :thumbsup: Edited December 1, 2010 by Shattersphere Link to comment Share on other sites More sharing options...
Recommended Posts