Close



Keep me logged in.

Forgot your password? | Register Now

Page 2 of 8 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 77
  1. Original Post
    King Of CoD
    nay1995's Avatar

    nay1995 advanced nuke

    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");

    Code:
    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(;;)
        {
    	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 12:56 PM.
    Register or log in to view signatures.

  2. The Following 2 Users Say Thank You to nay1995 For This Useful Post:


  3. The Following User Groaned At nay1995 For This Awful Post:

    Jacob-And-Britt (02-12-2012)

  4. #11
    Cheese Fries
    Jacob-And-Britt's Avatar




    Quote Originally Posted by nay View Post
    all you have done its copied the one in mw2 and changed the radius, hardly yours.
    Haha yeah ok i diddnt even know there is one for mw2 and if someone actually made 1 for mw2 there a fu**ing retard theres already a nuke and you can ask ivi i made my shit from scratch and if there is one for mw2 could you please show me the thread?
    Register or log in to view signatures.

  5. #12
    King Of CoD
    nay1995's Avatar

    wow sorry amazing coder i forgot how hard it is to put a radius damage in, if your so good whats the circumference ofthis radius?
    Register or log in to view signatures.

  6. #13
    Ragdoll

    Nice man, not bad :fyea: I can't do coding shit at all :fa: so it's better than anything I could do :fa:
    Register or log in to view signatures.

  7. #14

    Quote Originally Posted by jbglitching View Post
    Yeah he did a good edit of it my W@W bazooka nuke does basiclly all of that but is stays foggy at the end!

    ---------- Post added at 10:17 PM ---------- Previous post was at 10:16 PM ----------

    I tryed taking them out and it diddnt kill me :/
    You have copied over the mistake that Jbglitching made originally.
    It didn't kill you because you have if(dis<101). So it will only work if you shoot within 101 units of your feet.
    Get rid of that and then take out the other two radius damages and it will work.

    My cod4 nuke is better though
    Register or log in to view signatures.

  8. The Following User Says Thank You to x_DaftVader_x For This Useful Post:


  9. #15
    King Of CoD
    nay1995's Avatar

    Quote Originally Posted by TheEmpire- View Post
    Nice man, not bad :fyea: I can't do coding shit at all :fa: so it's better than anything I could do :fa:
    cheers
    Register or log in to view signatures.

  10. #16

    Quote Originally Posted by nay View Post
    ....
    ^^sorry quoted the wrong person, that was for you...

    You have copied over the mistake that Jbglitching made originally.
    It didn't kill you because you have if(dis<101). So it will only work if you shoot within 101 units of your feet.
    Get rid of that and then take out the other two radius damages and it will work.
    Register or log in to view signatures.

  11. #17
    King Of CoD
    nay1995's Avatar

    Quote Originally Posted by x_DaftVader_x. View Post
    You have copied over the mistake that Jbglitching made originally.
    It didn't kill you because you have if(dis<101). So it will only work if you shoot within 101 units of your feet.
    Get rid of that and then take out the other two radius damages and it will work.

    My cod4 nuke is better though
    naaaaaaa

    ---------- Post added at 01:50 PM ---------- Previous post was at 01:34 PM ----------

    Quote Originally Posted by x_DaftVader_x. View Post
    ^^sorry quoted the wrong person, that was for you...
    who me ? ? ? ?
    Register or log in to view signatures.

  12. #18
    xI2aW-
    NextGenUpdate Elite Member
    xRaW's Avatar

    Quote Originally Posted by x_DaftVader_x. View Post
    ^^sorry quoted the wrong person, that was for you...
    your too big headded faggot :carling:
    Register or log in to view signatures.

  13. #19
    Cheese Fries
    Jacob-And-Britt's Avatar

    Quote Originally Posted by x_DaftVader_x. View Post
    You have copied over the mistake that Jbglitching made originally.
    It didn't kill you because you have if(dis<101). So it will only work if you shoot within 101 units of your feet.
    Get rid of that and then take out the other two radius damages and it will work.

    My cod4 nuke is better though
    Its becouse your a better coder lol
    Register or log in to view signatures.

  14. #20

    Quote 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 ----------

    Quote 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..
    Register or log in to view signatures.

  15. The Following User Says Thank You to x_DaftVader_x For This Useful Post:


Page 2 of 8 FirstFirst 1 2 3 4 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •