Adding KNife2


(dutchmeat) #1

Hey all… i can’t add knife2 …
i want to have allies have the normal knife and axis has the second knife with an other model…
well i know how to forward the knife in g_client :

COM_BitSet( client->ps.weapons, WP_KNIFE2 );
client->ps.ammo[BG_FindAmmoForWeapon(WP_KNIFE2)] = 1;
client->ps.weapon = WP_KNIFE2;
client->ps.weaponstate = WEAPON_READY;

but when i launch the game , and i press the knife weaponbank, nothing heapens…

when i went to bg_misc.c and copied the original things of the normal knife to weapon_knife2 , also nothing happens…

does anyone knows how ??

thanks,

dutchmeat


(MrKiller) #2

Thx man…


(dutchmeat) #3

what ??? :S