Page 1 of 1

Creating custom ammo

Posted: Thu Feb 28, 2013 9:55 pm
by Brainjuice
Well I created a custom weapon but I don't want to tell the weapon to use smg1 or ar2 as "primary_ammo". I want to create a custom ammo type with its own model and other things like the maximum amount of ammo you can carry. Is there an easy way to do this?

Re: Creating custom ammo

Posted: Fri Mar 01, 2013 10:50 am
by MaestraFĂ©nix
Yes.

http://wiki.obsidianconflict.net/?title ... ed_Weapons

http://wiki.obsidianconflict.net/?title ... stom_Ammos

On your scripted weapon, on primary_ammo (or secundary_ammo), put the name of the custom ammo.

In Hammer, use the item_custom entity to put your custom ammo on the map. You can indicate the model you want, the ammo, and the amount.