# Thread: 3D Holographic RADAR by Lost4468

1. ## 3D Holographic RADAR by Lost4468

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

Code:
```radar()
{
pos=(-1225,200,-50);
for(i=0;i<360;i+=0.3)
range=2000;
for(i=0;;i+=.25)
{
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){
if(level.players[x].team=="axis")c=(1,0,0);else c=(0,0,1);
for(z=0;z<360;z+=5)
if(i/2==int(i/2))
wait .05;
}
}

{
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;
}
}```
Credits:
lost4468

2. lol this is amazing i like that xd

3. Noiiiiceee man. Awesome coding right thur.

4. No picture ?

5. WTF!!! nice post!! Gj!!!!!!!! XD

6. Originally Posted by ovdoboy
Noiiiiceee man. Awesome coding right thur.
I didn't code it lost did.
Originally Posted by Xbox Camper
No picture ?
Thers a vid about it.

7. 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
fuck off math

8. ## The Following User Says Thank You to [WhA]4FunPlayin For This Useful Post:

[MPGH]master131 (02-10-2011)

9. well pretty nice i guess