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-12-2012, 07:39 PM #20
Originally posted by xRaW View Post
your too big headded faggot :carling:
Yeah, you're lucky I don't make a waw patch and kick your arses :bat:

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

Originally posted by nay View Post


who me ? ? ? ?
Yea you said you took out the 2 radiusdamages and it didn't work. I was telling you why..

The following user thanked x_DaftVader_x for this useful post:

Jacob-And-Britt
02-12-2012, 08:23 PM #21
nay1995
The Master
Originally posted by x. View Post
Yeah, you're lucky I don't make a waw patch and kick your arses :bat:

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

Yea you said you took out the 2 radiusdamages and it didn't work. I was telling you why..


i didnt say that?

---------- Post added at 03:23 PM ---------- Previous post was at 03:23 PM ----------

Originally posted by jbglitching View Post
Its becouse your a better coder lol


mr know it all has joined lolololol calls himself a coder^ he just copies and pastes Winky Winky
02-12-2012, 09:04 PM #22
Jacob-And-Britt
I’m too L33T
Originally posted by nay View Post
i didnt say that?

---------- Post added at 03:23 PM ---------- Previous post was at 03:23 PM ----------



mr know it all has joined lolololol calls himself a coder^ he just copies and pastes Winky Winky
Comming from the person who leeched from me! haha
02-12-2012, 09:08 PM #23
xRaW
xI2aW-
Originally posted by x. View Post
Yeah, you're lucky I don't make a waw patch and kick your arses :bat:

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

Yea you said you took out the 2 radiusdamages and it didn't work. I was telling you why..

it wud be shit anyway. Your cod4 patch looks like a 2 year old made it. My nan helped u code the whole thing all u did was site there and try to suck her tities. (disgusting kid) like old women
02-12-2012, 09:36 PM #24
nay1995
The Master
Originally posted by jbglitching View Post
Comming from the person who leeched from me! haha


leeched fro you? a bare copy and paste from a mw2 code, hardly immaginitive your code, min drops the bomb and has a easy flow timer your that shite you set a text for every second then destroyed it, yes nice coding you fukin idiot.

The following user thanked nay1995 for this useful post:

BlazingDope
02-12-2012, 09:48 PM #25
TGODxMAfiA
♚ ➊ ➌ ➌ ➐ ♚
Why Can't We All Be Friendss /:

The following user thanked TGODxMAfiA for this useful post:

Jacob-And-Britt
02-13-2012, 12:05 AM #26
Jacob-And-Britt
I’m too L33T
Originally posted by nay View Post
leeched fro you? A bare copy and paste from a mw2 code, hardly immaginitive your code, min drops the bomb and has a easy flow timer your that shite you set a text for every second then destroyed it, yes nice coding you fukin idiot.
prove it to me show me the mw2 codeing you got it from!
02-13-2012, 12:53 AM #27
BlazingDope
Can’t trickshot me!
Originally posted by jbglitching View Post
also bad syntax right here! You must login or register to view this content.


You mean Unknown function

---------- Post added at 12:53 AM ---------- Previous post was at 12:49 AM ----------

Originally posted by nay View Post
leeched fro you? a bare copy and paste from a mw2 code, hardly immaginitive your code, min drops the bomb and has a easy flow timer your that shite you set a text for every second then destroyed it, yes nice coding you fukin idiot.


Well said nay Happy

Edit: WTF double post much?!

The following user thanked BlazingDope for this useful post:

Jacob-And-Britt
02-13-2012, 09:17 AM #28
nay1995
The Master
Originally posted by jbglitching View Post
prove it to me show me the mw2 codeing you got it from!


mate you dont even know what the radius is.. i asked you what the circumference of the damage and you couldnt answer, to code a radius you need to know the circumference otherwise you cant tell how far the radius damage reaches fail!

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo