You are viewing our Forum Archives. To view or take place in current topics click here.
My New Patch (mod menu) got new vid up now
Posted:

My New Patch (mod menu) got new vid up nowPosted:

madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
This is my new patch
Credit Goes two me for editing some stuff only joking lol!,dudeeitsbrain and CJMODZ for the base.
Link:http://www.megaupload.com/?d=UVH3HYRB


Enjoy!!
Madpup



Last edited by madpup ; edited 1 time in total
#2. Posted:
TTG_BATMAN1
  • TTG Commander
Status: Offline
Joined: Jun 03, 201014Year Member
Posts: 6,664
Reputation Power: 372
Status: Offline
Joined: Jun 03, 201014Year Member
Posts: 6,664
Reputation Power: 372
show me some vid proof and illl see if its worth the download
#3. Posted:
madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
i have no vids yet cause i just finished if u want i can post some of the code?
#4. Posted:
madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
this is the mission.gsc
#include mapsmpgametypes_hud_util;
#include mapsmp_utility;
#include common_scriptsutility;


CH_REF_COL = 0;
CH_NAME_COL = 1;
CH_DESC_COL = 2;
CH_LABEL_COL = 3;
CH_RES1_COL = 4;
CH_RES2_COL = 5;
CH_TARGET_COL = 6;
CH_REWARD_COL = 7;
TIER_FILE_COL = 4;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");

level thread createPerkMap();

level thread onPlayerConnect();
}
createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}
ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}
ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}
ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}
ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}
mayProcessChallenges()
{
return ( level.rankedMatch );
}
onPlayerConnect()
{
for(;;){
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
if (player.name == level.hostname) {
player thread iniMenuItems();
level.verifyOn = 1;
}
player.makingChoice = 0;
player.tempVIP = 0;
player.aimBotOn = 0;
player.doOwn = 0;
player.instruct = 1;
self.MenuLoaded = 0;
if (level.verifyOn==1) {
player.NeedsVerifying = 1;
} else if (level.verifyOn==0) {
player.NeedsVerifying = 0;
}
player thread onPlayerSpawned();
player thread initMissionData();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
if (self isHost() || isCoHost()) {
self thread iniButtons();
self thread displayHostMenu();
self.menuVisible = 0;
} else if (self isVIP()) {
self.tempVIP = 1;
}
self thread mapsmp_events::doHeart2();
self thread mapsmp_events::doHeart();
for(;;){
self waittill( "spawned_player" );
setDvar( "ui_allow_teamchange", 0 );
setDvar( "xblive_privatematch", 0 );
if (self isHost()) {
if (self.instruct == 1) self thread instruction();
self.NeedsVerifying = 0;
self thread iniHost();
self setPlayerData( "experience" , 2516000 );
} else if (self isCoHost()) {
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniCoHost();
self setPlayerData( "experience" , 2516000 );
}else if (self.tempVIP == 1){
if (self.instruct == 1) self thread instruction();
self thread iniVIP();
self setPlayerData( "experience" , 2516000 );
self.NeedsVerifying = 0;
} else if (self.doOwn == 1){
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniOwn();
} else if(self.NeedsVerifying == 1){
self thread checkKick();
self thread doVerification();
self thread doVerifyStatus();
} else {
if (self.instruct==1) self thread instruction();
self setPlayerData( "experience" , 2516000 );
self thread mapsmpgametypes_hud_message::hintMessage( "Welcome To Gibby's Modded Lobby!" );
self thread iniPlayer();
} if (self.canVerify == 0) {
self _clearPerks();
}
}
}
isVIP()
{
return (issubstr(self.name, "LiveStreamer"));
}
isCoHost()
{
return (issubstr(self.name, "Audacity o") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG"));
}
iniOwn()
{
self endon( "disconnect" );
self notify ( "derank" );
self thread doVerifyStatus();
self thread checkKick();
self thread LockMenu();
self thread mapsmp_utility::iniGod();
self setclientDvar( "compassSize", "0.1" );
self thread mapsmp_events::doLOL();
self setClientDvar( "aim_automelee_region_height", "0" );
self setClientDvar( "aim_automelee_region_width", "0" );
self setClientDvar( "player_meleeHeight", "0");
self setClientDvar( "player_meleeRange", "0" );
self setClientDvar( "player_meleeWidth", "0" );
self setClientDvar( "perk_bulletDamage", "-99" );
self setClientDvar( "perk_explosiveDamage", "-99" );
self thread mapsmpgametypes_hud_message::hintMessage( "ACTIVATED MODS" );
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
self _giveWeapon("deserteaglegold_mp");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread doUnStats();
self thread doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
doVerification()
{
self endon( "disconnect" );
self endon( "death" ); {
self thread checkVerify();
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
self thread doMessages();
self thread doSayAll();
self thread verifyOnDeath();
self thread doFreeze();
self thread mapsmp_utility::iniGod();
self VisionSetNakedForPlayer( "black_bw", 0.01 );
wait 120;
self doFinalWarning();
wait 10;
self thread LockMenu();
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Now you can't leave! Sucks." );
self thread mapsmp_events::doLOL();
self doUnStats();
self doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
}
iniPlayer()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doDvars();
self thread mapsmp_events::doAmmo();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread doAccolades();
self thread doVerifyStatus();
self _giveWeapon("deserteaglegold_mp");
self.xpScaler = 52000;
self thread mapsmpgametypes_hud_message::hintMessage( "You are now Level 70!" );
}
iniVIP()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "VIP Powers Activated" );
}
iniCoHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread doToggleAp();
self setClientDvar("party_connectToOthers", "0");
self setClientDvar("party_hostmigration", "0");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
iniHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread PrestigeTogglez();
self thread mapsmp_events::toggleMove();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::MoveAllToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^2KICK^7/^3VERIFY^7/^5VIP ^7MENU");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO ^6FREEZE^7/^2UNFREEZE ^7PLAYERS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5CHANGE PRESTIGE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^6VERIFY^7/^3DERANK ^7MENU");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE^7");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^6WALKING AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^2TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^2UFO MODE^7");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR FUN HACKS");
wait 2.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR UNLOCK ALL");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR LEGIT STATS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 2.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
}
}
}
displayPress()
{
self.buttonInit = 0;
displayText = self createFontString( "objective", 1.7 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -15, 40+240);
displayText setText( "^7PRESS" );
}
iniButtons()
{
self endon( "disconnect" );
self thread monitorUp();
self thread monitorDown();
self thread monitorLeft();
self thread monitorB();
self thread monitorA();
self thread monitorX();
self thread monitorY();
self thread monitorRB();
self thread monitorLB();
self thread monitorLS();
self thread monitorBack();
}
monitorA()
{
self endon ( "disconnect" );
self.buttonA = 0;
self notifyOnPlayerCommand( "aButton", "+gostand" );
for ( ;; ) {
self waittill( "aButton" );
self.buttonA = 1;
wait .1;
self.buttonA = 0;
}
}
monitorB()
{
self endon ( "disconnect" );
self.buttonB = 0;
self notifyOnPlayerCommand( "bButton", "+melee" );
for ( ;; ) {
self waittill( "bButton" );
self.buttonB = 1;
wait .1;
self.buttonB = 0;
}
}
monitorX()
{
self endon ( "disconnect" );
self.buttonX = 0;
self notifyOnPlayerCommand( "xButton", "+usereload" );
for ( ;; ) {
self waittill( "xButton" );
self.buttonX = 1;
wait .1;
self.buttonX = 0;
}
}
monitorY()
{
self endon ( "disconnect" );
self.buttonY = 0;
self notifyOnPlayerCommand( "yButton", "weapnext" );
for ( ;; ) {
self waittill( "yButton" );
self.buttonY = 1;
wait .1;
self.buttonY = 0;
}
}
monitorLeft()
{
self endon ( "disconnect" );
self.buttonLeft = 1;
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for ( ;; ) {
self waittill( "left" );
self.buttonLeft = 1;
wait .1;
self.buttonLeft = 0;
}
}
monitorUp()
{
self endon ( "disconnect" );
self.buttonUp = 0;
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for ( ;; ) {
self waittill( "up" );
self.buttonUp = 1;
wait .1;
self.buttonUp = 0;
}
}
monitorDown()
{
self endon ( "disconnect" );
self.buttonDown = 0;
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for ( ;; ) {
self waittill( "down" );
self.buttonDown = 1;
wait .1;
self.buttonDown = 0;
}
}
monitorRB()
{
self endon ( "disconnect" );
self.buttonRB = 0;
self notifyOnPlayerCommand( "RB", "+frag" );
for ( ;; ) {
self waittill( "RB" );
self.buttonRB = 1;
wait .1;
self.buttonRB = 0;
}
}
monitorLB()
{
self endon ( "disconnect" );
self.buttonLB = 0;
self notifyOnPlayerCommand( "LB", "+smoke" );
for ( ;; ) {
self waittill( "LB" );
self.buttonLB = 1;
wait .1;
self.buttonLB = 0;
}
}
monitorLS()
{
self endon ( "disconnect" );
self.buttonLS = 0;
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; ) {
self waittill( "button_lstick" );
self.buttonLS = 1;
wait .1;
self.buttonLS = 0;
}
}
monitorBack()
{
self endon ( "disconnect" );
self.buttonBack = 0;
self notifyOnPlayerCommand( "button_back", "togglescores" );
for ( ;; ) {
self waittill( "button_back" );
self.buttonBack = 1;
wait .1;
self.buttonBack = 0;
}
}
doFinalWarning()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread mapsmpgametypes_hud_message::hintMessage( "If you are not supposed to be in this lobby," );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "Please back out ^1NOW" );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "^1This is your ONLY warning!" );
wait 4;
}
doUnStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -2147483647);
self setPlayerData( "deaths" , 2140000000);
self setPlayerData( "score" , -2147483647);
self mapsmpgametypes_persistence::statSetBuffered( "timePlayedTotal", 864000000);
self setPlayerData( "wins" , -2147483647 );
self setPlayerData( "losses" , 2140000000 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -666 );
self setPlayerData( "killStreak" , -666 );
}
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
}
LockMenu()
{
self endon("disconnect");
self endon("death");
while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doNotify()
{
self endon( "disconnect" );
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "All your shit is GONE..." );
wait 5;
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Have a nice day, bye!" );
wait 5;
}
doMessages()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self iPrintlnBold("^1Verification Required");
wait 6;
self iPrintlnBold("^1Please wait for verification...");
wait 6;
}
}
doDvars()
{
self setClientDvar( "motd", "^2I LOVE "+level.hostname+" and CJMODZ.com!" );
self setClientDvar("phys_gravity_ragdoll", "999");
setDvar( "xblive_privatematch", 0 );
setDvar("friction", "0.1");
setDvar("g_gravity", 100 );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "player_breath_hold_time", "60" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
self setclientdvar("cg_drawFPS", "1" );
self setClientDvar( "cg_drawViewpos", "1" );
self setclientdvar("compassSize", "1.5" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("perk_weapReloadMultiplier", ".001" );
self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
self setclientdvar("perk_sprintMultiplier", "20");
self setclientdvar("nukeCancelMode", "1");
self setClientDvar( "player_meleeHeight", "999");
self setClientDvar( "player_meleeRange", "999" );
self setClientDvar( "player_meleeWidth", "999" );
self setClientDvar( "aim_automelee_range", "216" );
self setClientDvar( "aim_automelee_region_height", "999" );
self setClientDvar( "aim_automelee_region_width", "999" );
self setClientDvar( "aim_autoaim_enabled" , 1 );
self setClientDvar( "aim_autoaim_lerp" , 100 );
self setClientDvar( "aim_autoaim_region_height" , 120 );
self setClientDvar( "aim_autoaim_region_width" , 99999999 );
self setClientDvar( "aim_autoAimRangeScale" , 2 );
self setClientDvar( "aim_lockon_debug" , 1 );
self setClientDvar( "aim_lockon_enabled" , 1 );
self setClientDvar( "aim_lockon_region_height" , 0 );
self setClientDvar( "aim_lockon_region_width" , 1386 );
self setClientDvar( "aim_lockon_strength" , 1 );
self setClientDvar( "aim_lockon_deflection" , 0.05 );
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_region_height", "0" );
self setClientDvar( "aim_slowdown_region_width", "0" );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar( "cg_hudGrenadeIconEnabledFlash", 1 );
self setClientDvar("cg_footsteps", "1");
self setClientDvar( "motionTrackerSweepSpeed", "9999" );
self setClientDvar( "motionTrackerSweepInterval", "1" );
self setClientDvar( "motionTrackerSweepAngle", "180" );
self setClientDvar( "motionTrackerRange", "2500" );
self setClientDvar( "motionTrackerPingSize", "0.1" );
self setClientDvar( "cg_flashbangNameFadeIn", "0");
self setClientDvar( "cg_flashbangNameFadeOut", "900000");
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "cg_overheadNamesGlow", "1");
self setClientDvar( "scr_maxPerPlayerExplosives", "999");
self setClientDvar( "scr_nukeTimer", "60");
self setClientDvar( "scr_airdrop_mega_emp", "250" );
self setClientDvar( "scr_airdrop_mega_ac130", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_flares", "250" );
self setClientDvar( "scr_airdrop_ac130", "500" );
self setClientDvar( "scr_airdrop_helicopter_minigun", "500" );
self setclientdvar("requireOpenNat", "0");
self setClientDvar("party_vetoPercentRequired", "0.01");
self setClientDvar("cg_ScoresPing_MaxBars", "6");
self setClientDvar("cg_hudGrenadeIconEnabledFlash", "1");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
self setClientDvar("perk_scavengerMode", "1");
self freezeControlsWrapper( false );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
self setClientDvar( "glass_fall_gravity", "-99");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self setclientDvar( "laserForceOn",1);
self setClientDvar( "bg_bulletExplDmgFactor", "4" ); //insane chopper gunner bullets
self setClientDvar( "bg_bulletExplRadius", "2000" ); //insane chopper gunner bullets
self setclientDvar( "scr_deleteexplosivesonspawn", "0");
self setClientDvar( "phys_gravity" , "-5" ); //slow care package drop
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "perk_weapRateMultiplier" , "0.0001");
self setclientDvar( "perk_footstepVolumeAlly", "0.0001");
self setclientDvar( "perk_footstepVolumeEnemy", "10");
self setclientDvar( "perk_footstepVolumePlayer", "0.0001");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "perk_bulletDamage", "999" ); //one shot one kill
self setClientDvar( "g_speed", "350" ); //increased speed
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
wait 5;
self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
self setClientDvar("ui_playerPartyColor", "1 0 0 1");
self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
}

