hey guys this is something Hector was working on and had some issue's also lack of mod tool's has left Hector not wanting to work much on mods anymore
but yea,this is Hectors 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;
}
}
Credits:
Hector