
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I've ported some guns from CoD BO2, I've placed a trigger and made a script to buy, but it doesn't work, i've tried with zombie_colt, and zombie_ppsh and I know the script works, but the custom gun don't.
Where do I need to add the gun to work? I know I need to add to _zombiemode_weapons, but anything else? thanks, sorry for bad english
Before you try Centric's idea, read this:
Don't edit anything in raw/maps
Copy them to mods/YOURMAPNAME/maps then edit the copy not the original file.
Include that file in your .IWD when you compile the mod.
Anyways, when you are in-game, use the command 'give weaponname' with weaponname being the name of the weapon. If nothing happens/error message, read the rest of this post. If you DO happen to get the weapon, the actual buyable script isn't working.
Now, just like Centric said, you have to include the weapon file in dlc3_code and in _zombiemode_weapons.
Additionally, here's what those lines do:
The lines in dlc3_code tell whether it is pack-a-punchable or not.
The lines in _zombiemode_weapons add it to the box and set up the voice lines.
If you have no idea what you're doing, then just reply and I can walk you through it step-by-step.