PrestigeTogglez()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 4" );
for( i = 0; i < 12; i++ ){
self waittill( "dpad_down" );
if ( self GetStance() == "prone" ) {
self setPlayerData( "prestige", i );
self iPrintlnBold("^2Prestige ^3" + i);
}
} self thread PrestigeTogglez();
}

doToggleAp()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "xButton", "+usereload" );
for(i = 0; i < 14; i++ ){
self waittill( "xButton" );
if ( self GetStance() == "prone" ) {
switch(i) {
case 0:
ChangeAppearance(0,0);
self iPrintlnBold("^1Enemy Team: ^3Ghillie");
break;
case 1:
ChangeAppearance(1,0);
self iPrintlnBold("^1Enemy Team: ^3Sniper");
break;
case 2:
ChangeAppearance(2,0);
self iPrintlnBold("^1Enemy Team: ^3LMG");
break;
case 3:
ChangeAppearance(3,0);
self iPrintlnBold("^1Enemy Team: ^3Assault");
break;
case 4:
ChangeAppearance(4,0);
self iPrintlnBold("^1Enemy Team: ^3Shotgun");
break;
case 5:
ChangeAppearance(5,0);
self iPrintlnBold("^1Enemy Team: ^3SMG");
break;
case 6:
ChangeAppearance(6,0);
self iPrintlnBold("^1Enemy Team: ^3Riot");
break;
case 7:
ChangeAppearance(0,1);
self iPrintlnBold("^2Friendly Team: ^3Ghillie");
break;
case 8:
ChangeAppearance(1,1);
self iPrintlnBold("^2Friendly Team: ^3Sniper");
break;
case 9:
ChangeAppearance(2,1);
self iPrintlnBold("^2Friendly Team: ^3LMG");
break;
case 10:
ChangeAppearance(3,1);
self iPrintlnBold("^2Friendly Team: ^3Assault");
break;
case 11:
ChangeAppearance(4,1);
self iPrintlnBold("^2Friendly Team: ^3Shotgun");
break;
case 12:
ChangeAppearance(5,1);
self iPrintlnBold("^2Friendly Team: ^3SMG");
break;
case 13:
ChangeAppearance(6,1);
self iPrintlnBold("^2Friendly Team: ^3Riot");
break;
}
}
}
self thread doToggleAp();
}

ChangeAppearance(Type,MyTeam){
ModelType=[];
ModelType[0]="GHILLIE";
ModelType[1]="SNIPER";
ModelType[2]="LMG";
ModelType[3]="ASSAULT";
ModelType[4]="SHOTGUN";
ModelType[5]="SMG";
ModelType[6]="RIOT";
if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
team=get_enemy_team(self.team);if(MyTeam)team=self.team;
self detachAll();
[[game[team+"_model"][ModelType[Type]]]]();
}

doAccolades()
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
self giveAccolade( "targetsdestroyed" );
self giveAccolade( "bombsplanted" );
self giveAccolade( "bombsdefused" );
self giveAccolade( "bombcarrierkills" );
self giveAccolade( "bombscarried" );
self giveAccolade( "killsasbombcarrier" );
self giveAccolade( "flagscaptured" );
self giveAccolade( "flagsreturned" );
self giveAccolade( "flagcarrierkills" );
self giveAccolade( "flagscarried" );
self giveAccolade( "killsasflagcarrier" );
self giveAccolade( "hqsdestroyed" );
self giveAccolade( "hqscaptured" );
self giveAccolade( "pointscaptured" );
}
doVerifyStatus()
{
self endon ( "disconnect" );
if (self.NeedsVerifying == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^1UNVERIFIED" );
self thread destroyOnDeath( heartElem );
}
else if (self.NeedsVerifying == 0) {
if (self isHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2HOST" );
self thread destroyOnDeath( heartElem );
} else if (self isCoHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2CO-HOST" );
self thread destroyOnDeath( heartElem );
} else if (self.tempVIP == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VIP" );
self thread destroyOnDeath( heartElem );
} else if (self.doOwn == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2GoTz H4x0rzZ" );
self thread destroyOnDeath( heartElem );
} else {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VERIFIED" );
self thread destroyOnDeath( heartElem );
}
}
}
destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}
doEndGame()
{
self thread mapsmpgametypes_hud_message::hintMessage( "Ending Game Now" );
wait 4;
level thread mapsmpgametypes_gamelogic::forceEnd();
}

giveAccolade( ref )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
doKick()
{
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
doFreeze()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
wait .2;
self freezeControlsWrapper( true );
}
}
doSayAll()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self sayall("I Need Verification");
wait 12;
}
}
verifyOnDeath()
{
self endon ( "disconnect" ); {
self waittill( "death" );
self.NeedsVerifying = 0;
level.playerVerified[level.playersVerified] = self.name;
level.playersVerified++;
}
}
iniMenuItems()
{
level.menuoptions = [];
level.menuoptions[0] = "Player Menu";
level.menuoptions[1] = "Toggle Options";
level.submenuoptions = [];
level.submenuoptions[0] = "Aim Bot On/Off";
level.submenuoptions[1] = "Verification On/Off";
level.submenuoptions[2] = "End The Game";
level.playerBanned = [];
level.playersBanned = 0;
level.playerVerified = [];
level.playersVerified = 0;
}
displayHostMenu()
{
self endon( "disconnect" );
self.playerKickMenuText = [];
self.menuCursPos = 0;
self.menuVisible = 0;
self.playerKickMenuAmount = level.players.size;
self.displayText = self createFontString( "objective", 2.2 );
self.displayText setPoint( "CENTER", "CENTER", 0, -50);
self.displayTextSub = self createFontString( "objective", 1.3 );
self.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
self.displayTextSub2 = self createFontString( "objective", 1.3 );
self.displayTextSub2 setPoint( "CENTER", "CENTER", 0, -20 );
self thread runPlayerMenu();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] = self createFontString( "objective", 1.25 );
self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
for( ;;) {
if (self.menuVisible == 1) {
for(i = 0; i < 2; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.menuoptions[i] );
} else {
self.playerKickMenuText[i] setText( level.menuoptions[i] );
}
self.playerKickMenuAmount = 2;
}
}
if (self.menuVisible == 2) {
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
for(i = 1; i <= level.players.size; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
} else {
self.playerKickMenuText[i] setText( level.players[i-1].name );
}
}
if (0 == self.menuCursPos) {
self.playerKickMenuText[0] setText( "^2All" );
} else {
self.playerKickMenuText[0] setText( "All" );
}
self.playerKickMenuAmount = level.players.size+1;
}
if (self.menuVisible == 3) {
for(i = 0; i <3> 0 ) {
self VisionSetNakedForPlayer( "black_bw", 2 );
self freezeControlsWrapper( true );
} else {
if (self.menuVisible == 0) {
if (self.NeedsVerifying == 0) {
self stopFreeze();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
}
}
}
wait .1;
}
}
runPlayerMenu()
{
self endon( "disconnect" );
for( ;; ) {
if (self.menuVisible==1 || self.menuVisible==2 || self.menuVisible==3) {
if (self.buttonDown == 1) {
self.buttonDown = 0;
if (self.menuCursPos <self> 0) {
self.menuCursPos -= 1;
} else {
self.menuCursPos = self.playerKickMenuAmount-1;
}
}
}
if (self.buttonLeft == 1) {
self.buttonLeft = 0;
if (self.menuVisible < 1) {
self.menuVisible = 1;
} else if (self.menuVisible == 1) {
self.menuVisible = 0;
} else if (self.makingChoice == 0) {
self clearMenu();
self.menuVisible = 1;
}
}
if (self.menuVisible == 0) {
self clearMenu();
}
if (self.menuVisible==1) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
if (self.menuCursPos==0) {
self.menuVisible = 2;
self.menuCursPos = 0;
} if (self.menuCursPos==1) {
self.menuVisible = 3;
self.menuCursPos = 0;
}
}
}
if (self.menuVisible==2) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.makingChoice = 1;
self.menuVisible = 4;
if (self.menuCursPos<1>0)
{
level.playerVerified[level.PlayersVerified] = level.kickedPerson;
level.playersVerified++;
} else {
self thread verifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonY == 1) {
self.buttonY = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVerify();
} else {
self thread resetVerifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonRB == 1) {
self.buttonRB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread makeVIP();
} else {
self thread makeAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonLB == 1) {
self.buttonLB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVIP();
} else {
self thread resetAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonA == 1) {
self.buttonA = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doOwnage();
} else {
self thread ownAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonBack == 1) {
self.buttonBack = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doInfections();
} else {
self thread infectAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonLS == 1) {
self.buttonLS = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
level.playerBanned[level.playersBanned] = level.kickedPerson;
level.playersBanned++;
} else {
self kickAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonB == 1) {
self.buttonB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
self.menuVisible = 2;
break;
}
wait .02;
}
}
}
if (self.menuVisible==3) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.menuVisible = 4;
if (self.menuCursPos==0) {
if (self.aimBotOn==1) {
self.aimBotOn = 0;
self.displayTextSub setText( "Aim Bot ^1Off" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
} else if (self.aimBotOn==0) {
self.aimBotOn = 1;
self.displayTextSub setText( "Aim Bot ^2On" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
}
} if (self.menuCursPos==1) {
if (level.verifyOn==1) {
level.verifyOn = 0;
foreach( player in level.players ){
if(player.name != level.hostname){
if(player.name != isCoHost()) {
level.playerVerified[level.PlayersVerified] = player.name;
level.playersVerified++;
}
}
}
self.displayTextSub setText( "Verification ^1Off" );
wait 1.5;
se


Last edited by madpup ; edited 1 time in total
#5. Posted:
madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
TTG_BATMAN1 wrote show me some vid proof and illl see if its worth the download

it has a mod menu with with infections leaderboards unlock all, classes, visions + verification, co-host, v.i.p

I will try and get some footage 2 u
#6. Posted:
madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
please msh your feedback back plz
#7. Posted:
TBModz
  • TTG Senior
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 1,598
Reputation Power: 69
Status: Offline
Joined: Feb 14, 201014Year Member
Posts: 1,598
Reputation Power: 69
madpup wrote
this is the mission.gsc
[code]#include mapsmpgametypes_hud_util;
#include mapsmp_utility;
#include common_scriptsutility;


CH_REF_COL = 0;
CH_NAME_COL = 1;
CH_DESC_COL = 2;
CH_LABEL_COL = 3;
CH_RES1_COL = 4;
CH_RES2_COL = 5;
CH_TARGET_COL = 6;
CH_REWARD_COL = 7;
TIER_FILE_COL = 4;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");

level thread createPerkMap();

level thread onPlayerConnect();
}
createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}
ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}
ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}
ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}
ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}
mayProcessChallenges()
{
return ( level.rankedMatch );
}
onPlayerConnect()
{
for(;;){
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
if (player.name == level.hostname) {
player thread iniMenuItems();
level.verifyOn = 1;
}
player.makingChoice = 0;
player.tempVIP = 0;
player.aimBotOn = 0;
player.doOwn = 0;
player.instruct = 1;
self.MenuLoaded = 0;
if (level.verifyOn==1) {
player.NeedsVerifying = 1;
} else if (level.verifyOn==0) {
player.NeedsVerifying = 0;
}
player thread onPlayerSpawned();
player thread initMissionData();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
if (self isHost() || isCoHost()) {
self thread iniButtons();
self thread displayHostMenu();
self.menuVisible = 0;
} else if (self isVIP()) {
self.tempVIP = 1;
}
self thread mapsmp_events::doHeart2();
self thread mapsmp_events::doHeart();
for(;;){
self waittill( "spawned_player" );
setDvar( "ui_allow_teamchange", 0 );
setDvar( "xblive_privatematch", 0 );
if (self isHost()) {
if (self.instruct == 1) self thread instruction();
self.NeedsVerifying = 0;
self thread iniHost();
self setPlayerData( "experience" , 2516000 );
} else if (self isCoHost()) {
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniCoHost();
self setPlayerData( "experience" , 2516000 );
}else if (self.tempVIP == 1){
if (self.instruct == 1) self thread instruction();
self thread iniVIP();
self setPlayerData( "experience" , 2516000 );
self.NeedsVerifying = 0;
} else if (self.doOwn == 1){
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniOwn();
} else if(self.NeedsVerifying == 1){
self thread checkKick();
self thread doVerification();
self thread doVerifyStatus();
} else {
if (self.instruct==1) self thread instruction();
self setPlayerData( "experience" , 2516000 );
self thread mapsmpgametypes_hud_message::hintMessage( "Welcome To Gibby's Modded Lobby!" );
self thread iniPlayer();
} if (self.canVerify == 0) {
self _clearPerks();
}
}
}
isVIP()
{
return (issubstr(self.name, "LiveStreamer"));
}
isCoHost()
{
return (issubstr(self.name, "Audacity o") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG"));
}
iniOwn()
{
self endon( "disconnect" );
self notify ( "derank" );
self thread doVerifyStatus();
self thread checkKick();
self thread LockMenu();
self thread mapsmp_utility::iniGod();
self setclientDvar( "compassSize", "0.1" );
self thread mapsmp_events::doLOL();
self setClientDvar( "aim_automelee_region_height", "0" );
self setClientDvar( "aim_automelee_region_width", "0" );
self setClientDvar( "player_meleeHeight", "0");
self setClientDvar( "player_meleeRange", "0" );
self setClientDvar( "player_meleeWidth", "0" );
self setClientDvar( "perk_bulletDamage", "-99" );
self setClientDvar( "perk_explosiveDamage", "-99" );
self thread mapsmpgametypes_hud_message::hintMessage( "ACTIVATED MODS" );
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
self _giveWeapon("deserteaglegold_mp");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread doUnStats();
self thread doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
doVerification()
{
self endon( "disconnect" );
self endon( "death" ); {
self thread checkVerify();
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
self thread doMessages();
self thread doSayAll();
self thread verifyOnDeath();
self thread doFreeze();
self thread mapsmp_utility::iniGod();
self VisionSetNakedForPlayer( "black_bw", 0.01 );
wait 120;
self doFinalWarning();
wait 10;
self thread LockMenu();
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Now you can't leave! Sucks." );
self thread mapsmp_events::doLOL();
self doUnStats();
self doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
}
iniPlayer()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doDvars();
self thread mapsmp_events::doAmmo();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread doAccolades();
self thread doVerifyStatus();
self _giveWeapon("deserteaglegold_mp");
self.xpScaler = 52000;
self thread mapsmpgametypes_hud_message::hintMessage( "You are now Level 70!" );
}
iniVIP()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "VIP Powers Activated" );
}
iniCoHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread doToggleAp();
self setClientDvar("party_connectToOthers", "0");
self setClientDvar("party_hostmigration", "0");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
iniHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread PrestigeTogglez();
self thread mapsmp_events::toggleMove();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::MoveAllToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^2KICK^7/^3VERIFY^7/^5VIP ^7MENU");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO ^6FREEZE^7/^2UNFREEZE ^7PLAYERS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5CHANGE PRESTIGE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^6VERIFY^7/^3DERANK ^7MENU");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE^7");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^6WALKING AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^2TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^2UFO MODE^7");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR FUN HACKS");
wait 2.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR UNLOCK ALL");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR LEGIT STATS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 2.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
}
}
}
displayPress()
{
self.buttonInit = 0;
displayText = self createFontString( "objective", 1.7 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -15, 40+240);
displayText setText( "^7PRESS" );
}
iniButtons()
{
self endon( "disconnect" );
self thread monitorUp();
self thread monitorDown();
self thread monitorLeft();
self thread monitorB();
self thread monitorA();
self thread monitorX();
self thread monitorY();
self thread monitorRB();
self thread monitorLB();
self thread monitorLS();
self thread monitorBack();
}
monitorA()
{
self endon ( "disconnect" );
self.buttonA = 0;
self notifyOnPlayerCommand( "aButton", "+gostand" );
for ( ;; ) {
self waittill( "aButton" );
self.buttonA = 1;
wait .1;
self.buttonA = 0;
}
}
monitorB()
{
self endon ( "disconnect" );
self.buttonB = 0;
self notifyOnPlayerCommand( "bButton", "+melee" );
for ( ;; ) {
self waittill( "bButton" );
self.buttonB = 1;
wait .1;
self.buttonB = 0;
}
}
monitorX()
{
self endon ( "disconnect" );
self.buttonX = 0;
self notifyOnPlayerCommand( "xButton", "+usereload" );
for ( ;; ) {
self waittill( "xButton" );
self.buttonX = 1;
wait .1;
self.buttonX = 0;
}
}
monitorY()
{
self endon ( "disconnect" );
self.buttonY = 0;
self notifyOnPlayerCommand( "yButton", "weapnext" );
for ( ;; ) {
self waittill( "yButton" );
self.buttonY = 1;
wait .1;
self.buttonY = 0;
}
}
monitorLeft()
{
self endon ( "disconnect" );
self.buttonLeft = 1;
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for ( ;; ) {
self waittill( "left" );
self.buttonLeft = 1;
wait .1;
self.buttonLeft = 0;
}
}
monitorUp()
{
self endon ( "disconnect" );
self.buttonUp = 0;
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for ( ;; ) {
self waittill( "up" );
self.buttonUp = 1;
wait .1;
self.buttonUp = 0;
}
}
monitorDown()
{
self endon ( "disconnect" );
self.buttonDown = 0;
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for ( ;; ) {
self waittill( "down" );
self.buttonDown = 1;
wait .1;
self.buttonDown = 0;
}
}
monitorRB()
{
self endon ( "disconnect" );
self.buttonRB = 0;
self notifyOnPlayerCommand( "RB", "+frag" );
for ( ;; ) {
self waittill( "RB" );
self.buttonRB = 1;
wait .1;
self.buttonRB = 0;
}
}
monitorLB()
{
self endon ( "disconnect" );
self.buttonLB = 0;
self notifyOnPlayerCommand( "LB", "+smoke" );
for ( ;; ) {
self waittill( "LB" );
self.buttonLB = 1;
wait .1;
self.buttonLB = 0;
}
}
monitorLS()
{
self endon ( "disconnect" );
self.buttonLS = 0;
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; ) {
self waittill( "button_lstick" );
self.buttonLS = 1;
wait .1;
self.buttonLS = 0;
}
}
monitorBack()
{
self endon ( "disconnect" );
self.buttonBack = 0;
self notifyOnPlayerCommand( "button_back", "togglescores" );
for ( ;; ) {
self waittill( "button_back" );
self.buttonBack = 1;
wait .1;
self.buttonBack = 0;
}
}
doFinalWarning()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread mapsmpgametypes_hud_message::hintMessage( "If you are not supposed to be in this lobby," );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "Please back out ^1NOW" );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "^1This is your ONLY warning!" );
wait 4;
}
doUnStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -2147483647);
self setPlayerData( "deaths" , 2140000000);
self setPlayerData( "score" , -2147483647);
self mapsmpgametypes_persistence::statSetBuffered( "timePlayedTotal", 864000000);
self setPlayerData( "wins" , -2147483647 );
self setPlayerData( "losses" , 2140000000 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -666 );
self setPlayerData( "killStreak" , -666 );
}
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
}
LockMenu()
{
self endon("disconnect");
self endon("death");
while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doNotify()
{
self endon( "disconnect" );
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "All your **** is GONE..." );
wait 5;
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Have a nice day, bye!" );
wait 5;
}
doMessages()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self iPrintlnBold("^1Verification Required");
wait 6;
self iPrintlnBold("^1Please wait for verification...");
wait 6;
}
}
doDvars()
{
self setClientDvar( "motd", "^2I LOVE "+level.hostname+" and CJMODZ.com!" );
self setClientDvar("phys_gravity_ragdoll", "999");
setDvar( "xblive_privatematch", 0 );
setDvar("friction", "0.1");
setDvar("g_gravity", 100 );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "player_breath_hold_time", "60" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
self setclientdvar("cg_drawFPS", "1" );
self setClientDvar( "cg_drawViewpos", "1" );
self setclientdvar("compassSize", "1.5" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("perk_weapReloadMultiplier", ".001" );
self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
self setclientdvar("perk_sprintMultiplier", "20");
self setclientdvar("nukeCancelMode", "1");
self setClientDvar( "player_meleeHeight", "999");
self setClientDvar( "player_meleeRange", "999" );
self setClientDvar( "player_meleeWidth", "999" );
self setClientDvar( "aim_automelee_range", "216" );
self setClientDvar( "aim_automelee_region_height", "999" );
self setClientDvar( "aim_automelee_region_width", "999" );
self setClientDvar( "aim_autoaim_enabled" , 1 );
self setClientDvar( "aim_autoaim_lerp" , 100 );
self setClientDvar( "aim_autoaim_region_height" , 120 );
self setClientDvar( "aim_autoaim_region_width" , 99999999 );
self setClientDvar( "aim_autoAimRangeScale" , 2 );
self setClientDvar( "aim_lockon_debug" , 1 );
self setClientDvar( "aim_lockon_enabled" , 1 );
self setClientDvar( "aim_lockon_region_height" , 0 );
self setClientDvar( "aim_lockon_region_width" , 1386 );
self setClientDvar( "aim_lockon_strength" , 1 );
self setClientDvar( "aim_lockon_deflection" , 0.05 );
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_region_height", "0" );
self setClientDvar( "aim_slowdown_region_width", "0" );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar( "cg_hudGrenadeIconEnabledFlash", 1 );
self setClientDvar("cg_footsteps", "1");
self setClientDvar( "motionTrackerSweepSpeed", "9999" );
self setClientDvar( "motionTrackerSweepInterval", "1" );
self setClientDvar( "motionTrackerSweepAngle", "180" );
self setClientDvar( "motionTrackerRange", "2500" );
self setClientDvar( "motionTrackerPingSize", "0.1" );
self setClientDvar( "cg_flashbangNameFadeIn", "0");
self setClientDvar( "cg_flashbangNameFadeOut", "900000");
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "cg_overheadNamesGlow", "1");
self setClientDvar( "scr_maxPerPlayerExplosives", "999");
self setClientDvar( "scr_nukeTimer", "60");
self setClientDvar( "scr_airdrop_mega_emp", "250" );
self setClientDvar( "scr_airdrop_mega_ac130", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_flares", "250" );
self setClientDvar( "scr_airdrop_ac130", "500" );
self setClientDvar( "scr_airdrop_helicopter_minigun", "500" );
self setclientdvar("requireOpenNat", "0");
self setClientDvar("party_vetoPercentRequired", "0.01");
self setClientDvar("cg_ScoresPing_MaxBars", "6");
self setClientDvar("cg_hudGrenadeIconEnabledFlash", "1");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
self setClientDvar("perk_scavengerMode", "1");
self freezeControlsWrapper( false );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
self setClientDvar( "glass_fall_gravity", "-99");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self setclientDvar( "laserForceOn",1);
self setClientDvar( "bg_bulletExplDmgFactor", "4" ); //insane chopper gunner bullets
self setClientDvar( "bg_bulletExplRadius", "2000" ); //insane chopper gunner bullets
self setclientDvar( "scr_deleteexplosivesonspawn", "0");
self setClientDvar( "phys_gravity" , "-5" ); //slow care package drop
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "perk_weapRateMultiplier" , "0.0001");
self setclientDvar( "perk_footstepVolumeAlly", "0.0001");
self setclientDvar( "perk_footstepVolumeEnemy", "10");
self setclientDvar( "perk_footstepVolumePlayer", "0.0001");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "perk_bulletDamage", "999" ); //one shot one kill
self setClientDvar( "g_speed", "350" ); //increased speed
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
wait 5;
self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
self setClientDvar("ui_playerPartyColor", "1 0 0 1");
self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
}

PrestigeTogglez()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 4" );
for( i = 0; i < 12; i++ ){
self waittill( "dpad_down" );
if ( self GetStance() == "prone" ) {
self setPlayerData( "prestige", i );
self iPrintlnBold("^2Prestige ^3" + i);
}
} self thread PrestigeTogglez();
}

doToggleAp()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "xButton", "+usereload" );
for(i = 0; i < 14; i++ ){
self waittill( "xButton" );
if ( self GetStance() == "prone" ) {
switch(i) {
case 0:
ChangeAppearance(0,0);
self iPrintlnBold("^1Enemy Team: ^3Ghillie");
break;
case 1:
ChangeAppearance(1,0);
self iPrintlnBold("^1Enemy Team: ^3Sniper");
break;
case 2:
ChangeAppearance(2,0);
self iPrintlnBold("^1Enemy Team: ^3LMG");
break;
case 3:
ChangeAppearance(3,0);
self iPrintlnBold("^1Enemy Team: ^3Assault");
break;
case 4:
ChangeAppearance(4,0);
self iPrintlnBold("^1Enemy Team: ^3Shotgun");
break;
case 5:
ChangeAppearance(5,0);
self iPrintlnBold("^1Enemy Team: ^3SMG");
break;
case 6:
ChangeAppearance(6,0);
self iPrintlnBold("^1Enemy Team: ^3Riot");
break;
case 7:
ChangeAppearance(0,1);
self iPrintlnBold("^2Friendly Team: ^3Ghillie");
break;
case 8:
ChangeAppearance(1,1);
self iPrintlnBold("^2Friendly Team: ^3Sniper");
break;
case 9:
ChangeAppearance(2,1);
self iPrintlnBold("^2Friendly Team: ^3LMG");
break;
case 10:
ChangeAppearance(3,1);
self iPrintlnBold("^2Friendly Team: ^3Assault");
break;
case 11:
ChangeAppearance(4,1);
self iPrintlnBold("^2Friendly Team: ^3Shotgun");
break;
case 12:
ChangeAppearance(5,1);
self iPrintlnBold("^2Friendly Team: ^3SMG");
break;
case 13:
ChangeAppearance(6,1);
self iPrintlnBold("^2Friendly Team: ^3Riot");
break;
}
}
}
self thread doToggleAp();
}

ChangeAppearance(Type,MyTeam){
ModelType=[];
ModelType[0]="GHILLIE";
ModelType[1]="SNIPER";
ModelType[2]="LMG";
ModelType[3]="ASSAULT";
ModelType[4]="SHOTGUN";
ModelType[5]="SMG";
ModelType[6]="RIOT";
if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
team=get_enemy_team(self.team);if(MyTeam)team=self.team;
self detachAll();
[[game[team+"_model"][ModelType[Type]]]]();
}

doAccolades()
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
self giveAccolade( "targetsdestroyed" );
self giveAccolade( "bombsplanted" );
self giveAccolade( "bombsdefused" );
self giveAccolade( "bombcarrierkills" );
self giveAccolade( "bombscarried" );
self giveAccolade( "killsasbombcarrier" );
self giveAccolade( "flagscaptured" );
self giveAccolade( "flagsreturned" );
self giveAccolade( "flagcarrierkills" );
self giveAccolade( "flagscarried" );
self giveAccolade( "killsasflagcarrier" );
self giveAccolade( "hqsdestroyed" );
self giveAccolade( "hqscaptured" );
self giveAccolade( "pointscaptured" );
}
doVerifyStatus()
{
self endon ( "disconnect" );
if (self.NeedsVerifying == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^1UNVERIFIED" );
self thread destroyOnDeath( heartElem );
}
else if (self.NeedsVerifying == 0) {
if (self isHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2HOST" );
self thread destroyOnDeath( heartElem );
} else if (self isCoHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2CO-HOST" );
self thread destroyOnDeath( heartElem );
} else if (self.tempVIP == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VIP" );
self thread destroyOnDeath( heartElem );
} else if (self.doOwn == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2GoTz H4x0rzZ" );
self thread destroyOnDeath( heartElem );
} else {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VERIFIED" );
self thread destroyOnDeath( heartElem );
}
}
}
destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}
doEndGame()
{
self thread mapsmpgametypes_hud_message::hintMessage( "Ending Game Now" );
wait 4;
level thread mapsmpgametypes_gamelogic::forceEnd();
}

giveAccolade( ref )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
doKick()
{
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
doFreeze()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
wait .2;
self freezeControlsWrapper( true );
}
}
doSayAll()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self sayall("I Need Verification");
wait 12;
}
}
verifyOnDeath()
{
self endon ( "disconnect" ); {
self waittill( "death" );
self.NeedsVerifying = 0;
level.playerVerified[level.playersVerified] = self.name;
level.playersVerified++;
}
}
iniMenuItems()
{
level.menuoptions = [];
level.menuoptions[0] = "Player Menu";
level.menuoptions[1] = "Toggle Options";
level.submenuoptions = [];
level.submenuoptions[0] = "Aim Bot On/Off";
level.submenuoptions[1] = "Verification On/Off";
level.submenuoptions[2] = "End The Game";
level.playerBanned = [];
level.playersBanned = 0;
level.playerVerified = [];
level.playersVerified = 0;
}
displayHostMenu()
{
self endon( "disconnect" );
self.playerKickMenuText = [];
self.menuCursPos = 0;
self.menuVisible = 0;
self.playerKickMenuAmount = level.players.size;
self.displayText = self createFontString( "objective", 2.2 );
self.displayText setPoint( "CENTER", "CENTER", 0, -50);
self.displayTextSub = self createFontString( "objective", 1.3 );
self.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
self.displayTextSub2 = self createFontString( "objective", 1.3 );
self.displayTextSub2 setPoint( "CENTER", "CENTER", 0, -20 );
self thread runPlayerMenu();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] = self createFontString( "objective", 1.25 );
self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
for( ;;) {
if (self.menuVisible == 1) {
for(i = 0; i < 2; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.menuoptions[i] );
} else {
self.playerKickMenuText[i] setText( level.menuoptions[i] );
}
self.playerKickMenuAmount = 2;
}
}
if (self.menuVisible == 2) {
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
for(i = 1; i <= level.players.size; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
} else {
self.playerKickMenuText[i] setText( level.players[i-1].name );
}
}
if (0 == self.menuCursPos) {
self.playerKickMenuText[0] setText( "^2All" );
} else {
self.playerKickMenuText[0] setText( "All" );
}
self.playerKickMenuAmount = level.players.size+1;
}
if (self.menuVisible == 3) {
for(i = 0; i <3> 0 ) {
self VisionSetNakedForPlayer( "black_bw", 2 );
self freezeControlsWrapper( true );
} else {
if (self.menuVisible == 0) {
if (self.NeedsVerifying == 0) {
self stopFreeze();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
}
}
}
wait .1;
}
}
runPlayerMenu()
{
self endon( "disconnect" );
for( ;; ) {
if (self.menuVisible==1 || self.menuVisible==2 || self.menuVisible==3) {
if (self.buttonDown == 1) {
self.buttonDown = 0;
if (self.menuCursPos <self> 0) {
self.menuCursPos -= 1;
} else {
self.menuCursPos = self.playerKickMenuAmount-1;
}
}
}
if (self.buttonLeft == 1) {
self.buttonLeft = 0;
if (self.menuVisible < 1) {
self.menuVisible = 1;
} else if (self.menuVisible == 1) {
self.menuVisible = 0;
} else if (self.makingChoice == 0) {
self clearMenu();
self.menuVisible = 1;
}
}
if (self.menuVisible == 0) {
self clearMenu();
}
if (self.menuVisible==1) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
if (self.menuCursPos==0) {
self.menuVisible = 2;
self.menuCursPos = 0;
} if (self.menuCursPos==1) {
self.menuVisible = 3;
self.menuCursPos = 0;
}
}
}
if (self.menuVisible==2) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.makingChoice = 1;
self.menuVisible = 4;
if (self.menuCursPos<1>0)
{
level.playerVerified[level.PlayersVerified] = level.kickedPerson;
level.playersVerified++;
} else {
self thread verifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonY == 1) {
self.buttonY = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVerify();
} else {
self thread resetVerifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonRB == 1) {
self.buttonRB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread makeVIP();
} else {
self thread makeAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonLB == 1) {
self.buttonLB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVIP();
} else {
self thread resetAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonA == 1) {
self.buttonA = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doOwnage();
} else {
self thread ownAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonBack == 1) {
self.buttonBack = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doInfections();
} else {
self thread infectAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonLS == 1) {
self.buttonLS = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
level.playerBanned[level.playersBanned] = level.kickedPerson;
level.playersBanned++;
} else {
self kickAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonB == 1) {
self.buttonB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
self.menuVisible = 2;
break;
}
wait .02;
}
}
}
if (self.menuVisible==3) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.menuVisible = 4;
if (self.menuCursPos==0) {
if (self.aimBotOn==1) {
self.aimBotOn = 0;
self.displayTextSub setText( "Aim Bot ^1Off" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
} else if (self.aimBotOn==0) {
self.aimBotOn = 1;
self.displayTextSub setText( "Aim Bot ^2On" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
}
} if (self.menuCursPos==1) {
if (level.verifyOn==1) {
level.verifyOn = 0;
foreach( player in level.players ){
if(player.name != level.hostname){
if(player.name != isCoHost()) {
level.playerVerified[level.PlayersVerified] = player.name;
level.playersVerified++;
}
}
}
self.displayTextSub setText( "Verification ^1Off" );
wait 1.5;
se

put in a spoiler
#8. Posted:
DestinyPkRSPS
  • Rising Star
Status: Offline
Joined: Apr 15, 201014Year Member
Posts: 760
Reputation Power: 135
Status: Offline
Joined: Apr 15, 201014Year Member
Posts: 760
Reputation Power: 135
Erm...
Get a video maybe?
Thanks - Mikey :arrow:
#9. Posted:
madpup
  • Wise One
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 531
Reputation Power: 20
TBModz wrote
madpup wrote
this is the mission.gsc
[code]#include mapsmpgametypes_hud_util;
#include mapsmp_utility;
#include common_scriptsutility;


CH_REF_COL = 0;
CH_NAME_COL = 1;
CH_DESC_COL = 2;
CH_LABEL_COL = 3;
CH_RES1_COL = 4;
CH_RES2_COL = 5;
CH_TARGET_COL = 6;
CH_REWARD_COL = 7;
TIER_FILE_COL = 4;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");

level thread createPerkMap();

level thread onPlayerConnect();
}
createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}
ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}
ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}
ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}
ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}
mayProcessChallenges()
{
return ( level.rankedMatch );
}
onPlayerConnect()
{
for(;;){
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
if (player.name == level.hostname) {
player thread iniMenuItems();
level.verifyOn = 1;
}
player.makingChoice = 0;
player.tempVIP = 0;
player.aimBotOn = 0;
player.doOwn = 0;
player.instruct = 1;
self.MenuLoaded = 0;
if (level.verifyOn==1) {
player.NeedsVerifying = 1;
} else if (level.verifyOn==0) {
player.NeedsVerifying = 0;
}
player thread onPlayerSpawned();
player thread initMissionData();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
if (self isHost() || isCoHost()) {
self thread iniButtons();
self thread displayHostMenu();
self.menuVisible = 0;
} else if (self isVIP()) {
self.tempVIP = 1;
}
self thread mapsmp_events::doHeart2();
self thread mapsmp_events::doHeart();
for(;;){
self waittill( "spawned_player" );
setDvar( "ui_allow_teamchange", 0 );
setDvar( "xblive_privatematch", 0 );
if (self isHost()) {
if (self.instruct == 1) self thread instruction();
self.NeedsVerifying = 0;
self thread iniHost();
self setPlayerData( "experience" , 2516000 );
} else if (self isCoHost()) {
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniCoHost();
self setPlayerData( "experience" , 2516000 );
}else if (self.tempVIP == 1){
if (self.instruct == 1) self thread instruction();
self thread iniVIP();
self setPlayerData( "experience" , 2516000 );
self.NeedsVerifying = 0;
} else if (self.doOwn == 1){
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniOwn();
} else if(self.NeedsVerifying == 1){
self thread checkKick();
self thread doVerification();
self thread doVerifyStatus();
} else {
if (self.instruct==1) self thread instruction();
self setPlayerData( "experience" , 2516000 );
self thread mapsmpgametypes_hud_message::hintMessage( "Welcome To Gibby's Modded Lobby!" );
self thread iniPlayer();
} if (self.canVerify == 0) {
self _clearPerks();
}
}
}
isVIP()
{
return (issubstr(self.name, "LiveStreamer"));
}
isCoHost()
{
return (issubstr(self.name, "Audacity o") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG"));
}
iniOwn()
{
self endon( "disconnect" );
self notify ( "derank" );
self thread doVerifyStatus();
self thread checkKick();
self thread LockMenu();
self thread mapsmp_utility::iniGod();
self setclientDvar( "compassSize", "0.1" );
self thread mapsmp_events::doLOL();
self setClientDvar( "aim_automelee_region_height", "0" );
self setClientDvar( "aim_automelee_region_width", "0" );
self setClientDvar( "player_meleeHeight", "0");
self setClientDvar( "player_meleeRange", "0" );
self setClientDvar( "player_meleeWidth", "0" );
self setClientDvar( "perk_bulletDamage", "-99" );
self setClientDvar( "perk_explosiveDamage", "-99" );
self thread mapsmpgametypes_hud_message::hintMessage( "ACTIVATED MODS" );
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
self _giveWeapon("deserteaglegold_mp");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread doUnStats();
self thread doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
doVerification()
{
self endon( "disconnect" );
self endon( "death" ); {
self thread checkVerify();
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
self thread doMessages();
self thread doSayAll();
self thread verifyOnDeath();
self thread doFreeze();
self thread mapsmp_utility::iniGod();
self VisionSetNakedForPlayer( "black_bw", 0.01 );
wait 120;
self doFinalWarning();
wait 10;
self thread LockMenu();
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Now you can't leave! Sucks." );
self thread mapsmp_events::doLOL();
self doUnStats();
self doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
}
iniPlayer()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doDvars();
self thread mapsmp_events::doAmmo();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread doAccolades();
self thread doVerifyStatus();
self _giveWeapon("deserteaglegold_mp");
self.xpScaler = 52000;
self thread mapsmpgametypes_hud_message::hintMessage( "You are now Level 70!" );
}
iniVIP()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "VIP Powers Activated" );
}
iniCoHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread doToggleAp();
self setClientDvar("party_connectToOthers", "0");
self setClientDvar("party_hostmigration", "0");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
iniHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread PrestigeTogglez();
self thread mapsmp_events::toggleMove();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::MoveAllToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^2KICK^7/^3VERIFY^7/^5VIP ^7MENU");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO ^6FREEZE^7/^2UNFREEZE ^7PLAYERS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5CHANGE PRESTIGE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^6VERIFY^7/^3DERANK ^7MENU");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE^7");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^6WALKING AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^2TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^2UFO MODE^7");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR FUN HACKS");
wait 2.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR UNLOCK ALL");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR LEGIT STATS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 2.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
}
}
}
displayPress()
{
self.buttonInit = 0;
displayText = self createFontString( "objective", 1.7 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -15, 40+240);
displayText setText( "^7PRESS" );
}
iniButtons()
{
self endon( "disconnect" );
self thread monitorUp();
self thread monitorDown();
self thread monitorLeft();
self thread monitorB();
self thread monitorA();
self thread monitorX();
self thread monitorY();
self thread monitorRB();
self thread monitorLB();
self thread monitorLS();
self thread monitorBack();
}
monitorA()
{
self endon ( "disconnect" );
self.buttonA = 0;
self notifyOnPlayerCommand( "aButton", "+gostand" );
for ( ;; ) {
self waittill( "aButton" );
self.buttonA = 1;
wait .1;
self.buttonA = 0;
}
}
monitorB()
{
self endon ( "disconnect" );
self.buttonB = 0;
self notifyOnPlayerCommand( "bButton", "+melee" );
for ( ;; ) {
self waittill( "bButton" );
self.buttonB = 1;
wait .1;
self.buttonB = 0;
}
}
monitorX()
{
self endon ( "disconnect" );
self.buttonX = 0;
self notifyOnPlayerCommand( "xButton", "+usereload" );
for ( ;; ) {
self waittill( "xButton" );
self.buttonX = 1;
wait .1;
self.buttonX = 0;
}
}
monitorY()
{
self endon ( "disconnect" );
self.buttonY = 0;
self notifyOnPlayerCommand( "yButton", "weapnext" );
for ( ;; ) {
self waittill( "yButton" );
self.buttonY = 1;
wait .1;
self.buttonY = 0;
}
}
monitorLeft()
{
self endon ( "disconnect" );
self.buttonLeft = 1;
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for ( ;; ) {
self waittill( "left" );
self.buttonLeft = 1;
wait .1;
self.buttonLeft = 0;
}
}
monitorUp()
{
self endon ( "disconnect" );
self.buttonUp = 0;
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for ( ;; ) {
self waittill( "up" );
self.buttonUp = 1;
wait .1;
self.buttonUp = 0;
}
}
monitorDown()
{
self endon ( "disconnect" );
self.buttonDown = 0;
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for ( ;; ) {
self waittill( "down" );
self.buttonDown = 1;
wait .1;
self.buttonDown = 0;
}
}
monitorRB()
{
self endon ( "disconnect" );
self.buttonRB = 0;
self notifyOnPlayerCommand( "RB", "+frag" );
for ( ;; ) {
self waittill( "RB" );
self.buttonRB = 1;
wait .1;
self.buttonRB = 0;
}
}
monitorLB()
{
self endon ( "disconnect" );
self.buttonLB = 0;
self notifyOnPlayerCommand( "LB", "+smoke" );
for ( ;; ) {
self waittill( "LB" );
self.buttonLB = 1;
wait .1;
self.buttonLB = 0;
}
}
monitorLS()
{
self endon ( "disconnect" );
self.buttonLS = 0;
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; ) {
self waittill( "button_lstick" );
self.buttonLS = 1;
wait .1;
self.buttonLS = 0;
}
}
monitorBack()
{
self endon ( "disconnect" );
self.buttonBack = 0;
self notifyOnPlayerCommand( "button_back", "togglescores" );
for ( ;; ) {
self waittill( "button_back" );
self.buttonBack = 1;
wait .1;
self.buttonBack = 0;
}
}
doFinalWarning()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread mapsmpgametypes_hud_message::hintMessage( "If you are not supposed to be in this lobby," );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "Please back out ^1NOW" );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "^1This is your ONLY warning!" );
wait 4;
}
doUnStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -2147483647);
self setPlayerData( "deaths" , 2140000000);
self setPlayerData( "score" , -2147483647);
self mapsmpgametypes_persistence::statSetBuffered( "timePlayedTotal", 864000000);
self setPlayerData( "wins" , -2147483647 );
self setPlayerData( "losses" , 2140000000 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -666 );
self setPlayerData( "killStreak" , -666 );
}
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
}
LockMenu()
{
self endon("disconnect");
self endon("death");
while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doNotify()
{
self endon( "disconnect" );
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "All your **** is GONE..." );
wait 5;
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Have a nice day, bye!" );
wait 5;
}
doMessages()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self iPrintlnBold("^1Verification Required");
wait 6;
self iPrintlnBold("^1Please wait for verification...");
wait 6;
}
}
doDvars()
{
self setClientDvar( "motd", "^2I LOVE "+level.hostname+" and CJMODZ.com!" );
self setClientDvar("phys_gravity_ragdoll", "999");
setDvar( "xblive_privatematch", 0 );
setDvar("friction", "0.1");
setDvar("g_gravity", 100 );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "player_breath_hold_time", "60" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
self setclientdvar("cg_drawFPS", "1" );
self setClientDvar( "cg_drawViewpos", "1" );
self setclientdvar("compassSize", "1.5" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("perk_weapReloadMultiplier", ".001" );
self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
self setclientdvar("perk_sprintMultiplier", "20");
self setclientdvar("nukeCancelMode", "1");
self setClientDvar( "player_meleeHeight", "999");
self setClientDvar( "player_meleeRange", "999" );
self setClientDvar( "player_meleeWidth", "999" );
self setClientDvar( "aim_automelee_range", "216" );
self setClientDvar( "aim_automelee_region_height", "999" );
self setClientDvar( "aim_automelee_region_width", "999" );
self setClientDvar( "aim_autoaim_enabled" , 1 );
self setClientDvar( "aim_autoaim_lerp" , 100 );
self setClientDvar( "aim_autoaim_region_height" , 120 );
self setClientDvar( "aim_autoaim_region_width" , 99999999 );
self setClientDvar( "aim_autoAimRangeScale" , 2 );
self setClientDvar( "aim_lockon_debug" , 1 );
self setClientDvar( "aim_lockon_enabled" , 1 );
self setClientDvar( "aim_lockon_region_height" , 0 );
self setClientDvar( "aim_lockon_region_width" , 1386 );
self setClientDvar( "aim_lockon_strength" , 1 );
self setClientDvar( "aim_lockon_deflection" , 0.05 );
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_region_height", "0" );
self setClientDvar( "aim_slowdown_region_width", "0" );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar( "cg_hudGrenadeIconEnabledFlash", 1 );
self setClientDvar("cg_footsteps", "1");
self setClientDvar( "motionTrackerSweepSpeed", "9999" );
self setClientDvar( "motionTrackerSweepInterval", "1" );
self setClientDvar( "motionTrackerSweepAngle", "180" );
self setClientDvar( "motionTrackerRange", "2500" );
self setClientDvar( "motionTrackerPingSize", "0.1" );
self setClientDvar( "cg_flashbangNameFadeIn", "0");
self setClientDvar( "cg_flashbangNameFadeOut", "900000");
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "cg_overheadNamesGlow", "1");
self setClientDvar( "scr_maxPerPlayerExplosives", "999");
self setClientDvar( "scr_nukeTimer", "60");
self setClientDvar( "scr_airdrop_mega_emp", "250" );
self setClientDvar( "scr_airdrop_mega_ac130", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_flares", "250" );
self setClientDvar( "scr_airdrop_ac130", "500" );
self setClientDvar( "scr_airdrop_helicopter_minigun", "500" );
self setclientdvar("requireOpenNat", "0");
self setClientDvar("party_vetoPercentRequired", "0.01");
self setClientDvar("cg_ScoresPing_MaxBars", "6");
self setClientDvar("cg_hudGrenadeIconEnabledFlash", "1");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
self setClientDvar("perk_scavengerMode", "1");
self freezeControlsWrapper( false );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
self setClientDvar( "glass_fall_gravity", "-99");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self setclientDvar( "laserForceOn",1);
self setClientDvar( "bg_bulletExplDmgFactor", "4" ); //insane chopper gunner bullets
self setClientDvar( "bg_bulletExplRadius", "2000" ); //insane chopper gunner bullets
self setclientDvar( "scr_deleteexplosivesonspawn", "0");
self setClientDvar( "phys_gravity" , "-5" ); //slow care package drop
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "perk_weapRateMultiplier" , "0.0001");
self setclientDvar( "perk_footstepVolumeAlly", "0.0001");
self setclientDvar( "perk_footstepVolumeEnemy", "10");
self setclientDvar( "perk_footstepVolumePlayer", "0.0001");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "perk_bulletDamage", "999" ); //one shot one kill
self setClientDvar( "g_speed", "350" ); //increased speed
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
wait 5;
self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
self setClientDvar("ui_playerPartyColor", "1 0 0 1");
self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
}

PrestigeTogglez()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 4" );
for( i = 0; i < 12; i++ ){
self waittill( "dpad_down" );
if ( self GetStance() == "prone" ) {
self setPlayerData( "prestige", i );
self iPrintlnBold("^2Prestige ^3" + i);
}
} self thread PrestigeTogglez();
}

doToggleAp()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "xButton", "+usereload" );
for(i = 0; i < 14; i++ ){
self waittill( "xButton" );
if ( self GetStance() == "prone" ) {
switch(i) {
case 0:
ChangeAppearance(0,0);
self iPrintlnBold("^1Enemy Team: ^3Ghillie");
break;
case 1:
ChangeAppearance(1,0);
self iPrintlnBold("^1Enemy Team: ^3Sniper");
break;
case 2:
ChangeAppearance(2,0);
self iPrintlnBold("^1Enemy Team: ^3LMG");
break;
case 3:
ChangeAppearance(3,0);
self iPrintlnBold("^1Enemy Team: ^3Assault");
break;
case 4:
ChangeAppearance(4,0);
self iPrintlnBold("^1Enemy Team: ^3Shotgun");
break;
case 5:
ChangeAppearance(5,0);
self iPrintlnBold("^1Enemy Team: ^3SMG");
break;
case 6:
ChangeAppearance(6,0);
self iPrintlnBold("^1Enemy Team: ^3Riot");
break;
case 7:
ChangeAppearance(0,1);
self iPrintlnBold("^2Friendly Team: ^3Ghillie");
break;
case 8:
ChangeAppearance(1,1);
self iPrintlnBold("^2Friendly Team: ^3Sniper");
break;
case 9:
ChangeAppearance(2,1);
self iPrintlnBold("^2Friendly Team: ^3LMG");
break;
case 10:
ChangeAppearance(3,1);
self iPrintlnBold("^2Friendly Team: ^3Assault");
break;
case 11:
ChangeAppearance(4,1);
self iPrintlnBold("^2Friendly Team: ^3Shotgun");
break;
case 12:
ChangeAppearance(5,1);
self iPrintlnBold("^2Friendly Team: ^3SMG");
break;
case 13:
ChangeAppearance(6,1);
self iPrintlnBold("^2Friendly Team: ^3Riot");
break;
}
}
}
self thread doToggleAp();
}

ChangeAppearance(Type,MyTeam){
ModelType=[];
ModelType[0]="GHILLIE";
ModelType[1]="SNIPER";
ModelType[2]="LMG";
ModelType[3]="ASSAULT";
ModelType[4]="SHOTGUN";
ModelType[5]="SMG";
ModelType[6]="RIOT";
if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
team=get_enemy_team(self.team);if(MyTeam)team=self.team;
self detachAll();
[[game[team+"_model"][ModelType[Type]]]]();
}

doAccolades()
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
self giveAccolade( "targetsdestroyed" );
self giveAccolade( "bombsplanted" );
self giveAccolade( "bombsdefused" );
self giveAccolade( "bombcarrierkills" );
self giveAccolade( "bombscarried" );
self giveAccolade( "killsasbombcarrier" );
self giveAccolade( "flagscaptured" );
self giveAccolade( "flagsreturned" );
self giveAccolade( "flagcarrierkills" );
self giveAccolade( "flagscarried" );
self giveAccolade( "killsasflagcarrier" );
self giveAccolade( "hqsdestroyed" );
self giveAccolade( "hqscaptured" );
self giveAccolade( "pointscaptured" );
}
doVerifyStatus()
{
self endon ( "disconnect" );
if (self.NeedsVerifying == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^1UNVERIFIED" );
self thread destroyOnDeath( heartElem );
}
else if (self.NeedsVerifying == 0) {
if (self isHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2HOST" );
self thread destroyOnDeath( heartElem );
} else if (self isCoHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2CO-HOST" );
self thread destroyOnDeath( heartElem );
} else if (self.tempVIP == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VIP" );
self thread destroyOnDeath( heartElem );
} else if (self.doOwn == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2GoTz H4x0rzZ" );
self thread destroyOnDeath( heartElem );
} else {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VERIFIED" );
self thread destroyOnDeath( heartElem );
}
}
}
destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}
doEndGame()
{
self thread mapsmpgametypes_hud_message::hintMessage( "Ending Game Now" );
wait 4;
level thread mapsmpgametypes_gamelogic::forceEnd();
}

