Added a line to the zcam swing tracking message indicating who you are following
This commit is contained in:
parent
6f2dffbd87
commit
216583c5b1
|
@ -22,6 +22,7 @@
|
||||||
* Fixed plost3 radio sounds in all radiopaks.
|
* Fixed plost3 radio sounds in all radiopaks.
|
||||||
* Damage is now only tracked for players hit that are not on your team.
|
* Damage is now only tracked for players hit that are not on your team.
|
||||||
* Fixed constant gasping sound when you die in shallow water
|
* Fixed constant gasping sound when you die in shallow water
|
||||||
|
* Added a line to the zcam swing tracking message indicating who you are following
|
||||||
|
|
||||||
|
|
||||||
# List fixes here for the 2.1 release
|
# List fixes here for the 2.1 release
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.16 2002/08/03 07:49:49 jbravo
|
||||||
|
// Added a line to the zcam swing tracking message indicating who you are following
|
||||||
|
//
|
||||||
// Revision 1.15 2002/07/04 04:20:41 jbravo
|
// Revision 1.15 2002/07/04 04:20:41 jbravo
|
||||||
// Fixed my weaponchange cancel in the Use cmd, and fixed the bug where players
|
// Fixed my weaponchange cancel in the Use cmd, and fixed the bug where players
|
||||||
// that where in eye spectating someone moved on to another player instantly on death.
|
// that where in eye spectating someone moved on to another player instantly on death.
|
||||||
|
@ -700,16 +703,17 @@ static gentity_t *CameraSwingTarget(gentity_t * ent)
|
||||||
color = S_COLOR_GREEN;
|
color = S_COLOR_GREEN;
|
||||||
|
|
||||||
// JBravo: take teamnames into account
|
// JBravo: take teamnames into account
|
||||||
|
// JBravo: added who you are following to the zcam swing output.
|
||||||
if (target2nd->client->sess.sessionTeam == TEAM_RED)
|
if (target2nd->client->sess.sessionTeam == TEAM_RED)
|
||||||
trap_SendServerCommand(ent->client->ps.clientNum,
|
trap_SendServerCommand(ent->client->ps.clientNum,
|
||||||
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
||||||
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n", color,
|
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n%sFollowing " S_COLOR_WHITE "%s", color,
|
||||||
target2nd->client->pers.netname, g_RQ3_team1name.string));
|
target2nd->client->pers.netname, g_RQ3_team1name.string, color, target1st->client->pers.netname));
|
||||||
else if (target2nd->client->sess.sessionTeam == TEAM_BLUE)
|
else if (target2nd->client->sess.sessionTeam == TEAM_BLUE)
|
||||||
trap_SendServerCommand(ent->client->ps.clientNum,
|
trap_SendServerCommand(ent->client->ps.clientNum,
|
||||||
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
||||||
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n", color,
|
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n%sFollowing " S_COLOR_WHITE "%s", color,
|
||||||
target2nd->client->pers.netname, g_RQ3_team2name.string));
|
target2nd->client->pers.netname, g_RQ3_team2name.string, color, target1st->client->pers.netname));
|
||||||
}
|
}
|
||||||
|
|
||||||
return target2nd;
|
return target2nd;
|
||||||
|
|
Loading…
Reference in New Issue