You are viewing our Forum Archives. To view or take place in current topics click here.
[ORIGINAL] [RELEASE] Plane that fly's by and drops a Nuke
Posted:

[ORIGINAL] [RELEASE] Plane that fly's by and drops a NukePosted:

xLoGiiKzZo
  • TTG Senior
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
READ FIRST:This was made by me, i posted it on 7S first (xLoGiiKzZo) because i forgot my Password for this account.Theres someone else taking credit for it so i just thought i post the original topic. 100% Works!Download link for patch is included.I will probably add that the Plane explodes too instead of disappearing.

Well heres the code:


NukePlane()
{
        self endon ("disconnect");
        nuke = spawnStruct();
        nuke.fx = loadfx( "maps/mp_maps/fx_mp_nuked_nuclear_explosion" );
        for(;;)
        {
                if(self meleebuttonpressed())
                {
                        napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 3000 );
                        self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
                        self.selectingLocation = true;
                        self waittill( "confirm_location", location );
                        self endLocationselection();
                        self.selectingLocation = false;
                        nuke.planemodel = spawn("script_model", self.origin + ( 24000, 15000, 25000 ) );
                        nuke.planemodel setModel( "t5_veh_air_b52" );
                        nuke.planemodel.angles = vectorToAngles( Location - ( self.origin + ( 8000, 5000, 10000 ) ) );
                        nuke.planemodel moveto( location + ( 0, 0, 200 ), 2.9 );
                        wait 2.8;
                        nuke.dropmodel = spawn("script_model", nuke.planemodel.origin );
                        nuke.dropmodel setModel( "mp_supplydrop_axis" );
                        nuke.dropmodel.angles = vectorToAngles( location - ( self.origin + ( 8000, 5000, 10000 ) ) );
                        nuke.planemodel delete();
                        PlaySoundAtPosition( "amb_end_nuke", location );
                        nuke.dropmodel moveto( location, .9 );
                        wait 1.2;
                        Earthquake( 0.4, 4, location, 800 );
                        playfx( nuke.fx, nuke.dropmodel.origin );
                        wait .05;
                        nuke.dropmodel delete();
                        radiusdamage( location, 999999999, 3000, 900, self );
                }
        wait .05;
        }
}


Put this on your onplayerspawned:
 self thread NukePlane();



You just press the Melee Button and then the Map should come up and you select a location where you want the nuke to drop.

Download Patch:
[ Register or Signin to view external links. ]

Credits:
Me - For Making this
Lost4468 - For teaching me, and scripts.
NITRAM - For the Nuke FX and the Napalm Location Selector and fixing a script.


Last edited by xLoGiiKzZo ; edited 5 times in total
#2. Posted:
Renew
  • TTG Addict
Status: Offline
Joined: Dec 23, 201014Year Member
Posts: 2,345
Reputation Power: 98
Status: Offline
Joined: Dec 23, 201014Year Member
Posts: 2,345
Reputation Power: 98
DUDE I Already Posted This ur Retarted
#3. Posted:
xLoGiiKzZo
  • TTG Senior
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
AlexJr10 wrote DUDE I Already Posted This ur Retarted

Yes u did, and u are taking created for my work. And you cant help people with any of this as you didnt make it but i can.
#4. Posted:
TNGIMOD
  • TTG Senior
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
wow really copy and paste
#5. Posted:
TNGIMOD
  • TTG Senior
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 1,066
Reputation Power: 52
wow dude sorry if you really did make it is good
#6. Posted:
xLoGiiKzZo
  • TTG Senior
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
TNGIMOD wrote wow really copy and paste

[ Register or Signin to view external links. ]

Look at original post, says yes im pERFEcTiiOnEzZ at TTG. Doesnt it?
#7. Posted:
Renew
  • TTG Addict
Status: Offline
Joined: Dec 23, 201014Year Member
Posts: 2,345
Reputation Power: 98
Status: Offline
Joined: Dec 23, 201014Year Member
Posts: 2,345
Reputation Power: 98
TNGIMOD wrote wow dude sorry if you really did make it is good
dude he stoled my topic like wtf Kid Wat is ur problem man?
#8. Posted:
xLoGiiKzZo
  • TTG Senior
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
Status: Offline
Joined: Dec 08, 200915Year Member
Posts: 1,108
Reputation Power: 51
AlexJr10 wrote
TNGIMOD wrote wow dude sorry if you really did make it is good
dude he stoled my topic like wtf Kid Wat is ur problem man?

O rlly?

[ Register or Signin to view external links. ]
#9. Posted:
cow
  • TTG Senior
Status: Offline
Joined: Apr 16, 200915Year Member
Posts: 1,631
Reputation Power: 144
Status: Offline
Joined: Apr 16, 200915Year Member
Posts: 1,631
Reputation Power: 144
AlexJr10 wrote
TNGIMOD wrote wow dude sorry if you really did make it is good
dude he stoled my topic like wtf Kid Wat is ur problem man?


-Rep

You steal posts, You've stole mine before.

You dont give credit.

Its sad.

_Cow
#10. Posted:
JediUnicorn
  • TTG Addict
Status: Offline
Joined: Aug 30, 201014Year Member
Posts: 2,858
Reputation Power: 145
Status: Offline
Joined: Aug 30, 201014Year Member
Posts: 2,858
Reputation Power: 145
Im test this 8)

Should be pretty lush
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.