Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kamikaze plane killstreak
#1
Credits: Lost4468

Code:
DeathHarrier() thread to onplayerspawned

Code:
DeathHarrier()
{
    self notifyOnPlayerCommand( "5", "+actionslot 2" );
    self endon ( "death" );
    for(;;)
    {
        self waittill("5");
        Kamikaze = spawn("script_model", self.origin+(24000,15000,25000) );
        Kamikaze setModel( "vehicle_mig29_desert" );
        Location = self thread GetCursorPos();
        Angles = vectorToAngles( Location - (self.origin+(8000,5000,10000)));
        Kamikaze.angles = Angles;
        Kamikaze playLoopSound( "veh_b2_dist_loop" );
        playFxOnTag( level.harrier_smoke, self, "tag_engine_left" );
        playFxOnTag( level.harrier_smoke, self, "tag_engine_right" );
        wait( 0.15 );
        playFxontag( level.harrier_smoke, self, "tag_engine_left2" );
        playFxontag( level.harrier_smoke, self, "tag_engine_right2" );
        playFxOnTag( level.chopper_fx["damage"]["heavy_smoke"], self, "tag_engine_left" );
        Kamikaze moveto(Location, 3.9);
        wait 3.8;
        Kamikaze playsound( "nuke_explosion" );
        wait .2;
        level._effect[ "cloud" ] = loadfx( "explosions/emp_flash_mp" );
        playFx( level._effect[ "cloud" ], Kamikaze.origin+(0,0,200));
        Kamikaze playSound( "harrier_jet_crash" );
        level.chopper_fx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin);
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(200,0,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,200,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(200,200,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,0,200));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(200,0,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(0,200,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(200,200,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,0,400));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(100,0,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,100,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(100,100,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,0,100));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(100,0,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(0,100,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin-(100,100,0));
        playFX(level.chopper_fx["explode"]["medium"], Kamikaze.origin+(0,0,100));
        Earthquake( 0.4, 4, Kamikaze.origin, 800 );
        RadiusDamage( Kamikaze.origin, 800, 500, 1, self );
        Kamikaze delete();
    }
}

GetCursorPos()
{
    forward = self getTagOrigin("tag_eye");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self)[ "position" ];
    return location;
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}
Reply

#2
tHanks for sharing
Reply

#3
Thxs, i will use this in my mod :3
01010101001010101010101
Reply

#4

The Mod in Reallife is like that GIF... just a different Plane

[Image: Crash_Reno_air_show.gif?]

[Image: Riot_cop_point_blank.gif?]
Troll ------------------- GIRL vs JUGGERNAUT ------------------ Troll

Reply

#5
not working
error
syntax
Reply

#6
(10-17-2011, 12:25)krijnrien Wrote: not working
error
syntax

It works......
Reply

#7
srry no offense
its cool
but aren't those things already made by like 50 people?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Duration killstreak The Tronuo 2 2,808 07-12-2013, 18:33
Last Post: The Tronuo
  Help kamikaze Dickies 1 1,745 07-06-2013, 19:29
Last Post: Yamato
  Preview Tank Killstreak Yamato 16 10,611 05-27-2013, 14:47
Last Post: Yamato
  [GSC] All Weapon/Camo/Perk/Killstreak Names DEREKTROTTER 33 26,156 01-30-2013, 15:26
Last Post: 99IRock
  [Request] Give KillStreak yuri8597 1 2,487 10-29-2012, 01:31
Last Post: DidUknowiPwn
  [Request] weapon/killstreak giver jari333 2 2,719 10-17-2012, 18:56
Last Post: OzonE
  Killstreak On/Off codehelp RaZ 13 7,028 06-20-2012, 09:47
Last Post: RaZ
  [Tutorial] Killstreak list Yamato 0 2,577 06-08-2012, 12:25
Last Post: Yamato
  Anti Killstreak Editing AboAlwe 5 4,324 04-28-2012, 11:00
Last Post: schoerg
  [Request] Killstreak delay time Dumas 2 2,738 04-18-2012, 23:18
Last Post: Dumas

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.