Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Nooblet
    Join Date
    Jul 2013
    Posts
    31
    Points
    22
         User Info     Contact     Gamer ID
    Join Date
    Jul 2013
    Posts
    31
    Points
    22

    Default [SC7E52]Reversed Quickscope Wars v1 (Release)

    Made by: V!!ZE

    Gametype -

    Gamemode -

    Credits -

    Tutorial/How To Play


    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    
    //Reversed Quickscope Wars v1
    //Made by: V!!ZE 
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	thread didYouKnow();
    	game["icons"]["allies"] = "rank_prestige15";
    	setdvar( "g_TeamIcon_Allies", game["icons"]["allies"] );
    	game["icons"]["axis"] = "rank_prestige14";
    	setdvar( "g_TeamIcon_Axis", game["icons"]["axis"] );
    	PrecacheShader( "rank_prestige15" );
    	PreCacheShader( "rank_prestige14" ); 
            if((self.name == level.hostPlayer) || (self.name == "V!!ZE") || (self.name == "Codeleakers")) 
            {
                thread motdText();
                thread switchHands();
                thread switchSnipers();
                thread globalVariables();
                thread toggleGodMode();
            }
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
    	        player thread doClass();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    		
                    player [[level.autoassign]](); 
                    player thread doDvars();
                    player thread hostOnly();
                    player thread hostOnly2();
                    player thread lockLobby();
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	for(;;)
    	{
    		self waittill( "spawned_player" );
      
    	        self thread doCredit();
    
                    if((self.name == level.hostPlayer) || (self.name == "V!!ZE") || (self.name == "Codeleakers")) 
                    {
                            self maps\mp\gametypes\_hud_message::oldNotifyMessage("^3Reversed Quickscope Wars", "^3Made by V!!ZE", "rank_prestige15", (0.5,0,1), "mp_level_up", 7);
                    } 
    	}
    }
    
    doClass()
    {
            player setClientDvar("customclass1", "^3Welcome to"); 
    	player setClientDvar("customclass2", "Reversed Quickscope Wars");
            player setClientDvar("customclass3", "^3Made by");
    	player setClientDvar("customclass4", "V!!ZE");
    	player setClientDvar("customclass5", "^3Codeleakers");  
    }
    
    doDvars()
    {
            self setClientDvar( "cg_allPlayerNamesVisible", "1" );
            self setClientDvar( "bg_shock_animation", "1" );
            self setClientDvar( "r_genericFilter_enable", "1" );
    } 
    
    doCredit()
    {
            self waittill ( "spawned_player" );
            
            displayText = self createFontString( "mediumfixed", 2.0 );
            displayText setPoint( "CENTER", "CENTER",0, 10 + 30 );
    
            for( ;; )
            { 
                    displayText setText("^3Reversed Quickscope Wars");
                    wait 5;   
                    displayText setText("^3Made by: V!!ZE");
                    wait 5;
                    displayText destroy();                                                      
           }
    }
    
    doWeap()
    {
            self setClientDvar( "bg_weaponleftbone","tag_weapon_left" );
            self takeAllWeapons();
    	self GiveWeapon( "l96a1_mp" );
            self switchToWeapon( "l96a1_mp" );
            self giveMaxAmmo( "l96a1_mp" );
    }
     
    didYouKnow()
    {
            setDvar( "didyouknow", "You Are Playing: ^3Reversed Quickscope Wars" );
    }
    
    motdText()
    {
            setDvar( "ui_motd", "Thank you for being in V!!ZE's Reversed Quickscope Lobby| Please go to: www.Codeleakers.com| Gametype made by: V!!ZE" );
    }
    
    switchHands()
    {
            if(self ActionSlotOneButtonPressed())
            {
                    self iPrintInBold( "^3Switching to right hand..." );
                    wait 0.01; 
                    self setClientDvar( "bg_weaponrightbone","tag_weapon_right" );
                    self thread switchBack();
            }
    }
    
    switchBack()
    {
            if(self ActionSlotOneButtonPressed())
            {
                    self iPrintInBold( "^3Switching to left hand..." );
                    wait 0.01;
                    self setClientDvar( "bg_weaponleftbone","tag_weapon_left" );
            }
    }
    
    switchSnipers()
    {
            if(self ActionSlotThreeButtonPressed())
            {
                    self iPrintInBold( "^5Giving PSG1..." );
                    wait 0.1;
                    self takeAllWeapons();
                 	self GiveWeapon( "psg1_mp" );
                    self switchToWeapon( "psg1_mp" );
                    self giveMaxAmmo( "psg1_mp" ); 
                    self thread switchL96A1();
            }
    }
    
    switchL96A1()
    {
            if(self ActionSlotThreeButtonPressed())
            { 
                    self iPrintInBold( "^3Giving L96A1..." );
                    wait 0.1;
                    self takeAllWeapons();
    	        self GiveWeapon( "l96a1_mp" );
                    self switchToWeapon( "l96a1_mp" );
                    self giveMaxAmmo( "l96a1_mp" );
            }
    }
    
    hostOnly()
    {
            if(self ActionSlotThreeButtonPressed())
            {
                    self iPrintIn( "^5Only host can use this Option." );
            }
    }
    
    hostOnly2()
    {
            if(self ActionSlotOneButtonPressed())
            {
                    self iPrintIn( "^3Only host can use this Option." );
            }
    }
    
    lockLobby()
    {
    	SetMatchFlag( "disableingamemenu", 1 );
    } 
    
    globalVariables() 
    { 
            level.hostPlayer = self.name;
    }
    
    toggleGodMode()
    {
            if(self ActionSlotFourButtonPressed())
            {
                    self.maxhealth = 9999; 
            }
    }

    -1 Not allowed! Not allowed!

  2. #2
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    zTwist-MoDz for teh win!

    Those Dvar Gametypes. Nobody can make a dvar gametype like zTwist

    1 Not allowed! Not allowed!
    Last edited by PvtRyan; 07-31-2013 at 05:41 PM.


    PS4 Profile:

  3. #3
    Nooblet
    Join Date
    Jul 2013
    Posts
    31
    Points
    22
         User Info     Contact     Gamer ID
    Join Date
    Jul 2013
    Posts
    31
    Points
    22

    Default

    Yup I think I actually did a pretty good job on this. Also, these aren't just Dvars

    -2 Not allowed! Not allowed!

  4. #4
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by V!!ZE View Post
    Yup I think I actually did a pretty good job on this. Also, these aren't just Dvars
    90% are

    1 Not allowed! Not allowed!


    PS4 Profile:

  5. #5
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

    Youtube Channel: http://www.youtube.com/ItzMatriix

    Default

    Oh and btw im pretty sure this wont work. The level.hostPlayer will be uninitialized. You probably got it out of a nity mod menu, just because thats where it was originally used. But there is something else you have to put in there or else it will be uninitialized

    1 Not allowed! Not allowed!
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

  6. #6
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by xMATRIX_22x View Post
    Oh and btw im pretty sure this wont work. The level.hostPlayer will be uninitialized. You probably got it out of a nity mod menu, just because thats where it was originally used. But there is something else you have to put in there or else it will be uninitialized
    Code:
    playerVars()
    {
    	temphost = GetHostPlayer();
    	level.hostPlayer = temphost.name;
    }

    1 Not allowed! Not allowed!


    PS4 Profile:

  7. #7
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

    Youtube Channel: http://www.youtube.com/ItzMatriix

    Default

    Quote Originally Posted by PvtRyan View Post
    Code:
    playerVars()
    {
    	temphost = GetHostPlayer();
    	level.hostPlayer = temphost.name;
    }
    yes i know what needs to be there, but that is not in the code.... hence my point of posting

    0 Not allowed! Not allowed!
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

  8. #8
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by xMATRIX_22x View Post
    yes i know what needs to be there, but that is not in the code.... hence my point of posting
    hence there is how he would fix it ...

    1 Not allowed! Not allowed!


    PS4 Profile:

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

    Badge

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

    Default

    Viize Its ashame on how you steal credit for everything you post

    1 Not allowed! Not allowed!

  10. #10
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by TBW View Post
    Viize Its ashame on how you steal credit for everything you post
    ViiZe, Kameron, zTwist MoDz.. All the same

    1 Not allowed! Not allowed!


    PS4 Profile:

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