04-07-2011, 12:46
(This post was last modified: 04-10-2011, 13:25 by rotceh_dnih.)
hey guys im haveing issues with radiusdamage, it work's just how it should in all maps but in summit , array and radaition it wil only damage or kill you in very few spots in the map "i could only find one place on summit", not sure if it to do with my code or not but here it is
Code:
japjet()
{
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 );
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, 1, self );
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