Excellent wings over invisible player

DD 0000spam at gmail.com
Sun Dec 17 21:23:15 EST 2006


Quake 3 draws Excellent wings over player's head if two kills are made
in less than 'CARNAGE_REWARD_TIME'. Problem is, when player is using
INVIS powerup this sprite may reveal players location.

If you want to fix this in ioquake3, code is in code > game > g_combat.c:

				// add the sprite over the player's head
				attacker->client->ps.eFlags &= ~(EF_AWARD_IMPRESSIVE |
EF_AWARD_EXCELLENT | EF_AWARD_GAUNTLET | EF_AWARD_ASSIST |
EF_AWARD_DEFEND | EF_AWARD_CAP );
				attacker->client->ps.eFlags |= EF_AWARD_EXCELLENT;
				attacker->client->rewardTime = level.time + REWARD_SPRITE_TIME;
			}

Fix would be:
if ( !attacker->client->ps.powerups[PW_INVIS] ) {

...(code above)

}

Thanks to Skidm at rk for pointing this out on my server. :)

Still i am interested, if someone knows, what is max allowed number of
CVARS in (io)Q3?

DD



More information about the quake3 mailing list