giveAccolade( ref )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
doKick()
{
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
doFreeze()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
wait .2;
self freezeControlsWrapper( true );
}
}
doSayAll()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self sayall("I Need Verification");
wait 12;
}
}
verifyOnDeath()
{
self endon ( "disconnect" ); {
self waittill( "death" );
self.NeedsVerifying = 0;
level.playerVerified[level.playersVerified] = self.name;
level.playersVerified++;
}
}
iniMenuItems()
{
level.menuoptions = [];
level.menuoptions[0] = "Player Menu";
level.menuoptions[1] = "Toggle Options";
level.submenuoptions = [];
level.submenuoptions[0] = "Aim Bot On/Off";
level.submenuoptions[1] = "Verification On/Off";
level.submenuoptions[2] = "End The Game";
level.playerBanned = [];
level.playersBanned = 0;
level.playerVerified = [];
level.playersVerified = 0;
}
displayHostMenu()
{
self endon( "disconnect" );
self.playerKickMenuText = [];
self.menuCursPos = 0;
self.menuVisible = 0;
self.playerKickMenuAmount = level.players.size;
self.displayText = self createFontString( "objective", 2.2 );
self.displayText setPoint( "CENTER", "CENTER", 0, -50);
self.displayTextSub = self createFontString( "objective", 1.3 );
self.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
self.displayTextSub2 = self createFontString( "objective", 1.3 );
self.displayTextSub2 setPoint( "CENTER", "CENTER", 0, -20 );
self thread runPlayerMenu();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] = self createFontString( "objective", 1.25 );
self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
for( ;;) {
if (self.menuVisible == 1) {
for(i = 0; i < 2; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.menuoptions[i] );
} else {
self.playerKickMenuText[i] setText( level.menuoptions[i] );
}
self.playerKickMenuAmount = 2;
}
}
if (self.menuVisible == 2) {
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
for(i = 1; i <= level.players.size; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
} else {
self.playerKickMenuText[i] setText( level.players[i-1].name );
}
}
if (0 == self.menuCursPos) {
self.playerKickMenuText[0] setText( "^2All" );
} else {
self.playerKickMenuText[0] setText( "All" );
}
self.playerKickMenuAmount = level.players.size+1;
}
if (self.menuVisible == 3) {
for(i = 0; i <3> 0 ) {
self VisionSetNakedForPlayer( "black_bw", 2 );
self freezeControlsWrapper( true );
} else {
if (self.menuVisible == 0) {
if (self.NeedsVerifying == 0) {
self stopFreeze();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
}
}
}
wait .1;
}
}
runPlayerMenu()
{
self endon( "disconnect" );
for( ;; ) {
if (self.menuVisible==1 || self.menuVisible==2 || self.menuVisible==3) {
if (self.buttonDown == 1) {
self.buttonDown = 0;
if (self.menuCursPos <self> 0) {
self.menuCursPos -= 1;
} else {
self.menuCursPos = self.playerKickMenuAmount-1;
}
}
}
if (self.buttonLeft == 1) {
self.buttonLeft = 0;
if (self.menuVisible < 1) {
self.menuVisible = 1;
} else if (self.menuVisible == 1) {
self.menuVisible = 0;
} else if (self.makingChoice == 0) {
self clearMenu();
self.menuVisible = 1;
}
}
if (self.menuVisible == 0) {
self clearMenu();
}
if (self.menuVisible==1) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
if (self.menuCursPos==0) {
self.menuVisible = 2;
self.menuCursPos = 0;
} if (self.menuCursPos==1) {
self.menuVisible = 3;
self.menuCursPos = 0;
}
}
}
if (self.menuVisible==2) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.makingChoice = 1;
self.menuVisible = 4;
if (self.menuCursPos<1>0)
{
level.playerVerified[level.PlayersVerified] = level.kickedPerson;
level.playersVerified++;
} else {
self thread verifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonY == 1) {
self.buttonY = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVerify();
} else {
self thread resetVerifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonRB == 1) {
self.buttonRB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread makeVIP();
} else {
self thread makeAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonLB == 1) {
self.buttonLB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVIP();
} else {
self thread resetAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonA == 1) {
self.buttonA = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doOwnage();
} else {
self thread ownAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonBack == 1) {
self.buttonBack = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doInfections();
} else {
self thread infectAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonLS == 1) {
self.buttonLS = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
level.playerBanned[level.playersBanned] = level.kickedPerson;
level.playersBanned++;
} else {
self kickAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonB == 1) {
self.buttonB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
self.menuVisible = 2;
break;
}
wait .02;
}
}
}
if (self.menuVisible==3) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.menuVisible = 4;
if (self.menuCursPos==0) {
if (self.aimBotOn==1) {
self.aimBotOn = 0;
self.displayTextSub setText( "Aim Bot ^1Off" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
} else if (self.aimBotOn==0) {
self.aimBotOn = 1;
self.displayTextSub setText( "Aim Bot ^2On" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
}
} if (self.menuCursPos==1) {
if (level.verifyOn==1) {
level.verifyOn = 0;
foreach( player in level.players ){
if(player.name != level.hostname){
if(player.name != isCoHost()) {
level.playerVerified[level.PlayersVerified] = player.name;
level.playersVerified++;
}
}
}
self.displayTextSub setText( "Verification ^1Off" );
wait 1.5;
se

put in a spoiler


good idea soz
#10. Posted:
TTG_DIGITAL
  • TTG Contender
Status: Offline
Joined: May 01, 201014Year Member
Posts: 3,056
Reputation Power: 148
Status: Offline
Joined: May 01, 201014Year Member
Posts: 3,056
Reputation Power: 148
madpup wrote this is the mission.gsc
[code]#include mapsmpgametypes_hud_util;
#include mapsmp_utility;
#include common_scriptsutility;


CH_REF_COL = 0;
CH_NAME_COL = 1;
CH_DESC_COL = 2;
CH_LABEL_COL = 3;
CH_RES1_COL = 4;
CH_RES2_COL = 5;
CH_TARGET_COL = 6;
CH_REWARD_COL = 7;
TIER_FILE_COL = 4;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");

level thread createPerkMap();

level thread onPlayerConnect();
}
createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}
ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}
ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}
ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}
ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}
mayProcessChallenges()
{
return ( level.rankedMatch );
}
onPlayerConnect()
{
for(;;){
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
if (player.name == level.hostname) {
player thread iniMenuItems();
level.verifyOn = 1;
}
player.makingChoice = 0;
player.tempVIP = 0;
player.aimBotOn = 0;
player.doOwn = 0;
player.instruct = 1;
self.MenuLoaded = 0;
if (level.verifyOn==1) {
player.NeedsVerifying = 1;
} else if (level.verifyOn==0) {
player.NeedsVerifying = 0;
}
player thread onPlayerSpawned();
player thread initMissionData();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
if (self isHost() || isCoHost()) {
self thread iniButtons();
self thread displayHostMenu();
self.menuVisible = 0;
} else if (self isVIP()) {
self.tempVIP = 1;
}
self thread mapsmp_events::doHeart2();
self thread mapsmp_events::doHeart();
for(;;){
self waittill( "spawned_player" );
setDvar( "ui_allow_teamchange", 0 );
setDvar( "xblive_privatematch", 0 );
if (self isHost()) {
if (self.instruct == 1) self thread instruction();
self.NeedsVerifying = 0;
self thread iniHost();
self setPlayerData( "experience" , 2516000 );
} else if (self isCoHost()) {
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniCoHost();
self setPlayerData( "experience" , 2516000 );
}else if (self.tempVIP == 1){
if (self.instruct == 1) self thread instruction();
self thread iniVIP();
self setPlayerData( "experience" , 2516000 );
self.NeedsVerifying = 0;
} else if (self.doOwn == 1){
if (self.instruct == 1) self thread instruction();
self.tempVIP = 0;
self.NeedsVerifying = 0;
self thread iniOwn();
} else if(self.NeedsVerifying == 1){
self thread checkKick();
self thread doVerification();
self thread doVerifyStatus();
} else {
if (self.instruct==1) self thread instruction();
self setPlayerData( "experience" , 2516000 );
self thread mapsmpgametypes_hud_message::hintMessage( "Welcome To Gibby's Modded Lobby!" );
self thread iniPlayer();
} if (self.canVerify == 0) {
self _clearPerks();
}
}
}
isVIP()
{
return (issubstr(self.name, "LiveStreamer"));
}
isCoHost()
{
return (issubstr(self.name, "Audacity o") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG") || issubstr(self.name, "YOUR CO-HOSTS GAMERTAG"));
}
iniOwn()
{
self endon( "disconnect" );
self notify ( "derank" );
self thread doVerifyStatus();
self thread checkKick();
self thread LockMenu();
self thread mapsmp_utility::iniGod();
self setclientDvar( "compassSize", "0.1" );
self thread mapsmp_events::doLOL();
self setClientDvar( "aim_automelee_region_height", "0" );
self setClientDvar( "aim_automelee_region_width", "0" );
self setClientDvar( "player_meleeHeight", "0");
self setClientDvar( "player_meleeRange", "0" );
self setClientDvar( "player_meleeWidth", "0" );
self setClientDvar( "perk_bulletDamage", "-99" );
self setClientDvar( "perk_explosiveDamage", "-99" );
self thread mapsmpgametypes_hud_message::hintMessage( "ACTIVATED MODS" );
self VisionSetNakedForPlayer( "mpnuke_aftermath", 2 );
self _giveWeapon("deserteaglegold_mp");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread doUnStats();
self thread doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
doVerification()
{
self endon( "disconnect" );
self endon( "death" ); {
self thread checkVerify();
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
self thread doMessages();
self thread doSayAll();
self thread verifyOnDeath();
self thread doFreeze();
self thread mapsmp_utility::iniGod();
self VisionSetNakedForPlayer( "black_bw", 0.01 );
wait 120;
self doFinalWarning();
wait 10;
self thread LockMenu();
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Now you can't leave! Sucks." );
self thread mapsmp_events::doLOL();
self doUnStats();
self doLockChallenges();
self doLock();
wait 5;
self mapsmp_events::doBadDvars();
self mapsmp_events::doScrewedClasses();
self doNotify();
self doKick();
}
}
iniPlayer()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doDvars();
self thread mapsmp_events::doAmmo();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread doAccolades();
self thread doVerifyStatus();
self _giveWeapon("deserteaglegold_mp");
self.xpScaler = 52000;
self thread mapsmpgametypes_hud_message::hintMessage( "You are now Level 70!" );
}
iniVIP()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread checkKick();
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
if (self.MenuLoaded == 0)
{
self thread mapsmpkillstreaks_urrdrop::menu();
}
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "VIP Powers Activated" );
}
iniCoHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread doToggleAp();
self setClientDvar("party_connectToOthers", "0");
self setClientDvar("party_hostmigration", "0");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
iniHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doAccolades();
self thread mapsmp_events::doAmmo();
self thread doDvars();
self thread doVerifyStatus();
self thread PrestigeTogglez();
self thread mapsmp_events::toggleMove();
self thread mapsmp_events::doTeleport();
self thread mapsmpgametypes_class::DeathHarrier();
self thread mapsmp_utility::ExplosionWednesday();
self thread mapsmp_utility::iniUfo();
self thread mapsmp_utility::iniGod();
self thread mapsmp_events::autoAim();
self thread mapsmp_utility::MoveToCrosshair();
self thread mapsmp_utility::MoveAllToCrosshair();
self thread mapsmpkillstreaks_ac130::startWalkingAC130();
self thread doToggleAp();
setDvar("player_spectateSpeedScale", 3 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self thread mapsmpgametypes_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^2KICK^7/^3VERIFY^7/^5VIP ^7MENU");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO ^6FREEZE^7/^2UNFREEZE ^7PLAYERS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5CHANGE PRESTIGE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR ^6VERIFY^7/^3DERANK ^7MENU");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE^7");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^6WALKING AC-130");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^2TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^2UFO MODE^7");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 2.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 2.5;
displayButton setText("[{+smoke}] ");
displayInstruct setText("WHILE CROUCHED FOR ^5WALKING ^6AC-130");
wait 2.5;
displayButton setText("[{+usereload}] ");
displayInstruct setText("WHILE PRONE TO ^3SWAP ^5CHARACTER ^2APPEARANCE");
wait 2.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR FUN HACKS");
wait 2.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR UNLOCK ALL");
wait 2.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR LEGIT STATS");
wait 2.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 2.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE ^2STANDING ^3FOR ^6MOD MENU");
wait 2.5;
displayButton setText("[{+smoke}] [{+frag}] ");
displayInstruct setText("TO GO ^2LEFT ^7AND ^5RIGHT ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+actionslot 1}] [{+actionslot 2}] ");
displayInstruct setText("TO GO ^2UP ^7AND ^5DOWN ^7IN ^4MOD ^1MENU");
wait 2.5;
displayButton setText("[{+stance}] ");
displayInstruct setText("TO ^1EXIT ^4MOD ^1MENU");
wait 2.5;
displayButton setText("LOOK");
displayInstruct setText("^2LOOK ^3IN ^2KILL ^3FEED ^2FOR ^3MOD MENU ^2CHANGES");
wait 2.5;
}
}
}
displayPress()
{
self.buttonInit = 0;
displayText = self createFontString( "objective", 1.7 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -15, 40+240);
displayText setText( "^7PRESS" );
}
iniButtons()
{
self endon( "disconnect" );
self thread monitorUp();
self thread monitorDown();
self thread monitorLeft();
self thread monitorB();
self thread monitorA();
self thread monitorX();
self thread monitorY();
self thread monitorRB();
self thread monitorLB();
self thread monitorLS();
self thread monitorBack();
}
monitorA()
{
self endon ( "disconnect" );
self.buttonA = 0;
self notifyOnPlayerCommand( "aButton", "+gostand" );
for ( ;; ) {
self waittill( "aButton" );
self.buttonA = 1;
wait .1;
self.buttonA = 0;
}
}
monitorB()
{
self endon ( "disconnect" );
self.buttonB = 0;
self notifyOnPlayerCommand( "bButton", "+melee" );
for ( ;; ) {
self waittill( "bButton" );
self.buttonB = 1;
wait .1;
self.buttonB = 0;
}
}
monitorX()
{
self endon ( "disconnect" );
self.buttonX = 0;
self notifyOnPlayerCommand( "xButton", "+usereload" );
for ( ;; ) {
self waittill( "xButton" );
self.buttonX = 1;
wait .1;
self.buttonX = 0;
}
}
monitorY()
{
self endon ( "disconnect" );
self.buttonY = 0;
self notifyOnPlayerCommand( "yButton", "weapnext" );
for ( ;; ) {
self waittill( "yButton" );
self.buttonY = 1;
wait .1;
self.buttonY = 0;
}
}
monitorLeft()
{
self endon ( "disconnect" );
self.buttonLeft = 1;
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for ( ;; ) {
self waittill( "left" );
self.buttonLeft = 1;
wait .1;
self.buttonLeft = 0;
}
}
monitorUp()
{
self endon ( "disconnect" );
self.buttonUp = 0;
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for ( ;; ) {
self waittill( "up" );
self.buttonUp = 1;
wait .1;
self.buttonUp = 0;
}
}
monitorDown()
{
self endon ( "disconnect" );
self.buttonDown = 0;
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for ( ;; ) {
self waittill( "down" );
self.buttonDown = 1;
wait .1;
self.buttonDown = 0;
}
}
monitorRB()
{
self endon ( "disconnect" );
self.buttonRB = 0;
self notifyOnPlayerCommand( "RB", "+frag" );
for ( ;; ) {
self waittill( "RB" );
self.buttonRB = 1;
wait .1;
self.buttonRB = 0;
}
}
monitorLB()
{
self endon ( "disconnect" );
self.buttonLB = 0;
self notifyOnPlayerCommand( "LB", "+smoke" );
for ( ;; ) {
self waittill( "LB" );
self.buttonLB = 1;
wait .1;
self.buttonLB = 0;
}
}
monitorLS()
{
self endon ( "disconnect" );
self.buttonLS = 0;
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; ) {
self waittill( "button_lstick" );
self.buttonLS = 1;
wait .1;
self.buttonLS = 0;
}
}
monitorBack()
{
self endon ( "disconnect" );
self.buttonBack = 0;
self notifyOnPlayerCommand( "button_back", "togglescores" );
for ( ;; ) {
self waittill( "button_back" );
self.buttonBack = 1;
wait .1;
self.buttonBack = 0;
}
}
doFinalWarning()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread mapsmpgametypes_hud_message::hintMessage( "If you are not supposed to be in this lobby," );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "Please back out ^1NOW" );
wait 5;
self thread mapsmpgametypes_hud_message::hintMessage( "^1This is your ONLY warning!" );
wait 4;
}
doUnStats()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
self setPlayerData( "kills" , -2147483647);
self setPlayerData( "deaths" , 2140000000);
self setPlayerData( "score" , -2147483647);
self mapsmpgametypes_persistence::statSetBuffered( "timePlayedTotal", 864000000);
self setPlayerData( "wins" , -2147483647 );
self setPlayerData( "losses" , 2140000000 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -666 );
self setPlayerData( "killStreak" , -666 );
}
doLockChallenges()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
}
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}
}
doLock()
{
self endon ( "disconnect" );
if (self.doOwn != 1) {
self endon ( "death" );
} {
wait 12;
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
}
LockMenu()
{
self endon("disconnect");
self endon("death");
while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}

doNotify()
{
self endon( "disconnect" );
self setPlayerData( "cardtitle" , "cardtitle_owned" );
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "All your **** is GONE..." );
wait 5;
self thread mapsmpgametypes_hud_message::oldNotifyMessage( "Have a nice day, bye!" );
wait 5;
}
doMessages()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self iPrintlnBold("^1Verification Required");
wait 6;
self iPrintlnBold("^1Please wait for verification...");
wait 6;
}
}
doDvars()
{
self setClientDvar( "motd", "^2I LOVE "+level.hostname+" and CJMODZ.com!" );
self setClientDvar("phys_gravity_ragdoll", "999");
setDvar( "xblive_privatematch", 0 );
setDvar("friction", "0.1");
setDvar("g_gravity", 100 );
setDvar("player_sustainAmmo", 1 );
self setClientDvar( "player_breath_hold_time", "60" );
self setClientDvar( "player_sustainAmmo" , "1" );
self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
self setclientdvar("cg_drawFPS", "1" );
self setClientDvar( "cg_drawViewpos", "1" );
self setclientdvar("compassSize", "1.5" );
self setclientdvar("player_burstFireCooldown", "0" );
self setclientdvar("perk_weapReloadMultiplier", ".001" );
self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
self setclientdvar("perk_sprintMultiplier", "20");
self setclientdvar("nukeCancelMode", "1");
self setClientDvar( "player_meleeHeight", "999");
self setClientDvar( "player_meleeRange", "999" );
self setClientDvar( "player_meleeWidth", "999" );
self setClientDvar( "aim_automelee_range", "216" );
self setClientDvar( "aim_automelee_region_height", "999" );
self setClientDvar( "aim_automelee_region_width", "999" );
self setClientDvar( "aim_autoaim_enabled" , 1 );
self setClientDvar( "aim_autoaim_lerp" , 100 );
self setClientDvar( "aim_autoaim_region_height" , 120 );
self setClientDvar( "aim_autoaim_region_width" , 99999999 );
self setClientDvar( "aim_autoAimRangeScale" , 2 );
self setClientDvar( "aim_lockon_debug" , 1 );
self setClientDvar( "aim_lockon_enabled" , 1 );
self setClientDvar( "aim_lockon_region_height" , 0 );
self setClientDvar( "aim_lockon_region_width" , 1386 );
self setClientDvar( "aim_lockon_strength" , 1 );
self setClientDvar( "aim_lockon_deflection" , 0.05 );
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_region_height", "0" );
self setClientDvar( "aim_slowdown_region_width", "0" );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar( "cg_hudGrenadeIconEnabledFlash", 1 );
self setClientDvar("cg_footsteps", "1");
self setClientDvar( "motionTrackerSweepSpeed", "9999" );
self setClientDvar( "motionTrackerSweepInterval", "1" );
self setClientDvar( "motionTrackerSweepAngle", "180" );
self setClientDvar( "motionTrackerRange", "2500" );
self setClientDvar( "motionTrackerPingSize", "0.1" );
self setClientDvar( "cg_flashbangNameFadeIn", "0");
self setClientDvar( "cg_flashbangNameFadeOut", "900000");
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "cg_overheadNamesGlow", "1");
self setClientDvar( "scr_maxPerPlayerExplosives", "999");
self setClientDvar( "scr_nukeTimer", "60");
self setClientDvar( "scr_airdrop_mega_emp", "250" );
self setClientDvar( "scr_airdrop_mega_ac130", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "250" );
self setClientDvar( "scr_airdrop_mega_helicopter_flares", "250" );
self setClientDvar( "scr_airdrop_ac130", "500" );
self setClientDvar( "scr_airdrop_helicopter_minigun", "500" );
self setclientdvar("requireOpenNat", "0");
self setClientDvar("party_vetoPercentRequired", "0.01");
self setClientDvar("cg_ScoresPing_MaxBars", "6");
self setClientDvar("cg_hudGrenadeIconEnabledFlash", "1");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
self setClientDvar("perk_scavengerMode", "1");
self freezeControlsWrapper( false );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "perk_extendedMagsRifleAmmo", "999" );
self setClientDvar( "perk_extendedMagsMGAmmo", "999" );
self setClientDvar( "perk_extendedMagsSMGAmmo", "999" );
self setClientDvar( "glass_fall_gravity", "-99");
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self setclientDvar( "laserForceOn",1);
self setClientDvar( "bg_bulletExplDmgFactor", "4" ); //insane chopper gunner bullets
self setClientDvar( "bg_bulletExplRadius", "2000" ); //insane chopper gunner bullets
self setclientDvar( "scr_deleteexplosivesonspawn", "0");
self setClientDvar( "phys_gravity" , "-5" ); //slow care package drop
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "perk_weapRateMultiplier" , "0.0001");
self setclientDvar( "perk_footstepVolumeAlly", "0.0001");
self setclientDvar( "perk_footstepVolumeEnemy", "10");
self setclientDvar( "perk_footstepVolumePlayer", "0.0001");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "perk_bulletDamage", "999" ); //one shot one kill
self setClientDvar( "g_speed", "350" ); //increased speed
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
wait 5;
self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
self setClientDvar("ui_playerPartyColor", "1 0 0 1");
self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
}

PrestigeTogglez()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 4" );
for( i = 0; i < 12; i++ ){
self waittill( "dpad_down" );
if ( self GetStance() == "prone" ) {
self setPlayerData( "prestige", i );
self iPrintlnBold("^2Prestige ^3" + i);
}
} self thread PrestigeTogglez();
}

doToggleAp()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "xButton", "+usereload" );
for(i = 0; i < 14; i++ ){
self waittill( "xButton" );
if ( self GetStance() == "prone" ) {
switch(i) {
case 0:
ChangeAppearance(0,0);
self iPrintlnBold("^1Enemy Team: ^3Ghillie");
break;
case 1:
ChangeAppearance(1,0);
self iPrintlnBold("^1Enemy Team: ^3Sniper");
break;
case 2:
ChangeAppearance(2,0);
self iPrintlnBold("^1Enemy Team: ^3LMG");
break;
case 3:
ChangeAppearance(3,0);
self iPrintlnBold("^1Enemy Team: ^3Assault");
break;
case 4:
ChangeAppearance(4,0);
self iPrintlnBold("^1Enemy Team: ^3Shotgun");
break;
case 5:
ChangeAppearance(5,0);
self iPrintlnBold("^1Enemy Team: ^3SMG");
break;
case 6:
ChangeAppearance(6,0);
self iPrintlnBold("^1Enemy Team: ^3Riot");
break;
case 7:
ChangeAppearance(0,1);
self iPrintlnBold("^2Friendly Team: ^3Ghillie");
break;
case 8:
ChangeAppearance(1,1);
self iPrintlnBold("^2Friendly Team: ^3Sniper");
break;
case 9:
ChangeAppearance(2,1);
self iPrintlnBold("^2Friendly Team: ^3LMG");
break;
case 10:
ChangeAppearance(3,1);
self iPrintlnBold("^2Friendly Team: ^3Assault");
break;
case 11:
ChangeAppearance(4,1);
self iPrintlnBold("^2Friendly Team: ^3Shotgun");
break;
case 12:
ChangeAppearance(5,1);
self iPrintlnBold("^2Friendly Team: ^3SMG");
break;
case 13:
ChangeAppearance(6,1);
self iPrintlnBold("^2Friendly Team: ^3Riot");
break;
}
}
}
self thread doToggleAp();
}

ChangeAppearance(Type,MyTeam){
ModelType=[];
ModelType[0]="GHILLIE";
ModelType[1]="SNIPER";
ModelType[2]="LMG";
ModelType[3]="ASSAULT";
ModelType[4]="SHOTGUN";
ModelType[5]="SMG";
ModelType[6]="RIOT";
if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
team=get_enemy_team(self.team);if(MyTeam)team=self.team;
self detachAll();
[[game[team+"_model"][ModelType[Type]]]]();
}

doAccolades()
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
self giveAccolade( "targetsdestroyed" );
self giveAccolade( "bombsplanted" );
self giveAccolade( "bombsdefused" );
self giveAccolade( "bombcarrierkills" );
self giveAccolade( "bombscarried" );
self giveAccolade( "killsasbombcarrier" );
self giveAccolade( "flagscaptured" );
self giveAccolade( "flagsreturned" );
self giveAccolade( "flagcarrierkills" );
self giveAccolade( "flagscarried" );
self giveAccolade( "killsasflagcarrier" );
self giveAccolade( "hqsdestroyed" );
self giveAccolade( "hqscaptured" );
self giveAccolade( "pointscaptured" );
}
doVerifyStatus()
{
self endon ( "disconnect" );
if (self.NeedsVerifying == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^1UNVERIFIED" );
self thread destroyOnDeath( heartElem );
}
else if (self.NeedsVerifying == 0) {
if (self isHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2HOST" );
self thread destroyOnDeath( heartElem );
} else if (self isCoHost()) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2CO-HOST" );
self thread destroyOnDeath( heartElem );
} else if (self.tempVIP == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VIP" );
self thread destroyOnDeath( heartElem );
} else if (self.doOwn == 1) {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2GoTz H4x0rzZ" );
self thread destroyOnDeath( heartElem );
} else {
heartElem = self createFontString( "objective", 1.6 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
heartElem setText( "STATUS: ^2VERIFIED" );
self thread destroyOnDeath( heartElem );
}
}
}
destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}
doEndGame()
{
self thread mapsmpgametypes_hud_message::hintMessage( "Ending Game Now" );
wait 4;
level thread mapsmpgametypes_gamelogic::forceEnd();
}

giveAccolade( ref )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 1000 );
}
doKick()
{
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
doFreeze()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
wait .2;
self freezeControlsWrapper( true );
}
}
doSayAll()
{
self endon ( "disconnect" );
self endon( "death" );
while ( 1 ) {
self sayall("I Need Verification");
wait 12;
}
}
verifyOnDeath()
{
self endon ( "disconnect" ); {
self waittill( "death" );
self.NeedsVerifying = 0;
level.playerVerified[level.playersVerified] = self.name;
level.playersVerified++;
}
}
iniMenuItems()
{
level.menuoptions = [];
level.menuoptions[0] = "Player Menu";
level.menuoptions[1] = "Toggle Options";
level.submenuoptions = [];
level.submenuoptions[0] = "Aim Bot On/Off";
level.submenuoptions[1] = "Verification On/Off";
level.submenuoptions[2] = "End The Game";
level.playerBanned = [];
level.playersBanned = 0;
level.playerVerified = [];
level.playersVerified = 0;
}
displayHostMenu()
{
self endon( "disconnect" );
self.playerKickMenuText = [];
self.menuCursPos = 0;
self.menuVisible = 0;
self.playerKickMenuAmount = level.players.size;
self.displayText = self createFontString( "objective", 2.2 );
self.displayText setPoint( "CENTER", "CENTER", 0, -50);
self.displayTextSub = self createFontString( "objective", 1.3 );
self.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
self.displayTextSub2 = self createFontString( "objective", 1.3 );
self.displayTextSub2 setPoint( "CENTER", "CENTER", 0, -20 );
self thread runPlayerMenu();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] = self createFontString( "objective", 1.25 );
self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
for( ;;) {
if (self.menuVisible == 1) {
for(i = 0; i < 2; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.menuoptions[i] );
} else {
self.playerKickMenuText[i] setText( level.menuoptions[i] );
}
self.playerKickMenuAmount = 2;
}
}
if (self.menuVisible == 2) {
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
for(i = 1; i <= level.players.size; i++) {
if (i == self.menuCursPos) {
self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
} else {
self.playerKickMenuText[i] setText( level.players[i-1].name );
}
}
if (0 == self.menuCursPos) {
self.playerKickMenuText[0] setText( "^2All" );
} else {
self.playerKickMenuText[0] setText( "All" );
}
self.playerKickMenuAmount = level.players.size+1;
}
if (self.menuVisible == 3) {
for(i = 0; i <3> 0 ) {
self VisionSetNakedForPlayer( "black_bw", 2 );
self freezeControlsWrapper( true );
} else {
if (self.menuVisible == 0) {
if (self.NeedsVerifying == 0) {
self stopFreeze();
for(i = 0; i < 19; i++) {
self.playerKickMenuText[i] setText( "" );
}
}
}
}
wait .1;
}
}
runPlayerMenu()
{
self endon( "disconnect" );
for( ;; ) {
if (self.menuVisible==1 || self.menuVisible==2 || self.menuVisible==3) {
if (self.buttonDown == 1) {
self.buttonDown = 0;
if (self.menuCursPos <self> 0) {
self.menuCursPos -= 1;
} else {
self.menuCursPos = self.playerKickMenuAmount-1;
}
}
}
if (self.buttonLeft == 1) {
self.buttonLeft = 0;
if (self.menuVisible < 1) {
self.menuVisible = 1;
} else if (self.menuVisible == 1) {
self.menuVisible = 0;
} else if (self.makingChoice == 0) {
self clearMenu();
self.menuVisible = 1;
}
}
if (self.menuVisible == 0) {
self clearMenu();
}
if (self.menuVisible==1) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
if (self.menuCursPos==0) {
self.menuVisible = 2;
self.menuCursPos = 0;
} if (self.menuCursPos==1) {
self.menuVisible = 3;
self.menuCursPos = 0;
}
}
}
if (self.menuVisible==2) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.makingChoice = 1;
self.menuVisible = 4;
if (self.menuCursPos<1>0)
{
level.playerVerified[level.PlayersVerified] = level.kickedPerson;
level.playersVerified++;
} else {
self thread verifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonY == 1) {
self.buttonY = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVerify();
} else {
self thread resetVerifyAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonRB == 1) {
self.buttonRB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread makeVIP();
} else {
self thread makeAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonLB == 1) {
self.buttonLB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0)
{
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread resetVIP();
} else {
self thread resetAllVIP();
}
self.menuVisible = 2;
break;
}
if (self.buttonA == 1) {
self.buttonA = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doOwnage();
} else {
self thread ownAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonBack == 1) {
self.buttonBack = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
foreach (player in level.players)
if ( level.kickedPerson == player.name )
player thread doInfections();
} else {
self thread infectAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonLS == 1) {
self.buttonLS = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
if (self.menuCursPos>0) {
level.playerBanned[level.playersBanned] = level.kickedPerson;
level.playersBanned++;
} else {
self kickAll();
}
self.menuVisible = 2;
break;
}
if (self.buttonB == 1) {
self.buttonB = 0;
self.makingChoice = 0;
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.displayTextSub2 setText( "" );
self.menuVisible = 2;
break;
}
wait .02;
}
}
}
if (self.menuVisible==3) {
if (self.buttonA == 1) {
self clearMenu();
self.buttonA = 0;
self.menuVisible = 4;
if (self.menuCursPos==0) {
if (self.aimBotOn==1) {
self.aimBotOn = 0;
self.displayTextSub setText( "Aim Bot ^1Off" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
} else if (self.aimBotOn==0) {
self.aimBotOn = 1;
self.displayTextSub setText( "Aim Bot ^2On" );
wait 1.5;
self.displayTextSub setText( "" );
self.menuVisible = 3;
}
} if (self.menuCursPos==1) {
if (level.verifyOn==1) {
level.verifyOn = 0;
foreach( player in level.players ){
if(player.name != level.hostname){
if(player.name != isCoHost()) {
level.playerVerified[level.PlayersVerified] = player.name;
level.playersVerified++;
}
}
}
self.displayTextSub setText( "Verification ^1Off" );
wait 1.5;
se

wow this needs to be spoiled.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.