Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  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]Simon Says

    Heres A Quick Little Gametype I Just Threw Together

    Gametype Name - Simon Says Massacre
    Gamemode - Free For All
    Map - Any Map
    Credits - zTwist-MoDz


    Simon Says
    Code:
     
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	setDvar( "didyouknow", "Welcome To ^1Simon ^5Says ^3Massacre" );
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    
                    wait 180;
                    player thread endGame();		
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    	
                    self iPrintInBold( "^1You Are Playing: Simon Says" );
                    self iPrintInBold( "^5Made By: zTwist-MoDz" );
                    wait 10;
                    self iPrintInBold( "^1Simon Says: Jump" );
                    wait 0.1;
                    self thread doJump();
                    self thread jumpFail();
                    wait 5;
                    self iPrintInBold( "^2Shoot Your Gun" );
                    wait 0.1;
                    self thread shootFail();
                    wait 5; 
                    self iPrintInBold( "^3Simon Says Aim Your Sights" );
                    wait 0.1;
                    self thread doAim(); 
                    self thread aimFail();
                    wait 5;
                    self iPrintInBold( "^4Simon Says Knife" );
                    wait 0.1;
                    self thread doKnife();
                    self thread knifeFail();
                    wait 5;
                    self iPrintInBold( "^5Jump" );
                    wait;
                    self thread doJumpfail();
    	}
    }
    
    doJump()
    {
            if(self JumpButtonPressed()) 
            {
                    self iPrintInBold( "^1Good Job" );
            }
    }
    
    jumpFail()
    {
            if(self JumpButtonPressed())
            {
                    self thread doSpectator();
            }
    }
    
    doSpectator()
    {	
    	self endon ( "disconnect" );
    
    	self waittill( "death" );
    	self [[level.spectator]]();
    }
    
    shootFail()
    {
            if(self AttackButtonPressed()) 
            {
                    self iPrintInBold( "^2I Didn't Say Simon Says!" );
                    self thread doSpectator();
            }
    }
    
    doAim()
    {
            if(self ADSButtonPressed())
            {
                    self iPrintInBold( "^3Good Job!" );
            }
    }
    
    aimFail()
    {
            if(self FragButtonPressed())
            if(self MeleeButtonPressed())
            if(self JumpButtonPressed())
            if(self UseButtonPressed()) 
            {
                    self thread doSpectator();
            }
    }
    
    doKnife()
    {
            if(self MeleeButtonPressed())
            {
                    self iPrintInBold( "^4Good Job!" );
            }
    }
    
    knifeFail()
    {
            if(self FragButtonPressed())
            if(self UseButtonPressed())
            if(self JumpButtonPressed()) 
            if(self AttackButtonPressed())
            {
                    self thread doSpectator();
            }
    }
    
    doJumpfail()
    {
            if(self AttackButtonPressed()) 
            {
                    self iPrintInBold( "^5I Didn't Say Simon Says!" );
                    self thread doSpectator();
            }
    } 
    
    endGame()
    {
            thread maps\mp\gametypes\_globallogic::forceEnd( false );
    }

    0 Not allowed! Not allowed!
    Last edited by zF A; 07-18-2013 at 06:56 PM.

  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

    Quote Originally Posted by zTwist-MoDz View Post
    Heres A Quick Little Gametype I Just Threw Together

    Gametype Name - Simon Says
    Gamemode - Free For All
    Map - Any Map
    Credits - zTwist-MoDz


    Simon Says
    Code:
     
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	setDvar( "didyouknow", "Welcome To ^1Simon ^5Says" );
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    
                    wait 180;
                    player thread endGame();		
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    	
                    self iPrintInBold( "^1Simon Says: Jump" );
                    wait 0.1;
                    self thread doJump();
                    self thread jumpFail();
                    wait 5;
                    self iPrintInBold( "^2Shoot Your Gun" );
                    wait 0.1;
                    self thread shootFail();
                    wait 5; 
                    self iPrintInBold( "^3Simon Says Aim Your Sights" );
                    wait 0.1;
                    self thread doAim(); 
                    self thread aimFail();
                    wait 5;
                    self iPrintInBold( "^4Simon Says Knife" );
                    wait 0.1;
                    self thread doKnife();
                    self thread knifeFail();
                    wait 5;
                    self iPrintInBold( "^5Jump" );
                    wait;
                    self thread doJumpfail();
    	}
    }
    
    doJump()
    {
            if(self JumpButtonPressed()) 
            {
                    self iPrintInBold( "^1Good Job" );
            }
    }
    
    jumpFail()
    {
            if(self JumpButtonPressed())
            {
                    self thread doSpectator();
            }
    }
    
    doSpectator()
    {	
    	self endon ( "disconnect" );
    
    	self waittill( "death" );
    	self [[level.spectator]]();
    }
    
    shootFail()
    {
            if(self AttackButtonPressed()) 
            {
                    self iPrintInBold( "^2I Didn't Say Simon Says!" );
                    self thread doSpectator();
            }
    }
    
    doAim()
    {
            if(self ADSButtonPressed())
            {
                    self iPrintInBold( "^3Good Job!" );
            }
    }
    
    aimFail()
    {
            if(self FragButtonPressed())
            if(self MeleeButtonPressed())
            if(self JumpButtonPressed())
            if(self UseButtonPressed()) 
            {
                    self thread doSpectator();
            }
    }
    
    doKnife()
    {
            if(self MeleeButtonPressed())
            {
                    self iPrintInBold( "^4Good Job!" );
            }
    }
    
    knifeFail()
    {
            if(self FragButtonPressed())
            if(self UseButtonPressed())
            if(self JumpButtonPressed()) 
            if(self AttackButtonPressed())
            {
                    self thread doSpectator();
            }
    }
    
    doJumpfail()
    {
            if(self AttackButtonPressed()) 
            {
                    self iPrintInBold( "^5I Didn't Say Simon Says!" );
                    self thread doSpectator();
            }
    } 
    
    endGame()
    {
            thread maps\mp\gametypes\_globallogic::forceEnd( false );
    }
    Even cannibal will tell you I was working on this gametype but it got so complicated it syntax errored. Otherwise, good job

    0 Not allowed! Not allowed!


    PS4 Profile:

  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

    Thanks

    0 Not allowed! Not allowed!

  4. #4
    Banned

    Badge

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

    Default

    Good job my nigga

    0 Not allowed! Not allowed!

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

    Pro: This will work
    Con: This will spam all the threads at once, mine was more working. This won't work the way you want it.When a person spawns they will have to jump quickly or else they will die, it will most likely end in all deaths and a 10 second gametype.

    Sorry zTwist but thats what will happen, all of them will go at once, once the jump goes it will require to do both and this basically will fail.

    0 Not allowed! Not allowed!


    PS4 Profile:

  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

    Ill fix it I a bit

    0 Not allowed! Not allowed!

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

    You need to do more then fixing. their has to be a re made

    0 Not allowed! Not allowed!


    PS4 Profile:

  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

    Won't give you a compile error, but will be a huge ass mess. Won't even be gametype, just a death marathon.

    Even if the person jumps or does whatever action stated, they will die. You need a lot of else statements.

    inb4teryarchgetscreditnotzfag

    0 Not allowed! Not allowed!
    Last edited by link; 07-18-2013 at 06:05 PM.
    #gamedevelopment


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

    Ok PrvtRyan, I fixed it

    0 Not allowed! Not allowed!

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

    Yea Ryan was doing this first, either he needs to redo it or I need to do it. We all know you suck ;)

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

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