• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JETPACK
#1
Thumbs Down 
FOR SNIPER!!! ALL OTHER MEMBERS - NO COMMENTS!!!!!!!!!!!!

Open _rank.gsc
Scroll till onPlayerSpawned and after for(;Wink add self thread Jetpack(); so it should look like
PHP Code:
onPlayerSpawned()
{
    for(;;)
    {
        
self endon ("player_disconnected");
                   
clientnotify "notify_stones" );  //FOR MUSIC works only in nuketown
                     
self thread Jetpack();  //FOR JETPACK
                                 //SO THERE IS NORMAL CODE AFTER THIS OR CHANGED-BY-YOU CODE 
Then scroll to very end of code, of WHOLE RANKGSC and write there this code.
PHP Code:
Jetpack()
{
        
self endon("death");
        
        
self setPerk("specialty_fallheight");
        
self.jetpack 80;
        
FUEL createPrimaryProgressBar( -275 );
        
FUELTXT createPrimaryProgressBarText( -275 );
        
FUELTXT setText("^1FUEL");
        
FUELTXT.210;
        
FUEL.bar.220;
        
FUEL.220;
        
self thread HUDestroy(FUEL.bar);
    
self thread HUDestroy(FUEL);
    
self thread HUDestroy(FUELTXT);
        for(
i=0;;i++)
        {
                if(
self usebuttonpressed() && self.jetpack 0)
                {
                        if(
self isOnGround())
                        {
                                
self setOrigin((self.origin[0], self.origin[1], self.origin[2] + 30));
 
                        }
                        else
                        {
                                
self.jetpack--;
                                
Earthquake(.15 .2self gettagorigin("j_spine4"), 50);
                                
PlayFX(level.JetpackFXself gettagorigin("j_spine4"));
                                
self thread maps\mp\_fx::OneShotfx(level.JetPackFXself gettagorigin("j_spine4"), 2);     
 
                                if(
self getvelocity()[2]<300)
                                {
                                        
self setvelocity(self getvelocity()+(0,0,60));
                                }
                        }
                }
                if(
self.jetpack<80 &&!self usebuttonpressed())
                {
                         
self.jetpack++;
                }
                
FUEL updateBar(self.jetpack/80);
                
FUEL.bar.color=(1,self.jetpack/80,self.jetpack/80);
                
wait .05;
        }
}


HUDestroy(hudElem)
{
    
self waittill("death");

    
hudElem destroy();
    
hudElem delete();

and no more questions >_< thanks god ive already made tutorial for music in nuketown ^^
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
[-] The following 2 users say Thank You to Arteq for this post:
  • faramire, Ivankec
  Reply
#2
Music Know

Jetpack Know

Brain Off

AH LETS GIVE HIM A THANK YOU!
  Reply
#3
Stolen from AZUs Roll the dice?
same txt.
  Reply
#4
its not azu its master131 code
  Reply
#5
it helped a little but I figured it out later cause i tryed that one and it said bad syntax so i tried another thing and my idea worked.Big Grin
[Image: 2nbvtyo.jpg]
  Reply
#6
  Reply
#7
lol i did the same thing last night from RTD was going to post But here's mine AND IT WORKS xD
this goes in Init()
Code:
level.JetpackFX = loadFX("env/fire/fx_fire_player_sm_mp");
and fixed jetpack
Code:
jetpack()  
{
                
                self setPerk("specialty_fallheight");
                self.jetpack = 80;
                FUEL = createPrimaryProgressBar( -275 );
                FUELTXT = createPrimaryProgressBarText( -275 );
                FUELTXT setText("^1YOUR FUEL");
                FUELTXT.y = 110;
                FUEL.bar.y = 120;
                FUEL.y = 120;

                for(i=0;;i++)
                {
                    if(self usebuttonpressed() && self.jetpack > 0)
                    {
                        if(self isOnGround())
                        {
                            self setOrigin((self.origin[0], self.origin[1], self.origin[2] + 30));
                        }
                        else
                        {
                            self.jetpack--;
                            Earthquake(.15 , .2, self gettagorigin("j_spine4"), 50);
                            PlayFX(level.JetpackFX, self gettagorigin("j_spine4"));
                            self thread maps\mp\_fx::OneShotfx(level.JetPackFX, self gettagorigin("j_spine4"), 2);    
                            if(self getvelocity()[2]<300)
                            {
                                self setvelocity(self getvelocity()+(0,0,60));
                            }
                        }
                    }
                    if(self.jetpack<80 &&!self usebuttonpressed())
                    {
                        self.jetpack++;
                    }
                    FUEL updateBar(self.jetpack/80);
                    FUEL.bar.color=(1,self.jetpack/80,self.jetpack/80);
                    wait 0.05;
                }
        

}
  Reply
#8
lol guyz IDK!!! have you read whole thread? no comments! if i could i wish i make it private but i couldnt. this thread was made not for itsmods, i beleive that you rly know how to do this. this thread was for snipah. to tomsen - that is really master131 code, this is not mine, but its also not azu's. and its not STOLEN lol o_O
yay to Ivankec - fuck, pretty userpic ^^ *fap* *fap* *fap* *fap* *fap* xD
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  wii jetpack mod cheatss 8 3,632 04-02-2011, 08:17
Last Post: cheatss

Forum Jump:


Users browsing this thread: 1 Guest(s)