Post: 3D Holographic Radar
02-09-2011, 11:21 PM #1
CHAOZ
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); by Lost4468






     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(;Winky Winky{
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;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to CHAOZ for this useful post:

-Google-, Astro Zombie, Michael
02-09-2011, 11:27 PM #2
Astro Zombie
professional lurker
thats sick but if i hear that dam song on another youtube video im gonna shoot that band

The following 3 users say thank you to Astro Zombie for this useful post:

Goone, Michael, skiiip
02-09-2011, 11:39 PM #3
Nice.... This must've been hard to make unless it was a premade radar and they just coded it to include the positions of the friendlies. Still hard to code even if it was a premade radar! Better than anything I could ever code!!!
02-10-2011, 12:26 AM #4
erbisme4
Penn State '16
Very nicee
02-10-2011, 12:33 AM #5
.HaZe.
Can’t trickshot me!
damn thats hella tight xbox gets everything Not Happy or Sad
02-10-2011, 12:41 AM #6
Agent_LSD
Vault dweller
Aesthetically speaking it is pretty cool. As far as usefulness I just don't see where it would make sense to even bother looking at it.
02-10-2011, 01:29 AM #7
IRiSe_GodFather
Was GodFatherIV
Thats sexy hes a great coder
02-10-2011, 02:10 AM #8
SBOSS
BIG BOSS BIGAVELI
Oh shyt thats smexy!
02-10-2011, 05:45 PM #9
-Luis7uarez-
Previously fer9dotorres
Not that you need a radar on nuketown the time you look at that thing you'll get a n00by ak74u bullet in your head haha...Nether the less great coding Smile
02-10-2011, 07:16 PM #10
skiiip
IM A BIRD MOTHER******
I hate that song so MUCH. Cool thing to see on here though! :P

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo