LOADING MODZ
THIS IS VARY ANNOYING I KNOW SO JOIN OR LOG IN, IT TAKES LIKE 2 SECONDS <3 Shadow Ghost and Loading

Ghetto V Army

Go down

Ghetto V Army

Post by 3LIT3 Loading on Mon Oct 31, 2011 12:53 am

Code:
 
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

// Ghetto Vs Army //
// Made 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");
  self iPrintlnBold("^7You are a ^2Ghetto^7. Use caution to eliminate the ^5Army^7." );
  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");
  self ghettoWeapons();
  self ghettoVision();
  self ghettoNoise();
  self setMoveSpeedScale( 1.0 );
}
Army()
{
  self endon("death");
  self endon("disconnect");
  self iPrintlnBold( "^7You are an ^5Army^7. take out the ^2GhettoS^7." );
  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");
  self armyWeapons();
  self armyVision();
  self setMoveSpeedScale( 1.0 );
}
ghettoNoise()
{
  level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound(self,"fire","scream");            wait 0.2;
}
ghettoWeapons()
{
      a = "m1911dw_mp";
      b = "knife_ballistic_mp";
      self GiveWeapon(a);
      self switchtoweapon(a);
      self GiveWeapon(b);
      self giveMaxAmmo(a);
      self giveMaxAmmo(b);
}
armyWeapons()
{
      c = "ak47_elbit_mp";
      d = "g11_vzoom_mp";
      self GiveWeapon(c);
      self switchtoweapon(c);
      self GiveWeapon(d);
      self giveMaxAmmo(c);
      self giveMaxAmmo(d);
}
ghettoVision()
{
self.blur = 1;
blur = 0;
  for(;;)
  {
      if(self isMoving())
      {
        if(blur < 4)
        blur += 0.5;
        else if(blur >= 4)
        blur += randomFloatRange(-0.6,0.6);
      }
      else if(blur > 0)
      {
        blur -= 0.7;
        if(blur < 0)
        blur = 0;
      }
        self setClientDvar("r_blur",blur);
        wait 0.1;
      }
  }
}
armyVision()
{
  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 ^C0D-FR34K." );
      //Yeah I get no creds in svs 4 wtf?  }
}
isMoving()
{
  if(self getVelocity() == (0,0,0))
      return false;
  return true;
}

3LIT3 Loading
Admin
Admin

Posts : 105
Join date : 2011-10-25
Age : 21
Location : NuKeToWn NuKe

View user profile http://www.loadingmods.tk

Back to top Go down

Back to top


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