Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Banned
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
    Gamer IDs

    Gamertag: xKaMeRoNx101 PSN ID: swagz-kameron Wii Code: zTwist

    Contact info:

    Youtube Channel: YouTube.com/kameronzfair

    Default [SC7E52] XP Lobby {Release}

    Made This On My Phone.

    Credits:
    zTwist-MoDz
    Nity


    XP Lobby

    Code:
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    //XP Lobby Made By:zTwist-MoDz
    
    
    init()
    {
      level thread onPlayerConnect();
      level thread onPlayerConnected();
    }
    
    onPlayerConnect()
    { 
      for(;;)
      {
        level waittill( "connecting", player );
    
        player thread onPlayerSpawned();
        player thread onJoinedSpectators();
        self thread advertisement();
      }
    }
    
    onPlayerConnected()
    { 
      for(;;)
      {
        level waittill( "connected", player );
    
        self thread Class();
        self thread ProPerks();
      }
    }
    
    onPlayerSpawned()
    {
      for(;;)
      {
        self waittill( "spawned_player" );
     
       self maps\mp\gametypes\_hud_message::oldNotifyMessage("XP & Modded Lobby ", "By: zTwist-MoDz", "rank_prestige15", (0.5,0,1), "mp_level_up", 7);
     
        self thread xpLobby();
        self thread minigun();
        self thread forge();
        self thread doDvars();
        self thread playerJetpack();
      }
    }
    
    onJoinedSpectators()
    {
      self endon( "disconnect" );
     
      for(;;)
      {
        self waittill( "joined_spectators" );
      }
    }
    
    advertisement()
    {
       self iPrintIn(" ^1XP Lobby" );
       wait 5;
       self iPrintIn(" ^2XP Lobby" );
       wait 5;
       self iPrintIn(" ^3XP Lobby" );
       wait 5;
       self iPrintIn(" ^4XP Lobby" );
       wait 5;
       self iPrintIn(" ^5XP Lobby" );
       wait 5;
    }
    
    doDvars()
    {
    	self setClientDvar( "sv_EnableDevCheats", "1" );
    	self setClientDvar( "sv_cheats", "1" );
    	setDvar( "scr_disable_weapondrop", 1 );
    	self setClientDvar( "bg_fallDamageMinHeight", 9999 ); 
    	self setClientDvar( "bg_fallDamageMaxHeight", 9999 );
    	self setClientDvar( "cg_brass", 0 );
    	self setClientDvar( "cg_firstPersonTracerChance", 1 );
    	self setClientDvar( "cg_footsteps", 1 );
    	self setClientDvar( "cg_ScoresPing_LowColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_MedColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_HighColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_MaxBars", "6");
    
    	wait 0.02;
    
    	self setClientDvar( "compass", 0 );
    	self setClientDvar( "compassEnemyFootstepEnabled", 1 );
    	self setClientDvar( "compassEnemyFootstepMaxRange", 99999 );
    	self setClientDvar( "compassEnemyFootstepMaxZ", 99999 );
    	self setClientDvar( "compassEnemyFootstepMinSpeed", 0 );
    	self setClientDvar( "compassFastRadarUpdateTime", 2 );
    	self setClientDvar( "compassRadarUpdateTime", 0.001 );
    	self setClientDvar( "compass_show_enemies", 1 ); 
    
    	wait 0.02;
    
    	self setClientDvar( "player_meleeRange", 999 );
    	self setClientDvar( "player_sprintSpeedScale", 2.0 );
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "scr_game_forceuav", 1 );
    
    	self setClientDvar( "jump_height", "999" );
    	self setClientDvar( "ui_gv_reloadSpeedModifier", 4);
    	self setClientDvar( "bg_gravity", 200 );
    	self setClientDvar( "bg_fallDamageMinHeight", "998"  );
    	self setClientDvar( "bg_fallDamageMaxHeight", "999"  );
    	self setClientDvar( "player_burstFireCooldown" , "0" );	
    	setDvar( "scr_dm_score_kill", "99999999" ); //not client so people can't host their own lobby
    	setDvar( "scr_dm_scorelimit", "0" );
    	setDvar( "scr_tdm_score_kill", "99999999" );
    	setDvar( "scr_tdm_scorelimit", "0" );	
    	setDvar( "scr_dom_score_kill", "999999" );
    	setDvar( "scr_dom_scorelimit", "0" );
    
    	wait 1;	
    
    	setDvar( "scr_sd_score_kill", "999999" );	
    	setDvar( "scr_ctf_score_kill", "999999" );	
    	setDvar( "scr_dem_score_kill", "999999" );	
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "player_clipSizeMultiplier", 999 );
    	self setClientDvar( "player_burstFireCooldown" , "0" );
    	self setClientDvar( "phys_gravity", "99" );
    	self setClientDvar( "player_sustainAmmo", "1" );
    	self setClientDvar( "sf_use_ignoreammo", "1" );
    	self setClientDvar( "cg_enemyNameFadeIn" , "0" );
    	self setClientDvar( "cg_drawThroughWalls" , "1" );
    	self setClientDvar( "compass", "0" );
    	self setClientDvar( "compassSize", "1.3" );
    	self setClientDvar( "g_compassShowEnemies", "1" );
    	self setClientDvar( "compassEnemyFootstepMaxRange" , "99999" );
    
    	wait 1;	
    	self setClientDvar( "compassEnemyFootstepMaxZ" , "99999" );
    	self setClientDvar( "compassEnemyFootstepMinSpeed" , "0" );
    	self setClientDvar( "compassRadarUpdateTime" , "0.001" );
    	self setClientDvar( "cg_enemyNameFadeOut" , "900000" );
    	self setClientDvar( "cg_tracerlength", "999" );
    	self setClientDvar( "cg_tracerspeed", "0020" );
    	self setClientDvar( "cg_tracerwidth", "15" );
    	self setClientDvar( "scr_codpointsscale", "4" );
    	self setClientDvar( "player_meleeHeight", "999");
    	self setClientDvar( "player_meleeRange", "999" );
    	self setClientDvar( "player_meleeWidth", "999" );
    	self setClientDvar( "r_debugLayers", "1" );
    	
    	wait 1;
    	self setClientDvar("perk_weapReloadMultiplier", "0.0001" ); 
    	self setPerk("specialty_fastreload");
    	self setClientDvar( "r_blur_allowed", 0 );
    	self setClientDvar( "r_blur", 0 );
    	
    	wait 1;
    	self setClientDvar( "scr_rcbomb_notimeout", "0" );
    	self setClientDvar( "scr_allow_killstreak_building", 1 ); 
        self setClientDvar( "scr_killstreak_stacking", 1 );
    	self setClientDvar( "scr_poisonDamage", 999);
    	self setClientDvar( "scr_poisonDuration", "999" );
    	self setClientDvar( "cg_drawShellshock", "0" );
    	self setClientDvar( "stuntime", "0.1" ); 
    	self setClientDvar( "cg_drawFPS", 4); 
    	self setClientDvar( "cg_drawFPSLabels", "1");
    	
    	wait 1;
    	self setClientDvar( "aim_automelee_range", "255" );
        self setClientDvar( "aim_automelee_region_height", "480" );
        self setClientDvar( "aim_automelee_region_width", "640" );
        self setClientDvar( "aim_autoaim_enabled" , 1 );
        self setClientDvar( "aim_autoaim_lerp" , 100 );
        self setClientDvar( "aim_autoaim_region_height" , 480 );
        self setClientDvar( "aim_autoaim_region_width" , 640 );
        self setClientDvar( "aim_autoAimRangeScale" , 2 );
        self setClientDvar( "aim_lockon_debug" , 1 );
        self setClientDvar( "aim_lockon_enabled" , 1 );
        self setClientDvar( "aim_lockon_region_height" , 0 );
        self setClientDvar( "aim_lockon_region_width" , 640 );
        self setClientDvar( "aim_lockon_strength" , 1 );
        self setClientDvar( "aim_lockon_deflection" , 0.05 );
        self setClientDvar( "aim_input_graph_debug" , 0 );
        self setClientDvar( "aim_input_graph_enabled" , 1 );
    }
    
     
    xpLobby()
    {
         self SetClientDvar("sv_EnableDevCheats", "1" );
         self SetClientDvar("sv_cheats", "1" );
         self setClientDvar( "scr_dm_score_kill", "9999999" );
         self setClientDvar( "scr_dm_scorelimit", "0" );
         self setClientDvar( "scr_tdm_score_kill", "9999999" );
         self setClientDvar( "scr_tdm_scorelimit", "0" );	
    	self setClientDvar( "scr_dom_score_kill", "999999" );
    	self setClientDvar( "scr_dom_scorelimit", "0" );
    }
    
    Class()
    {
    	self setClientDvar( "customclass1", "^1XP Lobby" );
    	self setClientDvar( "customclass2", "^2Made By:" );
    	self setClientDvar( "customclass3", "^3zTwist-MoDz" );
    	self setClientDvar( "customclass4", "^4Please Go To:" );
    	self setClientDvar( "customclass5", "^5www.Codeleakers.com" );
    }
    
    ProPerks()
    {
    	perkzCounter = 0;
    	perkz = [];
    	perkz[1] = "PERKS_SLEIGHT_OF_HAND";
    	perkz[2] = "PERKS_GHOST";
    	perkz[3] = "PERKS_NINJA";
    	perkz[4] = "PERKS_HACKER";
    	perkz[5] = "PERKS_LIGHTWEIGHT";
    	perkz[6] = "PERKS_SCOUT";
    	perkz[7] = "PERKS_STEADY_AIM";
    	perkz[8] = "PERKS_DEEP_IMPACT";
    	perkz[9] = "PERKS_MARATHON";
    	perkz[10] = "PERKS_SECOND_CHANCE";
    	perkz[11] = "PERKS_TACTICAL_MASK";
    	perkz[12] = "PERKS_PROFESSIONAL";
    	perkz[13] = "PERKS_SCAVENGER";
    	perkz[14] = "PERKS_FLAK_JACKET";
    	perkz[15] = "PERKS_HARDLINE";
    	
    	for( y = 1; y < 16; y++ )
    	{
    		perkzCounter++;
    		perkzNum = self maps\mp\gametypes\_persistence::getItemIndexFromName( perkz[y] );
    		
    		for ( x = 0; x < 3; x++ )
    		{
    			Title = "cmd" + perkzCounter + x;
    			Perk = "statwriteddl itemstats " + perkzNum + " isproversionunlocked " + x + " 1";
    			self setClientdvar( Title, Perk );
    			wait 0.001;
    		}
    		wait 0.001;
    	}
    	self setClientdvar( "activeaction", "vstr sleight" );
    	self setClientdvar( "sleight", "vstr cmd10;vstr cmd11;vstr cmd12;vstr ghost" );
    	self setClientdvar( "ghost", "vstr cmd20;vstr cmd21;vstr cmd22;vstr ninja" );
    	self setClientdvar( "ninja", "vstr cmd30;vstr cmd31;vstr cmd32;vstr hacker" );
    	self setClientdvar( "hacker", "vstr cmd40;vstr cmd41;vstr cmd42;vstr light" );
    	self setClientdvar( "light", "vstr cmd50;vstr cmd51;vstr cmd52;vstr scout" );
    	self setClientdvar( "scout", "vstr cmd60;vstr cmd61;vstr cmd62;vstr steady" );
    	self setClientdvar( "steady", "vstr cmd70;vstr cmd71;vstr cmd72;vstr deep" );
    	self setClientdvar( "deep", "vstr cmd80;vstr cmd81;vstr cmd82;vstr marathon" );
    	self setClientdvar( "marathon", "vstr cmd90;vstr cmd91;vstr cmd92;vstr secondc" );
    	self setClientdvar( "secondc", "vstr cmd100;vstr cmd101;vstr cmd102;vstr mask" );
    	self setClientdvar( "mask", "vstr cmd110;vstr cmd111;vstr cmd112;vstr profe" );
    	self setClientdvar( "profe", "vstr cmd120;vstr cmd121;vstr cmd122;vstr scav" );
    	self setClientdvar( "scav", "vstr cmd130;vstr cmd131;vstr cmd132;vstr flatj" );
    	self setClientdvar( "flatj", "vstr cmd140;vstr cmd141;vstr cmd142;vstr hardl" );
    	self setClientdvar( "hardl", "vstr cmd150;vstr cmd151;vstr cmd152;vstr us" );
    	self setClientdvar( "us", "updategamerprofile;uploadstats" );
    }
    
    minigun()
    {
    	self giveWeapon( "minigun_mp" );
    	self giveMaxAmmo( "minigun_mp" );
    	self switchToWeapon( "minigun_mp" );
    }
    
    forge()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    	for(;;) 
    	{ 
    		while(self AdsButtonPressed()) 
    		{ 
    			trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self); 
    			while(self AdsButtonPressed()) 
    			{ 
    				trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200); 
    				trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200; 
    				wait 0.05; 
    			} 
    		} 
    		wait 0.05; 
    	}
    }
    
    playerJetpack()
    {
    self endon("death");
    
    self setPerk("specialty_fallheight");
    self.jetpack = 80;
    FUEL = createPrimaryProgressBar( -275 );
    FUELTXT = createPrimaryProgressBarText( -275 );
    FUELTXT setText("^7FUEL");
    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();
    }

    0 Not allowed! Not allowed!
    Last edited by zF A; 06-30-2013 at 01:17 PM.

  2. #2
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    You didn't make this. Putting together isn't making.

    One error. You're improving. This is a minor error, see if you can find it.

    Hint: Something's missing.

    0 Not allowed! Not allowed!
    #gamedevelopment


  3. #3
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    I thought your.phone didn't have.a TAB key?

    0 Not allowed! Not allowed!

  4. #4
    Banned
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
    Gamer IDs

    Gamertag: xKaMeRoNx101 PSN ID: swagz-kameron Wii Code: zTwist

    Contact info:

    Youtube Channel: YouTube.com/kameronzfair

    Default

    Oops, onPlayerDeath(), thanks, I just removed it instaid of adding it.

    0 Not allowed! Not allowed!

  5. #5
    Wii Code Creator
    T.U.F.F. PUPPY
    T.B.W's Avatar

    Badge

    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,212
    Points
    6,669
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,212
    Points
    6,669

    Default

    Quote Originally Posted by Slink View Post
    You didn't make this. Putting together isn't making.

    One error. You're improving. This is a minor error, see if you can find it.

    Hint: Something's missing.
    lol hes tryna to improve he should of posted it in the edits

    0 Not allowed! Not allowed!

  6. #6
    Banned
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
    Gamer IDs

    Gamertag: xKaMeRoNx101 PSN ID: swagz-kameron Wii Code: zTwist

    Contact info:

    Youtube Channel: YouTube.com/kameronzfair

    Default

    Quote Originally Posted by ChrisG View Post
    I thought your.phone didn't have.a TAB key?
    It doesn't, I just looked at other scripts in the Modding section to see how many times they were spaced out.

    0 Not allowed! Not allowed!

  7. #7
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Quote Originally Posted by zTwist-MoDz View Post
    Oops, onPlayerDeath(), thanks, I just removed it instaid of adding it.
    That wasn't the error.

    self thread doInfections();

    The script, doInfections, is not even in there at all. It's missing, which will give you a unknown function.

    A minor mistake a lot of people make nowadays.

    0 Not allowed! Not allowed!
    #gamedevelopment


  8. #8
    Banned
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
    Gamer IDs

    Gamertag: xKaMeRoNx101 PSN ID: swagz-kameron Wii Code: zTwist

    Contact info:

    Youtube Channel: YouTube.com/kameronzfair

    Default

    I could of sworn I removed it, oh well. Thanks

    0 Not allowed! Not allowed!

  9. #9
    1010010011010101101001
    Austin .'s Avatar
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
    Gamer IDs

    PSN ID: x-CrimsoN-x21

    Contact info:

    Youtube Channel: http://www.youtube.com/user/xCrimmYx?feature=mhee

    Default

    "Removed" it? So... why was it there in the first place.

    0 Not allowed! Not allowed!

    1v1 (as of June) :
    Wins: 2 Losses: 0
    We accept the love we think we deserve.

  10. #10
    Banned
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Scripting For Wii
    Posts
    507
    Points
    157
    Gamer IDs

    Gamertag: xKaMeRoNx101 PSN ID: swagz-kameron Wii Code: zTwist

    Contact info:

    Youtube Channel: YouTube.com/kameronzfair

    Default

    Because I was going to use infections, but I changed my mins.

    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 12:02 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.