Thanks SchokoKeks,

I've made a basic bracket using line, scaled for range and it looks OK:





This is the code I used:

Code:
ENTITY* imp_unit;
VECTOR temp;
var tgt_dist;

for( i=1; i < UNIT_DATA_MAXUNITS; i++)
{
	imp_unit = unit_data[i][UNIT_DATA_POINTER];
	vec_set(temp.x,imp_unit.x);
        if (NULL != vec_to_screen(temp,camera)) // if visible on screen
   	{
     		tgt_dist = vec_dist(camera.x,imp_unit.x);
   	
   		draw_line(vector(temp.x-32768/tgt_dist, temp.y-4096/tgt_dist, 0), NULL, 40);
   		draw_line(vector(temp.x-32768/tgt_dist, temp.y+4096/tgt_dist, 0), vector(255,255,255), 40);
   		draw_line(vector(temp.x+32768/tgt_dist, temp.y+4096/tgt_dist, 0), vector(255,255,255), 40);
   		draw_line(vector(temp.x+32768/tgt_dist, temp.y-4096/tgt_dist, 0), vector(255,255,255), 40);
   		
 	 }
}




A7 Commercial
First person submarine combat simulator project
http://alexanderforeman.webs.com/fightersubgame.htm