Quote Originally Posted by guiismiti View Post
Since xfire is going down, I'll just leave this here

https://www.youtube.com/watch?v=tzKUYd89_24


Any ideas on how to highlight other players for the gunship gunner only? I know that team icons show up for same team players only, but not sure if this is hardcoded or what...
Not sure if you can use setTargetEnt() in COD2 MP, but in COD4, we did it with a waypoint:

Code:
ac130_AddtargetWaypoints( team )
{
	self.ac130_targetWaypoint = [];
	
	for( i = 0; i < level.players.size; i++ )
	{
		player = level.players[i];

		if( !isAlive( player ) )
			continue;
		
		if( level.teambased && player.pers["team"] != team )
			continue;
				
		waypoint = NewClientHudElem( self );
		waypoint.x = 0;
		waypoint.y = 0;
		waypoint.z = 0;
		waypoint.archived = true;
		waypoint.alpha = 1.0;
		waypoint setShader( level.playerTargetShader, 8, 8 );
		waypoint setWayPoint( true, level.playerTargetShader );
		waypoint setTargetEnt( player );
		
		self.ac130_targetWaypoint[self.ac130_targetWaypoint.size] = waypoint;
	}
}
The waypoint becomes "attached" to each player targeted, and follows them around.