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-14-2012, 07:20 PM #65
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xRaW View Post
I look at it because i want to. No matter if its good or bad i look at these threads. I dont like previews yet i still look at it just to see.


I don't look a COD-5-Man's posts no more because i know ima go mental if i find out it's a bad edit :p.

The following user thanked IVI40A3Fusionz for this useful post:

COD5-MAN-
02-14-2012, 07:34 PM #66
nay1995
The Master
Originally posted by IVI40A3Fusionz View Post
I don't look a COD-5-Man's posts no more because i know ima go mental if i find out it's a bad edit :p.


just to let you know that the string thing does work on cod5 i tested this morining and got 157 strings renamed 4 ref strings and know its 391 Smile
02-14-2012, 07:41 PM #67
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by nay View Post
just to let you know that the string thing does work on cod5 i tested this morining and got 157 strings renamed 4 ref strings and know its 391 Smile


Thanks mate you tank Happy.
02-14-2012, 09:30 PM #68
I hope we all realize. We are barely nothing compared to karoolus. Half of us act like where someone special but most of us would not have a menu base if it wasnt for karoolus. So quit flaming j&b. So what he copies and paste. Thats what half of us do anyway. At least he's trying. Now argument is over!!! Smile
02-14-2012, 09:50 PM #69
this is awesome hatersd gona hate
02-14-2012, 09:53 PM #70
Originally posted by her
this is awesome hatersd gona hate


hatersd? haters
02-15-2012, 06:17 AM #71
Jacob-And-Britt
I’m too L33T
Originally posted by nay View Post
err yes they was on cod4 so i thought id come and pon you all my making it more realistic, ive just been on skype and seen your message to xraw haha hes releasing 1 final fail of a code then he quitting, nice to know you listen to me Smile
Look bro i wouldent keep fighting with you honestly i thought your were cool i respected you as a awesome coder its just allot of people have been using my codes but hate me so much that they wont credit me and will fight with me about it intell there dead whatever ok its your code can we as some people would say bury the hatchet? I leave you alone and stop calling you a leecher! Smile
02-15-2012, 11:13 AM #72
Karoolus
I'm the W@W Menu Guy !
Originally posted by COD5
I hope we all realize. We are barely nothing compared to karoolus. Half of us act like where someone special but most of us would not have a menu base if it wasnt for karoolus. So quit flaming j&b. So what he copies and paste. Thats what half of us do anyway. At least he's trying. Now argument is over!!! Smile


lol, how do you think i started out ? Winky Winky
my first patch was a pathetic edit from Divy's patch (WAAAAAAAAY back in the day :p)

here's my BASE menu, compare it to what it is now:

You must login or register to view this content.

The following user thanked Karoolus for this useful post:

COD5-MAN-
02-15-2012, 11:24 AM #73
nay1995
The Master
Originally posted by Karoolus View Post
lol, how do you think i started out ? Winky Winky
my first patch was a pathetic edit from Divy's patch (WAAAAAAAAY back in the day :p)

here's my BASE menu, compare it to what it is now:

You must login or register to view this content.


whilst your here, on cod4 you said you were going to use level instead of self so everyone doesnt have to keep writing string yeah? but if you do that surely when everyone opens the menu it will mess up ie. everyone pree r1 r1 will be pressed like 7 times on 1 screen get me?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo