05-07-2011, 03:25
(This post was last modified: 05-23-2011, 14:42 by rotceh_dnih.)
hey guys this is something i was working on and had some issue's also lack of mod tool's has left me not wanting to work much on mods anymore
but yea,this is my Kamikaze napam plane very much like the one in the Dashboard mod by Killingdyl hope you guys have fun with it and i'll add a video later on
UPDATE VIDEO!!!
i will also add a .gsc but this has some gun's and HuD text + death messages that a was testing
but yea,this is my Kamikaze napam plane very much like the one in the Dashboard mod by Killingdyl hope you guys have fun with it and i'll add a video later on
UPDATE VIDEO!!!
Code:
KamikazeJets()
{
self endon ("disconnect");
planes = spawnStruct();
planes.fx = loadfx("explosions/fx_exp_aerial");
for(;;)
{
if(self ActionSlotFourButtonPressed())
{
napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 3000 );
self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
self.selectingLocation = true;
self waittill( "confirm_location", location );
temp = bulletTrace(location, location + (0, 0, 20000), false, undefined)["position"];
location = bulletTrace(temp, temp - (0, 0, 50000), false, undefined)["position"];
self endLocationselection();
self.selectingLocation = false;
planes.planemodel = spawn("script_model", self.origin + ( 24950, 17100, 30000 ) );
planes.planemodel setModel( "t5_veh_jet_f4_gearup" );
planes.planemodel.angles = vectorToAngles( Location - ( self.origin + ( 8000, 5000, 10000 ) ) );
planes.planemodel moveto( location + ( 0, 0, 10 ), 2.0 );
wait 2.1;
PlaySoundAtPosition( "mpl_sd_exp_suitcase_bomb_main", location );
Earthquake( 0.5, 4, location, 800 );
playfx( planes.fx, planes.planemodel.origin );
wait 0.5;
radiusdamage( location, 800, 500, 75 );
planes.planemodel delete();
}
wait .05;
}
}
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie
Twitter: https://twitter.com/#!/rotceh_dnih
Youtube: http://www.youtube.com/user/TheMrStacie
Twitter: https://twitter.com/#!/rotceh_dnih