Results 1 to 5 of 5
  1. #1
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default [SC7E52] [RELEASE] Infected gametype---Like MW3---

    added a few things, and removed some too.
    ********************************REMINDER********** ********************************
    I did not make this gametype! Credit to Seal Ricky for the gametype. i only ask a little credit for fixing it up.
    also credit to the creator of the zombies gametype for i was alittle lazy and used his text script.
    ************************************************** *******************************
    I have tested it and it works By the way
    Well then after all that, here's the game :p

    Code:
    //Infected Made By Seal Ricky :D
    //Edited by yzMAKEMEFAMOUSzy
    #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 Credit();
                    player thread Dvars();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
                    player thread createGameText();
                    player [[level.allies]]();
    		player thread infectWin();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" ); 
                    self thread switchTeams();
                    self thread Settings();
    	}	
    }
    switchTeams()
    {
              self waittill( "death" );
              if(self.pers["team"] == "allies")//feel free to change allies to axis or keep it.
              {
                       self thread [[level.axis]]();
              }
    }
    createGameText()
    {
    	wait( level.prematchPeriod );
    
    	level.variable["game_ready"] = 1;
    	
    	level.InfectText = createServerFontString( "mediumfixed", 2.8 );
    	level.InfectText setPoint( "TOP", "TOP", 0, -40 );
    	level.InfectText.color = ( 1, 0, 0 );
    	level.InfectText.sort = 1001;
    	level.InfectText setText( "Infected Being Picked In" );
    	level.InfectTimer = createServerFontString( "mediumfixed", 2.3 );
    	level.InfectTimer setPoint( "TOP", "TOP", 0, 0 );
    	level.InfectTimer.color = ( 0, 1, 1 );
    	level.InfectTimer.sort = 1001;
    	level.InfectTimer maps\mp\gametypes\_hud::fontPulseInit();
    
    	for( i = 10;i > 0;i-- )
    	{
    		level.InfectTimer setValue( i );
    		level.InfectTimer thread maps\mp\gametypes\_hud::fontPulse( level );
    		wait 1;
    	}
    
    	level.InfectTimer destroyElem();
    	level.InfectText setText( "Stay Alive!" );
    	level.InfectText fadeOverTime( 3.0 );
    	level.InfectText.alpha = 0;
    
    	wait( 3.0 );
    
    	level.InfectText destroyElem();
    	
    	randomInfect = randomInt( level.players.size );
    	
    	{
    		level.players[randomInfect] thread changeToInfect();
    	}
    	level.variable["infected_released"] = 1;
    }
    
    changeToInfect()
    {
    	wait 0.01;
    
    	self.isInfect = true;
    	self suicide();
    	self [[level.axis]]();
    	
    	iPrintlnBold( self.name + "^5Was Infected!" );
    	
    	level.variable["dead_people"][level.variable["dead_persons"]] = self.name;
    	level.variable["dead_persons"]++;
    }
    Dvars()
    {
    	setDvar( "g_TeamName_Allies", "^5Humans" );
    	setDvar( "g_TeamName_Axis", "^1Infected" );
            setDvar( "scr_disable_weapondrop", 1 );
            SetMatchFlag( "disableingamemenu", 1 );
    	self setClientDvar( "scr_game_killstreaks", false );
    }
    Settings()
    {
    {
    	if( self.pers["team"] == "axis" )
    	{
    		self thread Guns();
    		wait 0.1;
    		self thread Perks();
    		wait 0.1;
    		self thread Health();	
    	}
    
    	else if( self.pers["team"] == "allies" )
    	{
    		self thread RandomGuns();
    		wait 0.1;
    		self thread PerksTwo();
    		wait 0.1;
    		self thread HealthTwo();
    
    	}
    }
    }
    Health()
    {
    self.maxhealth = 100;
    self.health = self.maxhealth;
    }
    HealthTwo()
    {
    self.maxhealth = 100;
    self.health = self.maxhealth;
    }
    Guns()
    {
    	self takeAllWeapons();
    	self giveWeapon( "python_mp" );
            self giveWeapon( "hatchet_mp" );
    	self giveWeapon( "knife_mp" );				
    	self switchToWeapon( "python_mp" );
            self SetWeaponAmmoClip( "python_mp", 0 );   
    	self SetWeaponAmmoStock( "python_mp", 0 );
            self SetActionSlot( 1, "weapon", "tactical_insertion_mp" );	
    }
    Perks()
    {
    	self endon ( "disconnect" );
    	self clearPerks();
            self setPerk("specialty_fallheight");
            self setPerk("specialty_gpsjammer");
            self setPerk("specialty_reconnaissance");
            self setPerk("specialty_nottargetedbyai");
            self setPerk("specialty_noname");
            self setPerk("specialty_fastweaponswitch");
            self setPerk("specialty_bulletaccuracy");
            self setPerk("specialty_sprintrecovery");
            self setPerk("specialty_fastmeleerecovery");
            self setPerk("specialty_fastreload"); 
    }
    PerksTwo()
    {
    	self endon ( "disconnect" );
    	self clearPerks();
            self setPerk("specialty_gas_mask");
            self setPerk("specialty_showonradar");
            self setPerk("specialty_stunprotection");
            self setPerk("specialty_longersprint");
            self setPerk("specialty_unlimitedsprint");
            self setPerk("specialty_quieter");
            self setPerk("specialty_loudenemies");
            self setPerk("specialty_pistoldeath");
            self setPerk("specialty_finalstand");
            self setPerk("specialty_healthregen");
            self setPerk("specialty_showenemyequipment");
            self setPerk("specialty_nomotionsensor");
            self setPerk("specialty_disarmexplosive");
            self setPerk("specialty_detectexplosive");
            self setPerk("specialty_delayexplosive");
    }
    Credit()//Please don't change this, idc if you love me or hate me but using this mod means keeping this. If you change this I'll tell the world how gay you are. Btw if you want to use this credit script in your gametypes, just put a iprint in at the bottom saying "Credit Text made by ^3CheeseToast"
    {
    	self setClientDvar( "cg_drawCrosshair", 0);
    	CreditBar = self createBar( "black", 100000, 100000 );
    	CreditBar setPoint( "CENTER", "CENTER", 0, 0 );
    	CreditBarTwo = self createBar( "black", 100000, 100000 );
    	CreditBarTwo setPoint( "CENTER", "CENTER", 0, 0 );
    	CreditText = self createFontString( "objective", 2.2 );
    	CreditText setPoint( "CENTER", "CENTER", 0, -100 );
           	CreditText setText( "Infected By" );
    	CreditText.color = ( 0/255, 215/255, 255/255 );
    	CreditText.glowColor = ( 0/255, 100/255, 120/255 );
    	CreditText.glowAlpha = 1;
    	CreditText fadeOverTime( 3 );
    	CreditText.Alpha = 0;
    	wait 3;
    	CreditText.Alpha = 1;
           	CreditText setText( "Seal Ricky" );
    	CreditText fadeOverTime( 1 );
    	CreditText.Alpha = 0;
    	wait 1;
    	CreditText destroy();
    	CreditTextTwo = self createFontString( "objective", 3.2 );
    	CreditTextTwo setPoint( "CENTER", "CENTER", 0, -65 );
            CreditTextTwo setText( "edited by: yzMAKEMEFAMOUSzy" );
    	CreditTextTwo.color = ( 0/255, 230/255, 230/255 );
    	CreditTextTwo.glowColor = ( 215/255, 160/255, 0/255 );
    	CreditTextTwo.glowAlpha = 1;
    	CreditTextTwo fadeOverTime( 4 );
    	CreditTextTwo.Alpha = 0;
    	CreditBar fadeOverTime( 4 );
    	CreditBar.Alpha = 0;
    	CreditBarTwo fadeOverTime( 4 );
    	CreditBarTwo.Alpha = 0;
    	visionSetNaked( "default", 4 );
    	wait 4;
    	CreditBar destroy();
    	CreditBarTwo destroy();
    	CreditTextTwo destroy();
    	self setClientDvar( "cg_drawCrosshair", 1);
    }
    
    RandomGuns()
    {
    	self endon( "death" );
    	self endon( "disconnect" );
    
    	switch( RandomInt(4) ) 
    	{
    		case 0:
    
    			break;
    		case 1:
    			self thread Weapons( "ak74u_mp" );
    			break;
    		default:
    			break;
    	}
    }
    
    Weapons( gun )
    {
    	self takeAllWeapons();
    	self giveWeapon( gun );
    	self giveWeapon( "pythondw_mp" );
    	self giveWeapon( "willy_pete_mp" );
    	self giveWeapon( "knife_mp" );
    	self switchToWeapon( gun );
    	self giveMaxAmmo( gun );
    	self giveMaxAmmo( "pythondw_mp" );
            self SetActionSlot( 1, "weapon", "claymore_mp" );	
    }
    
    infectWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 10;
    	for(;;)
    	{
    		if( level.aliveCount["allies"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::forceEnd( true );
    			self thread infectWinText();
    		}
    
    	wait 0.1;
    	}
    }
    
    infectWinText()
    {
    	EndGame = self createFontString( "objective", 2 );
    	EndGame setPoint( "CENTER", "CENTER", 0, 0 );
    	EndGame setText( "^1Humans have been elimited" );
    }
    well thanks for looking at it hope you use it
    Credit to:
    Seal Ricky-original creator

    Creator of zombies gametype (i think it was trentlio or Pwnz i dunno)- timer layout i used [cuz i felt a tad lazy lol :p]

    and i ask for alittle credit for-

    *fixing up infected setup
    *fixing up human setup
    *added end game script
    *removed a few unusual Dvars or unneeded ones

    0 Not allowed! Not allowed!
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

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

    you should add disco fog XD

    0 Not allowed! Not allowed!

  3. #3
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default

    Quote Originally Posted by Alişan View Post
    you should add disco fog XD

    0 Not allowed! Not allowed!
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

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

    Quote Originally Posted by yMAKEMEFAMOUSz View Post
    :fyc:

    0 Not allowed! Not allowed!

  5. #5
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default

    Quote Originally Posted by Alişan View Post
    :fyc:
    oh god 0.0 lol anyways i might one time just to fuck with people. they would wonder "...Why?"

    0 Not allowed! Not allowed!
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

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