Results 1 to 5 of 5
  1. #1
    Active Member Wes's Avatar
    Join Date
    Aug 2011
    Location
    Missouri
    Posts
    685
    Points
    1,116
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Missouri
    Posts
    685
    Points
    1,116
    Gamer IDs

    PSN ID: xWesleyCL

    Contact info:

    Youtube Channel: http://www.youtube.com/TechyL33T Kik Username: JayyGreen69

    Default MvT->Marines VS Terrorists Created by Erin (me)

    V0.31 Of My Gametype.
    Code:
    // Marines .VS. Snipers v0.31 edited By Erin
    // Please Visit http://www.Codeleakers.com
    // Thanks!
    
    #include common_scripts\utility;
    #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 playerVariables();
    
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		player thread playerVariables();
                    player thread lifeHUD();
    
     
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    		self thread doSettings();
    		self thread doVars();
    	}
    }
    
    playerVariables()
    {
    	self setClientDvar( "g_maxDroppedWeapons", 0 );
    	self setClientDvar( "scr_game_killstreaks", 0 );
    	self setClientDvar( "scr_game_forceuav", 0 );
    	self setClientDvar( "sv_cheats", 0 );
    }
    
    doVars()
    {
    	setDvar( "scr_disable_weapondrop", 1 );
    	level.allow_teamchange = 0;
            self [[level.autoassign]]();
            setDvar( "scr_teambalance", 1 );
            setDvar( "scr_disable_cac", 1 );
    }
    
    doSettings()
    {
    	self endon ( "disconnect" );
    	if( self.pers["team"] == "axis" )//Terrorists
    	{
    		self thread giveTerroristsWeapons(); 
    		self thread TerroristsPerks();
    		self thread VVision(); 
    
                    self iPrintlnBold( "^3Kill the Marines" );
    		self iPrintlnBold( "^2Teamwork is key." );
                    self iPrintlnBold( "^3Kick Their Asses" );
          
    		self thread ThirdPerson();
    		self thread uavblock();
    	}
    	else if( self.pers["team"] == "allies" )//Marines
    	{
                    self thread giveMarinesWeapons();
    		self thread SVision(); 
    		self thread MarinesPerks();
    
    		self iPrintlnBold( "^2Teamwork is key." );
                    self iPrintlnBold( "^3Kill The Terrorists" );
            
    
    	}
    }
    
    
    giveTerroristsWeapons()
    {
    	Primary = "rpg_mp";
    	Secondary = "m72_law_mp";
    
      	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( Primary );;
            self giveMaxAmmo( Primary );
    	self switchToWeapon( Primary );
    }
    
    giveMarinesWeapons()
    {
            Primary = "m16_silenced_mp";  
    	Secondary = "cz75_silenced_mp";
    
    	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( Primary );
    	self giveWeapon( Secondary );
    }
    
    ThirdPerson()
    {
    self endon("disconnect");
    self setClientDvar("cg_thirdperson", 1);
    i = 1;
    
    	te = self createFontString( "objective", 1.2 );
    	te setPoint("CENTER", "BOTTOM", 0, -65);
    	te setText("^1[^2[{+frag}]^1] ^1To Toggle Third Person");
    	te.sort = 10;
    	
    	for(;;)
    	{
    		while(!self FragButtonPressed())
    			wait 0.01;
    		if(i)
    			i--;
    		else
    			i++;
    		self setClientDvar("cg_thirdperson", i);
    		wait 0.30;
    	}
    }
    
    lifeHUD()
    {    
    	self.healthBar = self createBar( ( 1, 1, 1 ), 150, 13 );
    	self.healthBar setPoint( "CENTER", "BOTTOM", 150, -4 );
    	self.healthText = self createFontString( "objective", 1.5 );
    	self.healthText setPoint( "CENTER", "BOTTOM", 150, -20 );
    	self.healthText setText( "^1Health" );
    	for(;;)
    	{
    		self.healthBar updateBar( self.health / self.maxhealth );
    		wait 0.001;
        }
    }
    
    uavblock()
    {
            self setClientDvar("scr_game_forceuav" , "0" );
            self setClientDvar("g_compassShowEnemies" , "0" );
            self setClientDvar("compassRadarUpdateTime" , "9999" );
            self setClientDvar("compassEnemyFootstepEnabled" , "0" );
            self setClientDvar("compass" , "0" );
            self setClientDvar( "compassSize", 1 );
    }
    
    TerroristsPerks()
    {
     
                    self setPerk("specialty_nottargetedbyai");    
                    self setPerk("specialty_fallheight");
                    self setPerk("specialty_movefaster"); 
                    self setPerk("specialty_sprintrecovery");  
                    self setPerk("specialty_fastmeleerecovery");
                    self setPerk("specialty_unlimitedsprint");  
    
    
    		self setMoveSpeedScale( 1.5 );
    }
    
    MarinesPerks()
    {
     
        
                    self setPerk("specialty_fallheight");
    		self setPerk("specialty_extraammo");
    		self setPerk("specialty_explosivedamage"); 
    		self setPerk("specialty_fastweaponswitch");
    		self setPerk("specialty_fastreload");
    		self setPerk("specialty_loudenemies");
    
    
    		self setMoveSpeedScale( 1.0 );
    }
    
    SVision()
    {
    	setExpFog( 2, 285, 0/255, 0/255, 0/255, 10 );
    	self setClientDvar( "r_filmTweakInvert", "0" );
    	self setClientDvar( "r_filmUseTweaks", "0" );
    	self setClientDvar( "r_filmTweakEnable", "0" );
    	self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    	self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	self setClientDvar( "r_filmTweakHue", "0 0 0" );
    
    }
    
    VVision()
    {
    	setExpFog( 2, 285, 225/255, 225/255, 225/255, 10 );
    	self setClientDvar( "r_filmTweakInvert", "0" );
    	self setClientDvar( "r_filmUseTweaks", "1" );
    	self setClientDvar( "r_filmTweakEnable", "1" );
    	self setClientDvar( "r_filmTweakLightTint", "0 0 0" );
    	self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	self setClientDvar( "r_filmTweakHue", "0 0 0" );
    
    }
    Credits:

    $TRiiK3R - for the base of the mod which i edited

    0 Not allowed! Not allowed!
    Last edited by Strike; 10-26-2011 at 09:25 AM. Reason: gave proper credits

  2. #2
    Bot Bot's Avatar
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720

    Default

    Any credits to add?

    0 Not allowed! Not allowed!








  3. #3
    Jungler Strike's Avatar
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
    Gamer IDs

    PSN ID: xSTR11K3Rx Steam ID: xSTRiiK3Rx

    Contact info:

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

    Default

    moved to edits section. please in future dont edit my mods in this case (vampire slayer) and take credit for it all. i dont mind people editing it as long as i get credit

    0 Not allowed! Not allowed!

    ^Ty goober^
    Quote Originally Posted by xX_BiGFooTT_Xx View Post
    compensate my cock faggot

  4. #4
    Xat Scamming Shitstick
    1338
    sLoddir's Avatar
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    1,167
    Points
    1,214
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    1,167
    Points
    1,214

    Contact info:

    Youtube Channel: SLODDIR

    Default

    God this kid changes names of teams, and takes 99% credit, wut a fag tbh.

    0 Not allowed! Not allowed!


    CLARKS WALLABEE'S MOTHERFUCKER

  5. #5
    Jungler Strike's Avatar
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
    Gamer IDs

    PSN ID: xSTR11K3Rx Steam ID: xSTRiiK3Rx

    Contact info:

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

    Default

    He took 100% credit before I fixed it

    0 Not allowed! Not allowed!

    ^Ty goober^
    Quote Originally Posted by xX_BiGFooTT_Xx View Post
    compensate my cock faggot

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