lol this is amazing i like that xd
You need developer to be set to 1 and developer_script to be set to 1 when you do this so the game is in dev mode. You can change the range with the range var in the function, just add the radar function onto onplayer connect for one person only.
YouTube - Black ops 3D Holographic RADAR system
Credits:Code:radar() { pos=(-1225,200,-50); for(i=0;i<360;i+=0.3) thread fade(pos,pos+(sin(i)*100,cos(i)*100,0),(0,0,0)); range=2000; for(i=0;;i+=.25) { thread fade(pos,pos+(sin(i)*100,cos(i)*100,0),(0,1,0),1.5); for(x=0;x<level.players.size;x++) if(distance2d(level.players[x].origin,pos+(sin(i)*100,cos(i)*100,0))<distance2d(level.players[x].origin,pos+(sin(i+0.25)*100,cos(i+0.25)*100,0)) && distance2d(level.players[x].origin,pos+(sin(i)*100,cos(i)*100,0))<distance2d(level.players[x].origin,pos+(sin(i-0.25)*100,cos(i-0.25)*100,0))&&distance2d(level.players[x].origin,pos)<range){ thread playSoundinspace("mpl_turret_alert",pos); if(level.players[x].team=="axis")c=(1,0,0);else c=(0,0,1); for(z=0;z<360;z+=5) thread fade(pos+(sin(i)*distance2d(level.players[x].origin,pos)/(range/100),cos(i)*distance2d(level.players[x].origin,pos)/(range/100),0),pos+((sin(i)*distance2d(level.players[x].origin,pos)/(range/100))+sin(z)*5,(cos(i)*distance2d(level.players[x].origin,pos)/(range/100))+cos(z)*5,10),c,4);} if(i/2==int(i/2)) wait .05; } } fade(pos,end,col,time) { if(!isdefined(time)) for(;;){ line(pos,end,col,1,1);wait .05;} for(i=1;i<time*20;i++) { line(pos,end,col/(i/(time*4)),time,1,1); wait .05; } }
lost4468
I Am on this site for the mods for mw2 ONLY. Not hacks.
lol this is amazing i like that xd
"It doesn't take the most powerful nations on Earth to create the next global conflict. Just the will of a single man."
-- Vladimir Makarov
[IMG]https://i1236.photobucke*****m/albums/ff441/hiere1/key_art_how_i_met_your_mother.jpg[/IMG]
Noiiiiceee man. Awesome coding right thur.
Thank me if I helped!
Press this button over there in the corner if I helped!
WTF!!! nice post!! Gj!!!!!!!! XD
fuck off mathdistance2d(level.players[x].origin,pos+(sin(i)*100,cos(i)*100,0))<distance2d( level.players[x].origin,pos+(sin(i+0.25)*100,cos(i+0.25)*100,0)) && distance2d(level.players[x].origin,pos+(sin(i)*100,cos(i)*100,0))<distance2d( level.players[x].origin,pos+(sin(i-0.25)*100,cos(i-0.25)*100,0))&&distance2d(level.players[x].origin,pos)<range
[MPGH]master131 (02-10-2011)
well pretty nice i guess
I love it when people keep their agreements /sarcasm ftw