Welcome to xCoDeZz

The Home of CSS, Wii, And PSP Codes

Please Login or Register now! thank you

Benefits of Registering?

You will get unlimited access to the forums, You will get to see the codes section when ever you want, and you get to chat with other members, We try our best, posting codes, quick and fast, so that you can enjoy your experience here @ xCoDeZz

Already a Member? Login Below




Forgot Your Password?
Log me on automatically each visit:

Not a member yet? Register!





[SC7E52] Army Vs Ghetto By eXtr3m3 and Russ Returntop


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

Skittles

Advanced Modder
Advanced Modder

Skittles
A Long Time Ago Russ Sent Me This Saying To Fix It For Him And eXtr3m3, I Forgot About It And Just Today I Went Through All Mine And Russ's Convo To See If I Could Find The Bunker Mod But I Found This Gametype. I Fixed It No Problem So Here It Is eXtr3m3 and Russ's Shotgun Vs Sniper Edit:
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


// Ghetto Vs Army
//
// Made BY eXtr3m3 idea by S&S Runts
//

init()
{
 thread onPlayerConnect();
 thread onPlayerConnected();

 level.prematchPeriod = 5;
 
 setDvar("scr_disable_cac", 1);
 setDvar("g_teamchange_keepbalance", 1);
 setDvar("scr_teambalance", 1);
 setDvar("g_allow_teamchange", 0);
 
 
 level.killstreaksenabled = 0;
 setDvar( "scr_game_killstreaks", 0 );
 setDvar( "scr_disable_weapondrop", 1 );
 self setClientDvar( "scr_game_forceuav", "0" );
}

onPlayerConnect()
{
 for(;;)
 {
  level waittill( "connecting", player );

  player thread onPlayerSpawned();
  player thread onJoinedSpectators();
 }
}

onPlayerConnected()
{
 for(;;)
 {
  level waittill( "connected", player );

  player thread credit();
  wait level.prematchPeriod;
  visionSetNaked( "mpIntro", 0 );
 }
}

onPlayerSpawned()
{
 for(;;)
 {
  self waittill( "spawned_player" );

  self clearPerks();

  if(self.pers["team"] == game["defenders"])
  {
  self thread Ghetto();
  }
  if(self.pers["team"] == game["attackers"])
  {
  self thread Army();
  }

  wait 10.1;
  visionSetNaked( "mpIntro", 0 );
 }
}

onJoinedSpectators()
{
 self endon( "disconnect" );
 
 for(;;)
 {
  self waittill( "joined_spectators" );
 }
}

Ghetto()
{
 self endon("death");
 self endon("disconnect");
 
 // = INSTRUCTIONS =
 self iPrintlnBold("^7You are a ^2Ghetto^7. Use caution to eliminate the ^5Army^7." );
 
 // = PERKS =
        self setPerk("specialty_bulletpenetration");
 self setPerk("specialty_bulletdamage"); 
        self setPerk("specialty_bulletflinch"); 
        self setPerk("specialty_shellshock");
 self setPerk("specialty_unlimitedsprint");
 self setPerk("specialty_movefaster"); 
        self setPerk("specialty_fallheight");
 
 // = WEAPONS =
 self Weapons("Ghetto");

 // = VISION =
 self Vision("Ghetto");

 // speed
 self setMoveSpeedScale( 1.0 );
 
}

Army()
{
 self endon("death");
 self endon("disconnect");

 // = INSTRUCTIONS =
 self iPrintlnBold( "^7You are an ^5Army^7. take out the ^2Ghetto's^7." );
 
 // = PERKS =
 self setPerk("specialty_flakjacket");
        self setPerk("specialty_explosivedamage"); 
        self setPerk("specialty_grenadepulldeath"); 
        self setPerk("specialty_fireproof");
 self setPerk("specialty_bulletaccuracy"); 
        self setPerk("specialty_sprintrecovery"); 
        self setPerk("specialty_fastmeleerecovery");
 self setPerk("specialty_showenemyequipment"); 
        self setPerk("specialty_nomotionsensor"); 
        self setPerk("specialty_disarmexplosive"); 
        self setPerk("specialty_detectexplosive"); 
        self setPerk("specialty_delayexplosive");
 
 // = WEAPONS =
 self Weapons("Army");
 
 // = VISION =
 self Vision("Army");

 // speed
 self setMoveSpeedScale( 1.0 );

}

// Give the teams their weapons.
Weapons(team)
{
 self takeAllWeapons();
 
 if(team == "Ghetto")
 {
  a = "m1911dw_mp";
  b = "knife_ballistic_mp";
  self GiveWeapon(a);
  self switchtoweapon(a);
  self GiveWeapon(b);
  self giveMaxAmmo(a);
  self giveMaxAmmo(b);
 }
 
 if(team == "Army")
 {
  c = "ak47_elbit_mp";
  d = "g11_vzoom_mp";
  self GiveWeapon(c);
  self switchtoweapon(c);
  self GiveWeapon(d);
  self giveMaxAmmo(c);
  self giveMaxAmmo(d);
 }
}

// Give the teams their visions.
Vision(team)
{
 if(team == "Ghetto")
 {
 self setClientDvar("r_specularcolorscale", 0);
    self setClientDvar("r_enablePlayerShadow", 0 );
    self setClientDvar("r_fog", 0 );
    self setClientDvar("r_flashLightShadows", 0 );
    self setClientDvar("r_specular", "1" );
  self setClientDvar("r_contrast", "1" );
  self setClientDvar("r_dlightLimit", 0);
  self setClientDvar("r_desaturation", 0);
  self setClientDvar("r_zfeather", 0);
    self setClientDvar("r_smc_enable", 0);
    self setClientDvar("r_distortion", 0);
    self setClientDvar("sm_enable", 0);
    self setClientDvar("cg_brass", 0 );
    self setClientDvar("r_lighttweaksunlight", "1.57" );
    self setClientDvar("r_dlightLimit", "0" );
    self setClientDvar("snaps", 30 );
  self setClientDvar("r_filmusetweaks", "1" );
    self setClientdvar("r_brightness", "0" );
    self setClientDvar("r_dlightLimit", "0" );
    self setClientDvar("r_heroLighting ", "0" );
 }
 
 if(team == "Army")
 {
 self setClientDvar("r_specularcolorscale", 0);
    self setClientDvar("r_enablePlayerShadow", 0 );
    self setClientDvar("r_fog", 0 );
    self setClientDvar("r_flashLightShadows", 0 );
    self setClientDvar("r_specular", "1" );
  self setClientDvar("r_contrast", "1" );
  self setClientDvar("r_dlightLimit", 0);
  self setClientDvar("r_desaturation", 0);
  self setClientDvar("r_zfeather", 0);
    self setClientDvar("r_smc_enable", 0);
    self setClientDvar("r_distortion", 0);
    self setClientDvar("sm_enable", 0);
    self setClientDvar("cg_brass", 0 );
    self setClientDvar("r_lighttweaksunlight", "1.57" );
    self setClientDvar("r_dlightLimit", "0" );
    self setClientDvar("snaps", 30 );
  self setClientDvar("r_filmusetweaks", "1" );
    self setClientdvar("r_brightness", "0" );
    self setClientDvar("r_dlightLimit", "0" );
    self setClientDvar("r_heroLighting ", "0" );
 }
}

credit()
{
 self endon("disconnect");

 for(;;)
 {
  wait 30;
  self iPrintln( "You are playing ^2Army ^1vs ^3Ghettos^7, modded by and idea ^5S&S Runts ^7And ^2eXtr3m3." ); //Yeah I get no creds in svs 4 wtf?
 }
}

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum