Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SC7E52]Jaws

  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]Jaws

    Mode: Team DeathMatch
    Maps:All
    How to play:
    As Jaws:You go fast when you are prone and have to knife(eat) all the divers.
    As Divers:You have one knife to shoot at jaws, don't waste it.
    Sorry its small, I finished my GOTW and got bored so I made this :3

    Code:
    //Jaws
    //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();
    	thread findJaws();
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    	setDvar( "didyouknow", "You are playing: ^4Jaws" );
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    		player thread Dvars();
    		player [[level.allies]]();
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread doWater();
    		player thread diversWin();
    		player thread jawsWin();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread doDeath();
    		self thread gameJaws();
    	}
    }
    
    findJaws()
    {
    	wait 20;
    	jaws = RandomInt( level.players.size );
    	level.players[jaws] [[level.axis]]();
    }
    
    doDeath()
    {
    	wait 25;
    	self waittill( "death" );
    
    	self [[level.spectator]]();
    }
    
    giveWeap()
    {
    	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( "knife_ballistic_mp" );
    	self switchToWeapon( "knife_ballistic_mp" );
    	self SetWeaponAmmoClip( "knife_ballistic_mp", 1 );
    	self SetWeaponAmmoStock( "knife_ballistic_mp", 0 );
    	self setPerk("specialty_longersprint");
    	self setPerk("specialty_unlimitedsprint");
    }
    
    gameJaws()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self thread giveWeap();
    	}
    	
    	else if( self.pers["team"] == "axis" )
    	{
    		self thread beJaws();
    		wait 0.1;
    		self thread makeProne();
    		wait 0.1;
    		self thread notifyProne();
    	}
    }
    
    Dvars()
    {
    	setDvar( "g_TeamName_Allies", "^2Divers" );
    	setDvar( "g_TeamName_Axis", "^1Jaws" );
    	wait 0.01;
    	setDvar( "scr_disable_weapondrop", 1 );
    	wait 0.01;
            setDvar( "scr_game_hardpoints", 0 );
            setDvar( "scr_game_killstreaks", 0 );
    	wait 0.01;
            setDvar( "scr_disable_cac", 1 );
    	setDvar( "g_gametype", "tdm" );
    	wait 0.01;
    	setDvar( "ui_allow_teamchange", 0 );
    	setDvar("g_allow_teamchange", 0); 
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_scorelimit", 0 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_timelimit", 0 );
    }
    
    doWater()
    {
    	self setClientDvar( "r_fog", 1 );
    	
    	for(;;)
    	{
    		setExpFog( 256, 512, 60/255, 79/255, 246/255, 0.8 );
    		wait 1;
    		setExpFog( 256, 512, 27/255, 49/255, 246/255, 0.8 );
    		wait 1;
    	}
    }
    
    jawsWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 25;
    	for(;;)
    	{
    		if( level.aliveCount["allies"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::endGame( self.pers["team"], "^5" + self.name + "^1 has killed all Divers!" );
    		}
    
    	wait 0.1;
    	}
    }
    
    
    diversWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 25;
    	for(;;)
    	{
    		if( level.aliveCount["axis"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::endGame( self.pers["team"], "^5" + self.name + "^1 killed Jaws and Saved Everyone" );
    		}
    
    	wait 0.1;
    	}
    }
    makeProne()
    {
    	wait 5;
    	for(;;)
    	{
    		if( self getStance() == "prone" )
    		{
    			self setMoveSpeedScale( 10 );
    		}
    		else
    		{
    			self setMoveSpeedScale( 0.25 );
    			wait 3;
    			self thread makeProne();
    		}
    	}
    }
    
    notifyProne()
    {
    	for(;;)
    	{
    		self iPrintln("Go Prone to move faster");
    		wait 5;
    	}
    }
    
    beJaws()
    {
    	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( "knife_ballistic_mp" );
    	self giveWeapon( "knife_mp" );
    	self switchToWeapon( "knife_ballistic_mp" );
    	self SetWeaponAmmoClip( "knife_ballistic_mp", 0 );
    	self SetWeaponAmmoStock( "knife_ballistic_mp", 0 );
    }

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 07-17-2013 at 09:27 PM. Reason: Fixed an Unknown Function that was put an s in when i posted


    PS4 Profile:

  2. #2
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    Cool gametype idea.

    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

    Yup. Good job.

    0 Not allowed! Not allowed!

  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

    Very simple gametype, and is cool and fun to play with! Good job

    0 Not allowed! Not allowed!
    #gamedevelopment


  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

    Quote Originally Posted by Slink View Post
    Very simple gametype, and is cool and fun to play with! Good job
    Thank you kind sir :3

    0 Not allowed! Not allowed!


    PS4 Profile:

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

    Cool little GT, it's a nice idea and i bet pretty fun. good job.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  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

    Quote Originally Posted by Cannibal666 View Post
    Cool little GT, it's a nice idea and i bet pretty fun. good job.
    Play it tomorrow. It's cool.

    0 Not allowed! Not allowed!


    PS4 Profile:

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

    great idea. there is alot that could be added and make this really good

    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

  9. #9
    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 man. Its good to see you coming up with all these ideas

    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

    Quote Originally Posted by TBW View Post
    Good job man. Its good to see you coming up with all these ideas
    Yea he always has good ideas

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