Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  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] Protect & Swerve

    Gametype Name - Protect In Swerve
    This Gametype Is For - Nuketown
    Game Mode - Team Deathmatch
    Credits - zTwist-MoDz
    How To Play - In the yellow house, there is a care package downstairs. Both teams have to fight over the care package (AKA The Base). Whichever team is near the care package for 120 seconds ( 2 minutes) wins. If you die, the time restarts. The protectors get L96A1's With Extended Mags and the Terrorists get Ballistic Knifes.

    Protect & Swerve
    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
            level thread doPoint();
    	setDvar( "didyouknow", "Welcome To ^1Protect ^2& ^3Swerve" );
            setDvar( "ui_motd", "^1You Are Playing: Protect & Swerve Made By: zTwist-MoDz. Please Go To: www.Codeleakers.com" );
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
                    player setClientDvar("customclass1", "^1[{+speed_throw}] You Are Playing: [{+speed_throw}]"); 
    		player setClientDvar("customclass2", "^2[{+stance}] Protect & Swerve [{+stance}]");
    		player setClientDvar("customclass3", "^3[{+frag}] Made By: [{+frag}]");
    		player setClientDvar("customclass4", "^4[{+melee}] zTwist-MoDz [{+melee}]");
    		player setClientDvar("customclass5", "^5[{+stance}] www.Codeleakers.com [{+stance}]"); 
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    
                    player [[level.autoassign]]();
                    player thread doDvars();
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	for(;;)
    	{
    		self waittill( "spawned_player" );
                    self thread doCredits();
                    self thread doProtect();
                    self thread doTerrorist(); 
         } 
    }
    
    doDvars()
    {
            setDvar( "g_TeamName_Allies", "^1Protectors" );
            setDvar( "g_TeamName_Axis", "^5Terrorists" );         
            setDvar( "scr_teambalance", 1 );
    }
     
    doProtect()
    {
            if( self.pers["team"] == "allies" )
            {
                    self thread protectWeapons();
                    self iPrintIn( "^1Defend The Base" );
    	     }
    } 
    
    doTerrorist()
     {
            if( self.pers["team"] == "axis" )
            {
                    self thread terroristWeapons();
                    self iPrintIn( "^2Take Over The Base" );
    	     }
    } 
    
    protectWeapons()
    {
    	     self GiveWeapon( "l96a1_extclip_mp" );
    	     self switchToWeapon( "l96a1_extclip_mp" );
    }
     
    terroristWeapons()
    {
    	     self GiveWeapon( "knife_ballistic_mp" );
    	     self switchToWeapon( "knife_ballistic_mp" );
    }
     
    doCredits();
    {
             self iPrintInBold( "^1Prptect ^2& ^3Swerve" );
             wait 5;
             self iPrintInBold( "^4Made ^5By: ^1zTwist-MoDz" );
    }
    
    Waypoint( pos, angle )
    {
            level.way = spawn( "script_model", pos );
            level.way setModel( "mp_supplydrop_axis" );
            level.way.angles = angle;	
    }
    
    doPoint()
    {
            level.way = Waypoint( ( 799, 376, -40), (0, 195, 0) ); 
            self thread doDeath();
            if( distance( self.origin, level.way.origin ) < 5 )
            {                  
                    wait 120;
                    thread maps\mp\gametypes\_globallogic::forceEnd( false );                    
            }
    } 
    
    doDeath()
    {
            self thread doPoint();
            self waittill( "death" );
            
            for(;;)
            {
                    wait 300;
                    thread maps\mp\gametypes\_globallogic::forceEnd( false );                    
            } 
    }

    -1 Not allowed! Not allowed!
    Last edited by zF A; 07-20-2013 at 07:20 PM.

  2. #2
    Suicidal Thoughts

    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,667
    Points
    2,317
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,667
    Points
    2,317
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    Tested?

    0 Not allowed! Not allowed!

  3. #3
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

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

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

    Contact info:

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

    0 Not allowed! Not allowed!


    PS4 Profile:

  4. #4
    ~ 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

    Credit goes to treyarch. All it is, is a bunch of developers variables.

    0 Not allowed! Not allowed!
    #gamedevelopment


  5. #5
    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 PvtRyan View Post
    Oops, lol. After I fix it, from now on, I'm NEVER going to post an untested mod again.

    -2 Not allowed! Not allowed!

  6. #6
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default

    based on the name:

    -made by yolo swag fag
    -probably really crappy
    -and since its ztwist it most likely has problems

    1 Not allowed! Not allowed!

  7. #7
    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

    Quote Originally Posted by Slink View Post
    Credit goes to treyarch. All it is, is a bunch of developers variables.
    why you keep saying that? That means credit go to treyarch for every thing that has ever been made

    1 Not allowed! Not allowed!

  8. #8
    ~ 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 TBW View Post
    why you keep saying that? That means credit go to treyarch for every thing that has ever been made
    Exactly. What I'm trying to point out, is, that all he's doing is throwing dvars together probably put together by various people and calling it a gametype. These aren't even original scripts. He gives himself all the credit, yet more people should get credit.

    0 Not allowed! Not allowed!
    #gamedevelopment


  9. #9
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,838
    Points
    1,582
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,838
    Points
    1,582
    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 Slink View Post
    Exactly. What I'm trying to point out, is, that all he's doing is throwing dvars together probably put together by various people and calling it a gametype. These aren't even original scripts. He gives himself all the credit, yet more people should get credit.
    1) Slink your Zeek?
    2) Modding is all variables but scripted in a harmony of a working fashion

    0 Not allowed! Not allowed!


    PS4 Profile:

  10. #10
    Jungler Strike's Avatar
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,319
    Points
    9,420
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,319
    Points
    9,420
    Gamer IDs

    PSN ID: xSTR11K3Rx Steam ID: xSTRiiK3Rx

    Contact info:

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

    Default

    Im not sure about you but isnt this headquaters but not a moving base

    0 Not allowed! Not allowed!

    ^Ty goober^
    Quote Originally Posted by xX_BiGFooTT_Xx View Post
    compensate my cock faggot

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:24 PM.
Powered by vBulletin®
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.