How do i add ammo pickup for a weapon?
i know its already defined in et but unused but since in my mode i got new weapons and i want ammo pickup 2. how execly am i spose to do it?
{
"weapon_snipergun",
"sound/misc/w_pkup.wav",
{
"Extra/models/weapons2/sng/sng.md3",
"Extra/models/weapons2/sng/v_sng.md3",
0
},
"icons/iconw_sten_1", // icon
"icons/ammo2", // ammo icon
"sniper rifle", // pickup
30,
IT_WEAPON,
WP_SNG,
WP_SNG,
WP_SNG,
"", // precache
"", // sounds
// {0,0,0,0,0}
},
the was the weapon pickup now how i do teh ammo?
{
"ammo_sniper_rounds",
"sound/misc/am_pkup.wav",
{ "Extra/models/powerups/ammo/sng_a.md3",
0, 0 },
"",// icon
NULL, // ammo icon
".Rifle Rounds", // pickup
8,
IT_AMMO,
WP_SNG,
WP_SNG,
WP_SNG,
"", // precache
"", // sounds
// {30,20,15,15}
},
like this or am i missing something cause atm its not pickup able
do i need to apply more information or thats enough ?