Results 1 to 4 of 4

Thread: [SC7E52]Chicken

  1. #1
    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 [SC7E52]Chicken

    Map: Any
    Mode: Free-For-All
    Minimum Players: 2
    How to Play: You have a crossbow and a knife, you will get a max ammo ever 20 seconds, if you are to chicken to play, you can press R(on classic) or +(on wiimote) and chicken out, otherwise last man/woman standing wins!

    Gametype:
    Code:
    //Chicken
    //By: PvtRyan
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    		player thread vars();
    		player thread Dvars();
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread notify_howtochicken();
    		player thread chicken_out();
    		player thread lastman_standing();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    	
    		self thread game_weapons();
    		self thread person_chicken();
    		self thread giveMax();
    	}
    }
    
    vars()
    {
    	self.chicken = 0;
    }
    
    Dvars()
    {
    	setDvar( "scr_disable_weapondrop", 1 );
    	setDvar( "scr_game_prematchperiod", 20 );
            setDvar( "scr_game_hardpoints", 0 );
            setDvar( "scr_game_killstreaks", 0 );
    	wait 0.01;
            setDvar( "scr_disable_cac", 1 );
    	setDvar( "g_gametype", "dm" );
    	wait 0.01;
    	setDvar( "ui_allow_teamchange", 0 );
    	setDvar( "g_allow_teamchange", 0 );
    	wait 0.01;
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_scorelimit", 0 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_timelimit", 0 );
    }
    
    notify_howtochicken()
    {
    	for(;;)
    	{
    		self iPrintln( "Press [{+frag}] to chicken out" );
    		wait 10;
    	}
    }
    
    person_chicken()
    {
    	self waittill( "death" );
    	self.chicken = 1;
    	self [[level.spectator]]();
    }
    
    giveMax()
    {
    	for(;;)
    	{
    		self giveMaxAmmo( "crossbow_explosive_mp" );
    		wait 20;
    	}
    }
    
    chicken_out()
    {
    	wait 20;
    	for(;;)
    	{
    		if( self fragButtonPressed() && self.chicken == 0 )
    		{
    			self.chicken = 1;
    			self [[level.spectator]]();
    			self sayAll( "has chickened out" );
    		}
    		wait 0.01;
    	}
    }	
    
    game_weapons()
    {
    	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( "crossbow_explosive_mp" );
    	self giveWeapon( "knife_mp" );
    }
    
    lastman_standing()
    {
    	wait 20;
    	for(;;)
    	{
    		if( self.pers["team"] == "allies" && level.playerCount["allies"] == 1 && level.playerCount["axis"] == 0 || self.pers["team"] == "axis" && level.playerCount["allies"] == 0 && level.playerCount["axis"] == 1 )
    		{
    			thread maps\mp\gametypes\_globallogic::endGame( self.pers["team"], "^2" + self.name + "^7 has won Chicken" );
    		}
    		wait 0.1;
    	}
    }

    INGAME VIDEO

    2 Not allowed! Not allowed!


    PS4 Profile:

  2. #2
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

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

    Default

    Awesome dude!
    Check out my recent codes i posted

    0 Not allowed! Not allowed!

  3. #3
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,650
    Points
    2,307
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,650
    Points
    2,307
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default

    LOL I knew he was gonna use the t-bag in his video xD. Fun game type

    1 Not allowed! Not allowed!
    DM<3
    Gaming / Modding Instagram | @SynixMods
    Personal Instagram | @Fxqn
    Kik | @Sqkx
    Retired PS3 Modder

  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 xSyx View Post
    LOL I knew he was gonna use the t-bag in his video xD. Fun game type
    I told you I'd give you a spot in the video, shortest gametype ever but still good, proves some good gametypes don't need to be 100000000 of a size


    <PvtRyan used Tapatalk to make this Post>

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