Search found 1 match

by MdQvack
Tue Sep 06, 2011 6:41 pm
Forum: Programming Discussion
Topic: how do you detect what team a player is on that threw a gren
Replies: 2
Views: 2816

Re: how do you detect what team a player is on that threw a gren

I think this is what you're looking for: 1) In G_missile.c At the end of *fire_grenade (right before 'return bolt;') add: if (self->client) bolt->s.generic1 = self->client->sess.sessionTeam; 2) In CG_ents.c In function CG_missile (for example after 'ent.renderfx = weapon->missileRenderfx | RF_NOSHAD...