Post: nay1995 advanced nuke
02-12-2012, 12:15 AM #1
nay1995
The Master
(adsbygoogle = window.adsbygoogle || []).push({}); just a bit of something i quickly made whilst creating my menu:

features:
*drops a bomb model in center of map
*nice nuke vision set
*low gravity set at last minute
*count down timer
*visual effect of explosion

Note: Remember to thread nay1995snuke(); from menu or whatever
make sure you precache the model

precache("aircraft_bomb");

and put this in the init();

level.lololol = loadfx("env/fire/fx_fire_player_md_mp");

    
nay1995snuke()
{
for ( t=0; t < level.players.size; t++ )
{
players = level.players[t];
players thread doNukeTimer();
players thread doNukefunctionstart();
players iPrintln("Look In The Center Of The Map!");
}
}
doNukeTimer()
{
self endon("stopnuketimer");

for(nuketimer=10;nuketimer>0;nuketimer--)
{
self.nukespawn = self createFontString("default", 1.5);
self.nukespawn setPoint( "TOP RIGHT", "TOP RIGHT", 0, -14 );
self.nukespawn setText("Nuke Inbound In: ^1" +nuketimer);
for(;Winky Winky
{
wait 1;
nuketimer--;
self.nukespawn setText("Nuke Inbound In: ^1" +nuketimer);
if(nuketimer == 0)
{
self.nukespawn destroy();
nuketimer destroy();
}
}
self waittill("death");
self.nukespawn destroy();
}
}
doNukefunctionstart()
{
level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter(level .spawnMins, level.spawnMaxs);
nuke = level.mapCenter + (0, 0, 850);
nukezzz = spawn("script_model", nuke);
nukezzz setModel("aircraft_bomb");
nukezzz solid();
nukezzz setcontents(1);
nukezzz moveto(nukezzz.origin-(0,0,865),10,0);
wait 6;
playfx(level.lololol,nukezzz.origin);
self setclientdvar("timescale", ".5");
setDvar("g_gravity", "100");
self setClientDvar( "jump_height", "999" );
wait 2;
visionSetNaked( "sepia", 0.2 );
Earthquake( 0.4, 4, self.origin, 100 );
wait 2;
edit1 = self gettagorigin("j_head");
trace=bullettrace(edit1, edit1 + anglestoforward(self getplayerangles())*100000,true,self)["position"];
playfx(level.lololol,trace);
Earthquake( 0.4, 4, self.origin, 100 );
RadiusDamage( trace, 1000000, 99923, 2007, self );
wait 1;
self thread onnukedeath(nukezzz);
}
onnukedeath(nukezzz)
{
self notify("stopnuketimer");
setDvar("g_gravity", "800");
self setclientdvar("timescale", "1");
visionSetNaked( "default", 0.2 );
self setClientDvar( "jump_height", "39" );
nukezzz delete();
self waittill("spawned_player");
self giveWeapon("mp40_mp");
}


have fun

video on nuke go to 5minute 39 seconds to see the nuke in action!

Last edited by nay1995 ; 02-12-2012 at 06:56 PM.

The following 2 users say thank you to nay1995 for this useful post:

Kearney158, Niall-Griffiths

The following user groaned nay1995 for this awful post:

Jacob-And-Britt
02-13-2012, 10:27 PM #47
nay1995
The Master
wow 3 radius make no difference you fool admit you been found out, litteraly everyone on this site hates you!
02-14-2012, 02:55 AM #48
Kane500
< ^ > < ^ >
Originally posted by nay View Post
wow 3 radius make no difference you fool admit you been found out, litteraly everyone on this site hates you!


Personally, I like that jb faggot more then you.

The following user thanked Kane500 for this useful post:

Jacob-And-Britt
02-14-2012, 04:44 AM #49
Originally posted by nay View Post
wow 3 radius make no difference you fool admit you been found out, litteraly everyone on this site hates you!


everyone on this site hates me, i carry that gold medal for most hated. Not J&B.
02-14-2012, 05:49 AM #50
Jacob-And-Britt
I’m too L33T
Originally posted by nay View Post
wow 3 radius make no difference you fool admit you been found out, literally everyone on this site hates you!
HA HA you basically finally admitted it why do you leech is all your stuff leeched lmao all you are is a big leech none of this would have happened if you just credited me! lol

---------- Post added at 01:48 AM ---------- Previous post was at 01:47 AM ----------

Originally posted by kane212v2isgay View Post
Personally, I like that jb faggot more then you.
and why the fuc* do you hate me so much lol?

---------- Post added at 01:49 AM ---------- Previous post was at 01:48 AM ----------

Originally posted by jbglitching View Post
HA HA you basically finally admitted it why do you leech is all your stuff leeched lmao all you are is a big leech none of this would have happened if you just credited me! lol

---------- Post added at 01:48 AM ---------- Previous post was at 01:47 AM ----------

and why the fuc* do you hate me so much lol?
Double post smh FTW!
02-14-2012, 09:16 AM #51
nay1995
The Master
Originally posted by jbglitching View Post
HA HA you basically finally admitted it why do you leech is all your stuff leeched lmao all you are is a big leech none of this would have happened if you just credited me! lol

---------- Post added at 01:48 AM ---------- Previous post was at 01:47 AM ----------

and why the fuc* do you hate me so much lol?

---------- Post added at 01:49 AM ---------- Previous post was at 01:48 AM ----------

Double post smh FTW!


never seen so much shite in my life mate your codes are bare copy and paste just edited to say that you created them you cant code, you cant optimize, i think its time for you to leave and find a new hobby.
02-14-2012, 01:17 PM #52
Kane500
< ^ > < ^ >
Originally posted by jbglitching View Post
and why the fuc* do you hate me so much lol?


Because your a leeching faggot that makes useless scripts that don't even work right most of the time.
02-14-2012, 01:17 PM #53
Kane500
< ^ > < ^ >
Double post Not Happy or Sad
02-14-2012, 02:16 PM #54
nay1995
The Master
Originally posted by kane212v2isgay View Post
Because your a leeching faggot that makes useless scripts that don't even work right most of the time.


thank you very much argument over Smile
02-14-2012, 04:36 PM #55
Jacob-And-Britt
I’m too L33T
Originally posted by nay View Post
never seen so much shite in my life mate your codes are bare copy and paste just edited to say that you created them you cant code, you cant optimize, i think its time for you to leave and find a new hobby.
Haha you still won't admit it if i was any body else on ngu i would never get your shit becouse not only did you leech the codes from me you prob leeched the idea from me!! Nobody else was making nukes lintel i did!

The following user groaned Jacob-And-Britt for this awful post:

xRaW

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo