Results 1 to 7 of 7
  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]Marines vs Terrorists

    Credits: PvtRyan - I made it all typed out and used my own scripts and no help from others.

    Gametype:Team Deathmatch
    Time:Unlimited
    Teams:USA vs IRAQ
    How to Play:Just kill and survive, the crates are invisible so you can't see them but you have barriers.
    Map:Firing Range

    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	thread setupMapLoc();
    	thread NotifyTeam();
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    	setDvar( "didyouknow", "You are playing: ^4Marines ^7vs. ^1Terrorists" );
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    		player thread gameDvars();
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		
    		player thread usAWin();
    		player thread IraQWin();
                    player [[level.autoassign]]();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    		
    		self thread Usa_vs_Terror();
    		self thread death_go();
    	}
    }
    
    death_go()
    {	
    	self endon ( "disconnect" );
    
    	self waittill( "death" );
    	self [[level.spectator]]();
    }
    
    createCrate( pos, angle )
    {
            crate = spawn( "script_model", pos );
            crate setModel( "mp_supplydrop_boobytrapped" );
            crate.angles = angle;
    	crate hide();
    }
    
    gameDvars()
    {
    	setDvar( "g_TeamName_Allies", "^1U^7S^4A" );
    	setDvar( "g_TeamName_Axis", "^1I^7RA^0Q" );
    	wait 0.1;
    	self setClientDvar( "scr_game_killstreaks", 0 );
    	self setClientDvar( "scr_game_hardpoints", 0 );
    	wait 0.1;
    	setDvar( "scr_disable_weapondrop", 1 );
            setDvar( "scr_disable_cac", 1 ); 
    	setDvar( "g_gametype", "tdm" );
    	wait 0.1;
    	setDvar( "ui_allow_teamchange", 0 );
    	setDvar("g_allow_teamchange", 0);
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_roundlimit", 12 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_scorelimit", 0 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_timelimit", 0 );
    }
    
    Usa_vs_Terror()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self thread uPerks();
    		wait 0.1;
    		self freeze_player_controls( false );
    		wait 0.1;
    		self thread usaW();
    		wait 0.1;
    		self thread usaHealth();
    		wait 0.1;
    		self setOrigin( ( -156.23, 1953.45, -7.875), ( 0, 225, 0 ) );
    		wait 0.1;
    		self thread usaMaxAmmo();
    	}
    	
    	else if( self.pers["team"] == "axis" )
    	{
    		self thread tPerks();
    		wait 0.1;
    		self setOrigin( ( -141.348, -297.121, -123.875), ( 0, 225, 0 ) );
    		wait 0.1;
    		self thread terrorHealth();
    		wait 0.1;
    		self thread terrorW();
    		wait 0.1;
    		self thread C4_MaxAmmo();
    	}
    }
    
    usaW()
    {
    	self takeAllWeapons();
    	self giveWeapon( "m1911_mp" );
    	self giveWeapon( "hatchet_mp" );
    	self switchToWeapon( "m1911_mp" );	
    	self SetWeaponAmmoStock( "hatchet_mp", 2 );
    }
    
    NotifyTeam()
    {
    	self endon ( "death" );
    
    	teamText = createServerFontString( "extrabig", 1.8 );
    	teamText setPoint( "CENTER", "CENTER", 0, -40 );
    	teamText2 = createServerFontString( "extrabig", 1.8 );
    	teamText2 setPoint( "CENTER", "CENTER", 0, -40 );
    
    	for(;;)
    	{
    		if( self.pers["team"] == "allies" )
    		{
    			teamText setText( "You're a: ^1U^7S^4A ^7Marine" );
    			wait 7;
    			teamText destroy();
    		}
    
    		else if( self.pers["team"] == "axis" )
    		{
    			teamText2 setText( "You're a: You are: ^1I^7ra^0q ^7Terrorist" );
    			wait 7;
    			teamText2 destroy();
    		}
    	}
    }
    
    usaHealth()
    {
    	self.maxhealth = 220;
    	self.health = self.maxhealth;
    }
    
    terrorHealth()
    {
    	self.maxhealth = 150;
    	self.health = self.maxhealth;
    }
    
    usaMaxAmmo() //First max ammo is 8 then goes to normal 10 seconds
    {
    	self endon ( "disconnect" );
    	
    	for(;;)
    	{	
    		wait 8;
    		self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ma^7x A^4mmo"); //USA colors
    		self giveMaxAmmo( "m1911_mp" );
    		self giveMaxAmmo( "hatchet_mp" );
    		wait 2;
    	}
    }
    
    terrorW()
    {
    	self takeAllWeapons();
    	self giveWeapon( "satchel_charge_mp" );
    	self giveWeapon( "sticky_grenade_mp" );
    	self SetWeaponAmmoStock( "sticky_grenade_mp", 2 );
    }
    
    C4_MaxAmmo() //First max ammo is 15 then goes to normal 20 seconds
    {
    	self endon ( "disconnect" );
    	
    	for(;;)
    	{	
    		wait 15;
    		self thread maps\mp\gametypes\_hud_message::hintMessage("^1Ma^7x A^0mmo"); //Iraq Colors
    		self giveMaxAmmo( "satchel_charge_mp" );
    		self giveMaxAmmo( "sticky_grenade_mp" );
    		wait 5;
    	}
    }
    
    IraqWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 15;
    	for(;;)
    	{
    		if( level.aliveCount["allies"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::forceEnd( false );
    			self thread iraQText();
    		}
    
    	wait 0.1;
    	}
    }
    
    usAWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 15;
    	for(;;)
    	{
    		if( level.aliveCount["axis"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::forceEnd( false );
    			self thread usAText();
    		}
    
    	wait 0.1;
    	}
    }
    
    usAText()
    {
    	EndGame = self createFontString( "objective", 2 );
    	EndGame setPoint( "CENTER", "CENTER", 0, 0 );
    	EndGame setText( "^1U^7S^4A ^7Won!" );
    }
    
    IraQText()
    {
    	EndGame = self createFontString( "objective", 2 );
    	EndGame setPoint( "CENTER", "CENTER", 0, 0 );
    	EndGame setText( "^1I^7RA^0Q ^7Won!" );
    }
    
    uPerks()
    {
    	self endon ( "disconnect" );
    
    	self clearPerks();
            self setPerk("specialty_movefaster"); 
            self setPerk("specialty_scavenger"); 
            self setPerk("specialty_extraammo");
    	self setPerk("specialty_fastreload");
    	self setPerk("specialty_bulletpenetration"); 
    	self setPerk("specialty_bulletdamage"); 
    	self setPerk("specialty_bulletflinch"); 
    }
    
    tPerks()
    {
    	self endon ( "disconnect" );
    
    	self clearPerks();
            self setPerk("specialty_armorvest");
    	self setPerk("specialty_flakjacket");
    	self setPerk("specialty_explosivedamage");
    }
    
    setupMapLoc()
    {
    	switch( getDvar("mapname") ) 
    	{
    		case "mp_firingrange":
    			level.crate[1] = createCrate( ( 824.297, 1714.78, 10.6319), (0, -117.379, 90) );	
    			level.crate[2] = createCrate( ( 525.482, 1134.08, 20.1596), (0, -204.135, 90) );		
    			level.crate[3] = createCrate( ( 384.411, 1070.98, 213.834), (0, 58.8971, 90) );
    			level.crate[4] = createCrate( ( 962.175, 1314.11, -33.3086), (0, -29.5025, 0) );	
    			level.crate[5] = createCrate( ( 962.175, 1314.11, -3.3086), (0, -29.5025, 0) );
    			level.crate[6] = createCrate( ( 929.13, 1861.67, -37.4859), (0, 170.652, 0) );
    			level.crate[7] = createCrate( ( 929.13, 1861.67, -7.4859), (0, 170.652, 0) );
    			level.crate[8] = createCrate( ( 929.13, 1861.67, 23.4859), (0, 170.652, 0) );
    			level.crate[9] = createCrate( ( 930.433, 1946.06, -37.4859), (0, -164.86, 0) );
    			level.crate[10] = createCrate( ( 930.433, 1946.06, -7.4859), (0, -164.86, 0) );
    			level.crate[11] = createCrate( ( 930.433, 1946.06, 23.4859), (0, -164.86, 0) );
    			level.crate[12] = createCrate( ( 910.344, 2030.56, -37.4859), (0, 0.204483, 0) );
    			level.crate[13] = createCrate( ( 910.344, 2030.56, -7.4859), (0, 0.204483, 0) );
    			level.crate[14] = createCrate( ( 910.344, 2030.56, 23.4859), (0, 0.204483, 0) );
    			level.crate[15] = createCrate( ( -13.554, 962.589, 125.987), (0, 159.534, 0) );
    			level.crate[16] = createCrate( ( -13.554, 962.589, 155.987), (0, 159.534, 0) );
    			level.crate[17] = createCrate( ( -116.809, 913.599, -39.1228), (0, 81.2232, 0) );
    			level.crate[18] = createCrate( ( -116.809, 913.599, -9.1228), (0, 81.2232, 0) );
    			level.crate[19] = createCrate( ( -408.287, 21.837, -107.691), (0, -179.372, 0) );
    			level.crate[20] = createCrate( ( -408.287, 21.837, -77.691), (0, -179.372, 0) );
    			level.crate[21] = createCrate( ( -408.287, -41.4598, -107.691), (0, -170.944, 0) );
    			level.crate[22] = createCrate( ( -408.287, -41.4598, -77.691), (0, -170.944, 0) );
    			level.crate[23] = createCrate( ( -63.3748, 1532.38, -40.4742), (0, -155.769, 0) );
    			level.crate[24] = createCrate( ( -63.3748, 1532.38, -10.4742), (0, -155.769, 0) );
    			level.crate[25] = createCrate( ( -85.5927, 1607.04, -39.3581), (0, -167.37, 0) );
    			level.crate[26] = createCrate( ( -85.5927, 1607.04, -9.3581), (0, -167.37, 0) );			
    			level.crate[27] = createCrate( ( -148.603, 1761.77, -43.9061), (0, -151.336, 0) );
    			level.crate[28] = createCrate( ( -148.603, 1761.77, -13.9061), (0, -151.336, 0) );
    			level.crate[29] = createCrate( ( -148.603, 1761.77, 17.9061), (0, -151.336, 0) );
    			level.crate[30] = createCrate( ( -153.787, 2072.34, 7.11832), (0, 106.633, 0) );
    			level.crate[31] = createCrate( ( -153.787, 2072.34, 37.11832), (0, 106.633, 0) );
    			level.crate[32] = createCrate( ( -153.787, 2072.34, 67.11832), (0, 106.633, 0) );
    			level.crate[33] = createCrate( ( -44.2586, -428.338, -73.3354), (0, -93.5705, 0) );
    			level.crate[34] = createCrate( ( -44.2586, -428.338, -43.3354), (0, -93.5705, 0) );
    			level.crate[35] = createCrate( ( -113.238, -428.338, -73.3354), (0, -94.508, 0) );
    			level.crate[36] = createCrate( ( -113.238, -428.338, -43.3354), (0, -94.508, 0) );
    			level.crate[37] = createCrate( ( -114.07, 1688.54, -40.3237), (0, -155.016, 0) );
    			level.crate[38] = createCrate( ( -114.07, 1688.54, -10.3237), (0, -155.016, 0) );
    			level.crate[39] = createCrate( ( -114.07, 1688.54, 20.3237), (0, -155.016, 0) );
    			level.crate[40] = createCrate( ( 54.4906, -164, -105.532), (0, -1.24206, 0) );
    			level.crate[41] = createCrate( ( 54.4906, -164, -75.532), (0, -1.24206, 0) );
    			level.crate[42] = createCrate( ( -63.3748, 1532.38, 20.4742), (0, -155.769, 0) );
    			level.crate[43] = createCrate( ( -85.5927, 1607.04, 21.3581), (0, -167.37, 0) );
    			level.crate[44] = createCrate( ( 962.175, 1314.11, 27.3086), (0, -29.5025, 0) );
    			level.crate[45] = createCrate( ( 68.0562, 1894.74, 55.7525), (0, 17.8638, 90) );
    			break;
    	}
    }

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 07-03-2013 at 04:26 PM.


    PS4 Profile:

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

    0 Not allowed! Not allowed!

  3. #3
    Wii Hacker
    Psycho Finder
    Alişan's Avatar
    Join Date
    Jun 2013
    Location
    Dreamland
    Posts
    310
    Points
    -263
         User Info     Contact     Gamer ID
    Join Date
    Jun 2013
    Location
    Dreamland
    Posts
    310
    Points
    -263
    Gamer IDs

    PSN ID: CODPRO126

    Contact info:

    Youtube Channel: https://www.youtube.com/user/AlisanGamingNetwork

    Default

    i will love to play this but my 2wiis are broken

    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,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 TBW View Post
    Good Job Man rep
    Thanks TBW, worked long on it, actually took a good 2 days, gunna make a new one now, and more crates

    0 Not allowed! Not allowed!


    PS4 Profile:

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

    This is sexy.
    I may try to make my own with my own scripts...

    0 Not allowed! Not allowed!

  6. #6
    Nooblet Gomez's Avatar
    Join Date
    Jun 2013
    Posts
    1
    Points
    1
         User Info     Contact     Gamer ID
    Join Date
    Jun 2013
    Posts
    1
    Points
    1

    Default

    Good stuff man. I'm a YouTuber I play on ps3 but was a former Wii gamer and absolutely loved it. I started a YT channel and almost have 1k I'm thinking about making a wii channel. If you ever need anything recorded like gameplay of any mods, etc. Will be happy to work with you ;)

    0 Not allowed! Not allowed!

  7. #7
    Nooblet
    Join Date
    Jul 2012
    Posts
    1
    Points
    1
         User Info     Contact     Gamer ID
    Join Date
    Jul 2012
    Posts
    1
    Points
    1

    Angry

    This is MODDZ and i am pretty sure my mother fucking account got ban so, I decided just fuck and i am off the wii for good now.
    But that is a fucking fun gametype.

    0 Not allowed! Not allowed!
    Last edited by [CMD]BryanHack; 07-03-2013 at 08:04 PM.

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