Creating custom ammo
-
- Pixel
- Posts: 1
- Joined: Thu Feb 28, 2013 8:45 pm
Creating custom ammo
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?
-
- Team Member
- Posts: 2470
- Joined: Mon May 10, 2010 11:50 am
- Location: Spain
- Contact:
Re: Creating custom ammo
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.
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.