sadly i cant figure out how to disable it when you shoot..
because it uses a own mdl for the melee aniamtion, and when you shoot
AND press the melee button your weapon turns into a "firing fist ",
and want to avoid this xD
currently it looks like this:
player.qc:
Code: Select all
void() player_fist = [$fist1, player_fist1] {self.weaponframe=1; };
void() player_fist1 = [$fist2, player_fist2] {self.weaponframe=2;};
void() player_fist2 = [$fist3, player_fist3] {self.weaponframe=3; W_FireDatFist();};
void() player_fist3= [$fist4, player_run ] {self.weaponframe=4; W_SetCurrentAmmo(); };
Code: Select all
void ()player_fist;
void() FistFight =
{
self.weaponmodel = "progs/weapons/v_fist.mdl";
self.attack_finished = time + 0.88;
player_fist ();
};
Code: Select all
if (self.impulse == 15)
FistFight();