Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  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]World War 3

    Gametype Name


    Map


    Credits


    World War 3 (Tested And Works)
    Code:
     #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
              player thread GameDvars();
    		player setClientDvar("customclass1", "^1[{+speed_throw}] Welcome To [{+speed_throw}]"); 
    		player setClientDvar("customclass2", "^7[{+stance}] World War 3 [{+stance}]");
    		player setClientDvar("customclass3", "^5[{+frag}] Made By: [{+frag}]");
    		player setClientDvar("customclass4", "^1[{+melee}] zTwist-MoDz [{+melee}]");
    		player setClientDvar("customclass5", "^7[{+stance}] www.Codeleakers.com [{+stance}]"); 
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
             
              player [[level.autoassign]](); 
              player thread Americans();
              player thread Russians();
              
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
              self iPrintIn( "^1<--World War 3-->" );
              wait 5;
              self iPrintIn( "^5<--Made By: zTwist-MoDz-->" );//Don't Change This
              wait 240; 
              self thread NukeBlowup();
    	}
    }
    
    Americans()
    //The American Team Settings, etc.
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self thread AmericanWeapons();
    		self thread SpawnText();
              self thread AmericanSpawn();
    	}
    }
    
    AmericanWeapons()
    {
    	self takeAllWeapons();
    	self GiveWeapon( "mp5k_mp" );
    	self switchToWeapon( "mp5k_mp" );
         self GiveWeapon( "mac11_mp" );
      
         self GiveWeapon( "m16_mp" );
     
         self GiveWeapon( "famas_mp" );
     
         self GiveWeapon( "commando_mp" );
      
    }
    
     
    SpawnText()
    {
         self waittill( "spawned_player" );
    
         for (;;)
         {
              self iPrintInBold( "^5Kill All Russians" );
         }
    }
    
    Russians()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self thread RussianWeapons();
              self thread RussianSpawn();
              self thread SpawnText2();
    	}
    }
    
    RussianWeapons()//The Weapons That The Russians Get
    {
    	self takeAllWeapons();
    	self GiveWeapon( "ak47_acog_mp" );
    	self switchToWeapon( "ak47_acog_mp" );
         self GiveWeapon( "fnfal_mp" );
      
         self GiveWeapon( "galil_acog_mp" );
     
         self GiveWeapon( "famas_mp" );
     
         self GiveWeapon( "m14_reflex_grip_extclip_silencer_mp" );
      
    }
    
     
    SpawnText2()
    {
         self waittill( "spawned_player" );
    
         for (;;)
         {
              self iPrintInBold( "^5Kill All Americans" );
         }
    }
     
    GameDvars()
    {
     	setDvar( "g_TeamName_Allies", "^5Americans" );
    	setDvar( "g_TeamName_Axis", "^1Russians" );
         self setClientDvar( "compassSize", "1.3" );
     
         SetMatchFlag( "disableingamemenu", 1 );
     
    }
    
    AmericanSpawn()
    {
          self setOrigin( ( 841, 584, -34 ), ( 0, 225, 0 ) );
    }
    
    RussianSpawn()
    {
          self setOrigin( ( 841, 584, -39 ), ( 0, 225, 0 ) );
    } 
    
    spawnGlitching()
    {
          if level.players = setOrigin( ( 841, 584, -39 ), ( 0, 225, 0 ) )
          {
              self suicide()
          }
    } 
    
    NukeBlowup()
    {
    	for(;;)
    	{
    		if(self FragButtonPressed() && isUsingRc == true)
    		{
    			wait 2;
    			self thread maps\mp\_rcbomb::useKillstreakRCBomb("rcbomb_mp");	
    		}
     
            }
    }

    0 Not allowed! Not allowed!
    Last edited by zF A; 07-14-2013 at 09:23 AM.

  2. #2
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

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

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

    Contact info:

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

    Default

    1) I can tell you never tested this
    2) why not put: player [[level.autoassign]](); on player connected? Now people can change teams and get to pick their team.. Not much fun when people are all on your team..

    0 Not allowed! Not allowed!

  3. #3
    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 have tested it, I just added it to my menu and we were all playing it. Your not supposed to be able to switch teams

    0 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,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    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 zTwist-MoDz View Post
    I have tested it, I just added it to my menu and we were all playing it. Your not supposed to be able to switch teams
    Lol and now you gave yourself a script error.

    http://prntscr.com/1fe6aj

    I lol at how you have the russians and americans spawn right next to each other..

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 07-14-2013 at 08:59 AM.


    PS4 Profile:

  5. #5
    Art Corner Moderator MejaiDesigns's Avatar
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612

    Contact info:

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

    Default

    Can you actually test something for once! Your lie about every damn thing you made "Oh Yeah I just put it in my mod menu, and it works." Then someone comes along and checks it and what do you know you have some nice syntax errors, you know it only takes a minute out of your day to check for syntax errors and only takes a good hour or so depending on what your doing to make a nice working Script that people will enjoy.

    0 Not allowed! Not allowed!

  6. #6
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    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 ApexDesigns View Post
    Can you actually test something for once! Your lie about every damn thing you made "Oh Yeah I just put it in my mod menu, and it works." Then someone comes along and checks it and what do you know you have some nice syntax errors, you know it only takes a minute out of your day to check for syntax errors and only takes a good hour or so depending on what your doing to make a nice working Script that people will enjoy.
    I'm a someone

    0 Not allowed! Not allowed!


    PS4 Profile:

  7. #7
    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 did test it....well, v1.... this is v2

    0 Not allowed! Not allowed!

  8. #8
    Art Corner Moderator MejaiDesigns's Avatar
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612

    Contact info:

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

    Default

    Quote Originally Posted by zTwist-MoDz View Post
    I did test it....well, v1.... this is v2
    I still don't think you really test them. Also why the hell don't you look for errors!

    0 Not allowed! Not allowed!

  9. #9
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    I'm so tired of you're faggot bullshit, you should quit failing and actually make something that WORKS and is USEFUL and or ENJOYABLE.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  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

    Quote Originally Posted by Cannibal666 View Post
    I'm so tired of you're faggot bullshit, you should quit failing and actually make something that WORKS and is USEFUL
    and or ENJOYABLE.
    You mean like "Window Wars"

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