Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jet pack
#1
[Release] Jet pack
by Lost4468



init()
Code:
level.fx[0]=loadfx("fire/fire_smoke_trail_m");
    level.fx[1]=loadfx("fire/tank_fire_engine");
    level.fx[2]=loadfx("smoke/smoke_trail_black_heli");

on playerspawned
Code:
jetpack()
{
    self endon("death");
    self.jetpack=80;
    JETPACKBACK = createPrimaryProgressBar( -275 );
    JETPACKBACK.bar.x = 40;
    JETPACKBACK.x = 100;
    JETPACKTXT = createPrimaryProgressBarText( -275 );
    JETPACKTXT.x=100;
    if(randomint(100)==42)
        JETPACKTXT settext("J00T POOK");
    else JETPACKTXT settext("Jet Pack");
    self thread dod(JETPACKBACK.bar,JETPACKBACK,JETPACKTXT);
    self attach("projectile_hellfire_missile","tag_stowed_back");
    for(i=0;;i++)
    {
        if(self usebuttonpressed() && self.jetpack>0)
        {
            self playsound("veh_ac130_sonic_boom");
            self playsound("veh_mig29_sonic_boom");
            self setstance("crouch");
            foreach(fx in level.fx)
                playfx(fx,self gettagorigin("j_spine4"));
            earthquake(.15,.2,self gettagorigin("j_spine4"),50);
            self.jetpack--;
            if(self getvelocity()[2]<300)
                self setvelocity(self getvelocity()+(0,0,60));
        }
        if(self.jetpack<80 &&!self usebuttonpressed())
        {
            self.fx1 delete();
            self.fx2 delete();
            self.jetpack++;
        }
        JETPACKBACK updateBar(self.jetpack/80);
        JETPACKBACK.bar.color=(1,self.jetpack/80,self.jetpack/80);
        wait .05;
    }
}
dod(a,b,c)
{
    self waittill("death");
    a destroy();
    b destroy();
    c destroy();
}
Reply

#2
The jetpack is ok but I kinda hate how it's in all the modded lobbies it's gay
Reply

#3
lol nice
Reply

#4
Let's make this in black ops.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Pack-A-Punch Weapons TheSchitt 40 31,591 08-07-2013, 04:51
Last Post: FrostLight
  [Release] MW2 MP TEAMS PACK Sanya 7 5,976 03-04-2013, 07:34
Last Post: Pozzuh
  [News] Black Ops 2 Revolution DLC Pack Preview DidUknowiPwn 6 5,131 01-09-2013, 18:31
Last Post: Pozzuh
  [Release] BF3 GFX improvement pack Arteq 64 35,790 12-18-2012, 17:49
Last Post: 06yfz450ridr
Rainbow [Release] iPaddie's UNOFFICAL Camo AR Pack for Survival/SP/MP! Mithrot 7 5,927 11-20-2012, 23:01
Last Post: Nero Z zero
  [Release] iPaddie Full Camo Pack iPaddie 52 41,328 11-20-2012, 06:12
Last Post: DidUknowiPwn
  [Release] MW2 VIEWHANDS PACK Sanya 6 4,877 09-23-2012, 19:51
Last Post: JariZ
  New DLC Available - Ridge Racer Unbounded Extended Pack: 3 Vehicles + 5 Paint Jobs Steam 0 2,071 06-22-2012, 12:48
Last Post: Steam
  Now Available - Binary Domain Dan Marshall Pack & Multiplayer Map Pack Steam 0 2,564 06-22-2012, 12:48
Last Post: Steam
  [Release] Toobanooba's Texture Pack #1 Toobanooba 10 10,589 05-17-2012, 04:29
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

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