Results 1 to 10 of 10
  1. #1
    Member Xtermination's Avatar
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
    Gamer IDs

    PSN ID: ROLONRECORDS

    Default [RELEASE] Jetpack Mod

    Here is a ported gametype from itsmods. Its nothing real special but i think its fun. Credits are in the script.


    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    //lost4468 - Original maker for MW2
    //alistair - Porting it over
    //master131 - Fixing not being able to takeoff from the ground when using jetpack
    //[pro]Snipah-
    //Xtermination- for porting to wii
    
    
    init()
    { 
        setDvar("sv_cheats", 1);
        setDvar("g_speed", 250);
        setDvar("scr_tdm_scorelimit", 0);
        setDvar("scr_tdm_timelimit", 99999999);
        setDvar("scr_tdm_score_kill", 2500);
        setDvar("sv_vac", 0);
        SetDvar("player_sustainammo",1); 
        SetDvar("cg_fov_default",105);
        SetDvar("custom_killstreak_mode",1);
        SetDvar("ui_hud_hardcore",1);
        setDvar("bg_gravity",200);
        level thread onPlayerConnect();
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill( "connected", player );
            
    	player thread ModInfo();
    	player thread return2trent();
    	player thread onPlayerSpawned();
    	player thread onJoinedTeam();
    	player thread onJoinedSpectators();
        }
    }
    
    
    onJoinedTeam()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("joined_team");
      
        }
    }
    
    
    onJoinedSpectators()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("joined_spectators");
          
        }
    }
    
    ModInfo()
    {
    self endon( "disconnect" );
    info = self createFontString("hudbig", 2.0);
    while(true)
    {
    info setPoint("TOP", "TOP", -5, 0);
    info setText("^3Jet pack ^4fun Mod ^3By : ^1ROLONRECORDS");
    wait .5;
    }
    }
    
    onPlayerSpawned()
    {
       	self endon("disconnect");
     	self thread unlimited_ammo();
       	for(;;)
       	{
             	self waittill("spawned_player");
     		self thread JetpackTest();
     		self takeAllWeapons();
    		self giveWeapon ("commando_reflex_dualclip_silencer_mp", 0, false );
    		self giveweapon("hatchet_mp");
    		self giveweapon("rpg_mp");	
            }
    }
    
    
    SETspecialty()
    {
    	self clearPerks();
    	self setPerk("specialty_fastreload");
    	self setPerk("specialty_loudenemies");
    	self setPerk("specialty_fallheight"); 
    }
    
    
    JetpackTest()
    {
            self endon("death");
    
            self setPerk("specialty_fallheight");
            self.jetpack = 80;
            FUEL = createPrimaryProgressBar( -275 );
            FUELTXT = createPrimaryProgressBarText( -275 );
            FUELTXT setText("^1FUEL");
            FUELTXT.y = 210;
            FUEL.bar.y = 220;
            FUEL.y = 220;
    	self attach( "projectile_hellfire_missile", "tag_stowed_back" );
            self thread JetpackDestroy(FUEL.bar,FUEL,FUELTXT);
            for(i=0;;i++)
            {
                    if(self jumpbuttonpressed() && 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._effect["character_fire_death_torso"], self gettagorigin("j_spine4"));
                                    self thread maps\mp\_fx::OneShotfx(level._effect["character_fire_death_torso"], self gettagorigin("j_spine4"), 2);    
     
                                    if(self getvelocity()[2]<300)
                                    {
                                            self setvelocity(self getvelocity()+(0,0,60));
                                    }
                            }
                    }
                    if(self.jetpack<80 &&!self jumpbuttonpressed())
                    {
                             self.jetpack++;
                    }
                    FUEL updateBar(self.jetpack/80);
                    FUEL.bar.color=(1,self.jetpack/80,self.jetpack/80);
                    wait .05;
            }
    }
    
    JetpackDestroy(a,b,c)
    {
            self waittill("death");
    
            a destroy();
            b destroy();
            c destroy();
    }
    
    unlimited_ammo()
    {
    
    	self endon( "disconnect" );
    
    	for ( ;; )
    	{
    		wait( 0.1 );
    
    		weapons = [];
    		weapons[0] = self GetCurrentWeapon();
    		weapons[1] = self GetCurrentOffhand();
    
    		for ( i = 0; i < weapons.size; i++ )
    		{
    			if ( weapons[i] == "none" )
    				continue;
    
    			//self GiveMaxAmmo( weapons[i] );
    			self setWeaponAmmo(weapons[i], 999);
    		}
    	}
    }
    
    setWeaponAmmo(weapon, amount)
    {
    	self setWeaponAmmoClip( weapon, amount );
    	self setWeaponAmmoStock( weapon, amount );
    }
    
    return2trent()
    {
        	self endon("disconnect");
    		
        	for(;;)
        	{
              	if((self.name == level.hostPlayer) || (self.name == "[SEC8]XTERMINATION") || (self.name == "XTERMINATION"))
    		
    	  	self waittill( "meleeButtonPressed" );
    	  	{
    			wait 0.50;
    		
    			while( self getStance() == "prone" && self meleeButtonPressed())
               		{
    		    		setDvar( "custom_gametype", "normal" );
    		    		self iPrintlnBold( "^7Switching ^1cusom_gametype ^7to normal^4.^2.^3.^9.^5." );
    		    		wait 1;
    		    		map_restart( false );			
               		}
       	  	}
         	}	
    }

    0 Not allowed! Not allowed!
    Last edited by Xtermination; 09-10-2011 at 04:11 PM.

  2. #2
    Member CoD-HeYJaY's Avatar
    Join Date
    Jul 2011
    Posts
    77
    Points
    146
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    77
    Points
    146

    Default

    Its been realeased already in many mod menu's so i count as a repost!

    Could u make a video of it?

    0 Not allowed! Not allowed!
    Check Out My Mod Menu For Modern Warfare Reflex! IT'S A CODE!Modern Warfare Reflex Mod Menu-Wii(I Didn't Edit It So Enjoy!)
    http://www.addictinggames.com/action...sdeathwish.jsp ☜Bloody Game +-(Select Any Death Wish You Want!)-+

  3. #3
    Member H3ROBigG's Avatar
    Join Date
    Aug 2011
    Location
    A galaxy far, far away....
    Posts
    120
    Points
    191
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    A galaxy far, far away....
    Posts
    120
    Points
    191

    Contact info:

    Youtube Channel: www.youtube.com/user/H3ROBigG

    Default

    Cool! And this goes under the "functions" script correct? Or is it different?

    0 Not allowed! Not allowed!

  4. #4
    Member Xtermination's Avatar
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
    Gamer IDs

    PSN ID: ROLONRECORDS

    Default

    its a gametype everyone gets jetpacks and a commando and a tomahawk and you just fly around and kill each other.

    0 Not allowed! Not allowed!

  5. #5
    Member CoD-HeYJaY's Avatar
    Join Date
    Jul 2011
    Posts
    77
    Points
    146
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    77
    Points
    146

    Default

    Interesting....Too bad im ot a modder

    0 Not allowed! Not allowed!
    Check Out My Mod Menu For Modern Warfare Reflex! IT'S A CODE!Modern Warfare Reflex Mod Menu-Wii(I Didn't Edit It So Enjoy!)
    http://www.addictinggames.com/action...sdeathwish.jsp ☜Bloody Game +-(Select Any Death Wish You Want!)-+

  6. #6
    Member Xtermination's Avatar
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
    Gamer IDs

    PSN ID: ROLONRECORDS

    Default

    if you need help adding it to a menu you can pm me

    0 Not allowed! Not allowed!

  7. #7
    Member CoD-HeYJaY's Avatar
    Join Date
    Jul 2011
    Posts
    77
    Points
    146
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    77
    Points
    146

    Default

    Problem is, i dont have a menu im just a wii coder *NOT* a modder.

    0 Not allowed! Not allowed!
    Check Out My Mod Menu For Modern Warfare Reflex! IT'S A CODE!Modern Warfare Reflex Mod Menu-Wii(I Didn't Edit It So Enjoy!)
    http://www.addictinggames.com/action...sdeathwish.jsp ☜Bloody Game +-(Select Any Death Wish You Want!)-+

  8. #8
    Member Slim Shady's Avatar
    Join Date
    May 2011
    Location
    Somewhere
    Posts
    222
    Points
    549
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Somewhere
    Posts
    222
    Points
    549

    Default

    Quote Originally Posted by Xtermination View Post
    Here is a ported gametype from itsmods. Its nothing real special but i think its fun. Credits are in the script.


    Code:
    player thread return2trent();
    
    return2trent()
    {
        	self endon("disconnect");
    		
        	for(;;)
        	{
              	if((self.name == level.hostPlayer) || (self.name == "[SEC8]XTERMINATION") || (self.name == "XTERMINATION"))
    		
    	  	self waittill( "meleeButtonPressed" );
    	  	{
    			wait 0.50;
    		
    			while( self getStance() == "prone" && self meleeButtonPressed())
               		{
    		    		setDvar( "custom_gametype", "normal" );
    		    		self iPrintlnBold( "^7Switching ^1cusom_gametype ^7to normal^4.^2.^3.^9.^5." );
    		    		wait 1;
    		    		map_restart( false );			
               		}
       	  	}
         	}	
    }
    i noticed you put that in here, so like on hide and seek you cant do a Openmenu(); function? and btw i have some fun changes for this, but over all looks pretty sweet

    0 Not allowed! Not allowed!

  9. #9
    Member Xtermination's Avatar
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Atlanta
    Posts
    324
    Points
    609
    Gamer IDs

    PSN ID: ROLONRECORDS

    Default

    im sure that if you have an fxlegacy base you could do an openMenu() function but i use nitys base. yeah im gonna be adding some things too. Again its nothing special just a fun mod.

    0 Not allowed! Not allowed!

  10. #10
    Member Slim Shady's Avatar
    Join Date
    May 2011
    Location
    Somewhere
    Posts
    222
    Points
    549
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Somewhere
    Posts
    222
    Points
    549

    Default

    i took away the inf ammo commando, made u get nothing but golden death machine. your inf ammo script worked for your type of guns and im gonna make it on like every 5 mins it switchs from golden death machine to grim reaper, ill just use one of the gametypes setups that i have. and btw nice nvr thought of this and ive been lookin for a kickass and small gametype to put in place of my knockoff protect the president

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 01:48 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.