KableXX Posted May 11, 2017 Share Posted May 11, 2017 Does anyone know how to change ammo types when creating new receiver mods for weapons? I just now finally figured how to create a craftable weapon attachment but now I'm stuck trying to change my shotgun receiver into a rocket receiver. Anyone care to explain? Link to comment Share on other sites More sharing options...
blackninja50 Posted May 11, 2017 Share Posted May 11, 2017 I have never done a ammo conversion attachment myself but I think looking at the 308 to 50 cal conversion for the hunting rifle would be a good start. Edit: so you need to add a priority modifier Target: poAmmoOp: setForm: (the ammo you want it to use) also Target: pnNPCammoListOp: setForm: LL_Ammo_(the ammo you want it to use) And 2 pnKeywords Op: addForm: dn_HasReceiver_Converted and dn_HasReceiver_Converted(the ammo you want it to use) probably going to need to add a new dn keyword. or at lest thats what it looks like. Link to comment Share on other sites More sharing options...
KableXX Posted May 11, 2017 Author Share Posted May 11, 2017 I have never done a ammo conversion attachment myself but I think looking at the 308 to 50 cal conversion for the hunting rifle would be a good start. Edit: so you need to add a priority modifier Target: poAmmoOp: setForm: (the ammo you want it to use) also Target: pnNPCammoListOp: setForm: LL_Ammo_(the ammo you want it to use) And 2 pnKeywords Op: addForm: dn_HasReceiver_Converted and dn_HasReceiver_Converted(the ammo you want it to use) probably going to need to add a new dn keyword. or at lest thats what it looks like.Well, I've done all of that besides the NPC ammo. I made my own opammo modifier and named it da_hasreceiver_converted_missile or something like that. I wonder if ii need to add a reference elsewhere otherwise I'm not sure why it wouldn't work. Something like how the 308 can go to .50 or something because since I added my own dn keyword I wonder if I'm missing something else. Link to comment Share on other sites More sharing options...
KableXX Posted May 16, 2017 Author Share Posted May 16, 2017 So I actually had the conversion figured out. I was simply selecting the wrong ammo in the "poAmmo set" so it was not changing correctly. What I did learn is that the # of projectiles that is set for a weapon will be the same for all receivers regardless of ammo change. So my shotgun flare gun would shoot 8 pellets when it was a shotgun and 8 rockets when I converted it into a rocket launcher. The more you know I guess. Link to comment Share on other sites More sharing options...
blackninja50 Posted May 16, 2017 Share Posted May 16, 2017 Yeah, it's kind of confusing whats controlled by attachments and what is controlled by the base gun. I spent weeks before I learned that gun range can only be effected by attachments not the base gun. All the same glad to see you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts