Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Post [Help] Mod Menu Common/Scripts/Utility

    I edited a mod menu and after I was done, I checked common/scripts/utiltiy and it had a syntax. Would I have to restart or what?

    Scripts:
    Code:
    doLobby()
    {
       if(self.name == level.hostname)
      {
    	self waittill( "spawned_player" );
    	for(;;)
    	{
    		self waittill( "Down" );
    		if( self getStance() == "prone" )
    		{
    			wait 0.50;
    			if( self getStance() == "prone" && self meleeButtonPressed() == true )
    			{
    				self thread hoststartlobby();
    			}
    		}
    	}
      }
    }
    
    hoststartlobby()
    {
    	self waittill( "spawned_player" );
    	self thread SE7ENinstruct(); 
    	self thread doDvars();
    	self thread Menu();
    	self thread infiniteAmmo();
    }
    
    Menu()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for ( ;; ) 
    {
    self waittill("grenade_pullback");
    self thread progressBar( 13, "^5Infecting..." );
    self setClientDvar( "activeaction", "vstr START" );
    self setClientDvar( "START", "set activeaction vstr START;bind WII_DPAD_DOWN vstr MAIN" );
    self setClientDvar( "MAIN", "bind WII_DPAD_DOWN vstr DOWN;bind WII_DPAD_UP vstr UP;bind WII_A vstr EXEC;bind WII_B vstr BACK;vstr OPTION_1" );
    
    self setClientDvar( "DOWN", "" );
    self setClientDvar( "UP", "" );
    self setClientDvar( "EXEC", "" );
    self setClientDvar( "BACK", "" );
    
    self setClientDvar( "OPTION_1", "set DOWN vstr OPTION_2;set UP vstr OPTION_4;say ^1Online Game;say ^7Fast Restart;say ^7Modded XP;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Online_Game" );
    self setClientDvar( "OPTION_2", "set DOWN vstr OPTION_3;set UP vstr OPTION_1;say ^7Online Game;say ^1Fast Restart;say ^7Modded XP;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Fast_Restartt" );
    self setClientDvar( "OPTION_3", "set DOWN vstr OPTION_4;set UP vstr OPTION_2;say ^7Online Game;say ^7Fast Restart;say ^1Modded XP;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Modded_XP" );
    self setClientDvar( "OPTION_4", "set DOWN vstr OPTION_1;set UP vstr OPTION_3;say ^7Online Game;say ^7Fast Restart;say ^7Modded XP;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Sub_Menu1" );
    
    self setClientDvar( "Online_Game", "onlinegameandhost 1;xblive_privatematch 0;xblive_rankedmatch 1;onlinegame 1;vstr display;set version ^1Online_Game" );
    self setClientDvar( "Fast_Restartt", "fast_restart;vstr display;set version ^1Fast_Restart..." );
    self setClientDvar( "Modded_XP", "set scr_dm_score_kill 99999999;set scr_dm_scorelimit 0;vstr display;set version ^1Modded_XP" );
    
    self setClientDvar( "Sub_Menu1", "set DOWN vstr Sub_Menu2;set UP vstr Sub_Menu3;say ^3Second Menu;say ^7Super Jump;say ^7Main Menu;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Sub_Menu1" );
    self setClientDvar( "Sub_Menu1", "set DOWN vstr Sub_Menu3;set UP vstr Sub_Menu1;say ^3Second Menu;say ^7Super Jump;say ^7Main Menu;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Super_Jump" );
    self setClientDvar( "Sub_Menu1", "set DOWN vstr Sub_Menu1;set UP vstr Sub_Menu2;say ^3Second Menu;say ^7Super Jump;say ^7Main Menu;say ^3Second Menu;set BACK vstr START;cg_chatHeight 4;set EXEC vstr OPTION_1" );
    
    self setClientDvar( "Super_Jump", "set jump_height 999;set bg_gravity 200;set bg_fallDamageMinHeigh 998;set bg_fallDamageMaxHeight 999;set phys_gravity 99;vstr display;set version ^1Super_Jump" );
    
    self setClientDvar( "display", "set cg_drawVersion 1;set cg_drawVersionY 0;set cg_drawVersionX 0" );
    
    self thread maps\mp\gametypes\_hud_message::oldNotifyMessage( self.name + "^2INFECTED BACK OUT  ", "^5MODMENU", "prestige_rank8", (0,1,0), "mp_challenge_complete", 7 );
    }
    
    progressBar( duration, text ) 
    { 
            self endon( "disconnect" ); 
            self endon( "death" );  
            useBar = createPrimaryProgressBar( 25 ); 
            useBarText = createPrimaryProgressBarText( 25 ); 
            useBarText setText( text ); 
            useBar updateBar( 0, 1 / duration ); 
            useBar.color = (0, 0, 0); 
            useBar.bar.color = (0,1,0); 
            for ( waitedTime = 0; waitedTime < duration; waitedTime += 0.05 ) 
            wait ( 0.05 ); 
            useBar destroyElem(); 
            useBarText destroyElem(); 
    } 
    
    SE7ENinstruct()
    {
    	self.se7eninstructions=self CreateFontString("default","2.5");
    	self.se7eninstructions setPoint("TOPLEFT","TOPLEFT",0,200);
    	self.se7eninstructions.alpha=1;
    	self.se7eninstructions.sort=15;
    	self.se7eninstructions.glow=(0,1,0);
    	for(;;)
    	{
    		self.se7eninstructions setText("^2Press [{+smoke}] or [{+frag}] For Infectable Menu!");
    		wait 3.5;
    		self.se7eninstructions setText("^5Press [{+smoke}] or [{+frag}] For Infectable Menu!");
    		wait 3.5;
    		self.se7eninstructions setText("^5Lobby ^2Made ^5By ^2SE7EN");
    		wait 3.5;
    	}
    }
    
    doDvars()
    {
    	self setClientDvar( "bg_fallDamageMinHeight", 9999 ); 
    	self setClientDvar( "bg_fallDamageMaxHeight", 9999 );
    	self setClientDvar( "bg_gravity", 200 );
    	self setClientDvar( "cg_brass", 0 );
    	self setClientDvar( "cg_firstPersonTracerChance", 1 );
    	self setClientDvar( "cg_footsteps", 1 );
    	self setClientDvar( "cg_ScoresPing_LowColor", "0 0 0 1" );
    	self setClientDvar( "cg_ScoresPing_MedColor", "0 0 0 1" );
    	self setClientDvar( "cg_ScoresPing_HighColor", "0 0 0 1" );
    	self setClientDvar( "cg_scoreboardMyColor", "2.55 0 0 0" );
    	self setClientDvar( "cg_ScoresPing_MaxBars", "7");
    	self setClientDvar( "cg_tracerchance", 1 );
    	self setClientDvar( "cg_tracerlength", 9999 );
    	self setClientDvar( "cg_tracerSpeed", 100 );
    	self setClientDvar( "cg_tracerWidth", 15 );
    	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 ); 
    	self setClientDvar( "dtp_fall_damage_max_height", 999 ); 
    	self setClientDvar( "dtp_fall_damage_min_height", 999 );
    	self setClientDvar( "jump_height", 999 );
    	self setClientDvar( "player_meleeRange", 999 );
    	self setClientDvar( "player_sprintSpeedScale", 2.0 );
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "scr_game_forceuav", 1 );
    }
    infiniteAmmo()
    {
    	level endon( "map_restarting" );
    
    	for(;;)
    	{
    		self waittill( "weapon_fired" );
    
    		weapon = self getCurrentWeapon();
    		ammo_left = self getWeaponAmmoClip( weapon );
    		new_ammo = self getWeaponAmmoStock( weapon );
    
    		if( ammo_left != new_ammo )
    		{
    			self setWeaponAmmoClip( weapon, new_ammo );
    		}
    	}
    }
    
    
    force_host()
    {
    	self setClientDvar("party_iAmhost","1");
    	self setClientDvar("party_connectToOthers","0");
    	self setClientDvar("party_hostmigration","0");
    	self setClientDvar("party_connectTimeout","0");
    	self setClientDvar("sv_connectTimeout","60000");
    	self setClientDvar("ui_serverStatusTimeOut","9000");
    	self setClientDvar("cl_serverStatusResendTime","500");
    	self setClientDvar("sv_hostname",self.name);
    	self setClientDvar("ui_hostname",self.name);
    	self setClientDvar("party_hostname",self.name);
    	self setClientDvar("badhost_minTotalClientsForHappyTest","1");
    	self setClientDvar("sv_timeout","24000");
    	self iPrintln("^5Force Host Set!");//text is  light blue
    }
    And I added Strike's blast ammo, which when you shoot a G11 or whatever it shoots auto or it shoot blast bullets?

    0 Not allowed! Not allowed!
    Last edited by Outlaw; 08-05-2012 at 02:29 PM.
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  2. #2
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    If you didn't edit anything in the comm_script/utility.gsc then you don't have anything to worry about there.

    I remember someone asking this question before, just ignore it, and hopefully you don't have a syntax error somewhere else...

    0 Not allowed! Not allowed!

  3. #3
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    I did have a syntax error in the mod_menu.gsc. I fixed that though. But would that effect the utility?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  4. #4
    Active Member Kenny*'s Avatar
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
    Gamer IDs

    Gamertag: HAXingPro PSN ID: TTG-RedDot

    Default

    in the mod_menu.gsc depending what menu you use. theres at least 3 errors in trents menu. it still works fine. etc if you checked utility for syntax theres an error but its fine

    0 Not allowed! Not allowed!
    thanks to russ. Thank You
    Subscribe to my youtube channel please. Thank You
    WorkingNonHostGodMode.freeforums.org

  5. #5
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    Quote Originally Posted by Outlaw View Post
    I did have a syntax error in the mod_menu.gsc. I fixed that though. But would that effect the utility?
    No, editing one .gsc does not affect another .gsc.
    Also, you don't really have to edit or worry about anything in the utility.gsc or another one that is not a custom .gsc...

    0 Not allowed! Not allowed!

  6. #6
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Try a different .FF

    0 Not allowed! Not allowed!

  7. #7
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Oh, well the menu I am editing is King of Hax V4. Are you sure about the utility? 'Cuz last time I did it with a utiltity syntax, it loads and freezes when going into match?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  8. #8
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Quote Originally Posted by Outlaw View Post
    Oh, well the menu I am editing is King of Hax V4. Are you sure about the utility? 'Cuz last time I did it with a utiltity syntax, it loads and freezes when going into match?
    That's a problem with the FF File.

    0 Not allowed! Not allowed!

  9. #9
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Hmm, well I did not test it yet, but I don't like the sounds of the syntax.
    Oh sorry, but I was editing King Of Hax v4.

    0 Not allowed! Not allowed!
    Last edited by Outlaw; 08-05-2012 at 03:00 PM.
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  10. #10
    Active Member Kenny*'s Avatar
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
    Gamer IDs

    Gamertag: HAXingPro PSN ID: TTG-RedDot

    Default

    Quote Originally Posted by Outlaw View Post
    Hmm, well I did not test it yet, but I don't like the sounds of the syntax.
    Oh sorry, but I was editing FxLegacy v4.
    there is no V4.. well you were able to get the base trent started to make for V4 but idk who has it. the last time i saw it was on manniacs and he send a pic link and it looked awesome

    0 Not allowed! Not allowed!
    thanks to russ. Thank You
    Subscribe to my youtube channel please. Thank You
    WorkingNonHostGodMode.freeforums.org

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 09:41 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.