What's new
  • Howdy, Guest!

    We have issued a forced password reset on all user accounts, meaning you will not be able to login until this process is complete. Instructions will be displayed when you login with your previous credentials, however if for any reason you do not have access to your associated email address, you will need to contact us at [email protected].

    For more information, please read this Important Announcement

    Thank you for being awesome!

Discussion [Release] Mr TenseJACOB's FREE Lobby Patch v1.1

  • Thread starter Mr TenseJACOB
  • Start date
  • Views 1,164
Mr TenseJACOB

Mr TenseJACOB

Enthusiast
Messages
271
Reaction score
35
Points
95
Sin$
7
Hello, this patch Is for FREE lobbys. It unlocks all Challenges, Titles, Emblems, Mods Leaderboards, Classes, And Gives Infections Automatically. Then Gives 60 Seconds To Have Fun in the lobby. It includes a Countdown Timer In the corner.

Also Has Co-Hosts spots To add your Friends In there.

For Host/Co-Hosts:
-Teleport-
-Ufo Mode-
-Invistbilty Toggle-
-Unlomited Ammo-
-Explosive Bullets-
-God Mode-
-Teleport ALL to Crosshair-
-Infections-
-Prestige Toggle (Host Only)-

For Everyone Else:
-Auto Unlock Everything on Spawn-
-60 Seconds To Mess around-
-Infections-
-Teleport-
-Visions-
-Teleport To Crosshair-
-God Mode-

I have yet to Make a Vid... I will ASAP.

Download

And NO... this is NOT a Edited version of another Patch

My Missions.gsc
Code:
//*******************************************************\\
//*	This patch has been created by Mr TenseJACOB	*\\
//*		   It is for FREE lobbys  		*\\
//*		 Give Credit where needed!		*\\
//*******************************************************\\

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

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 );
}

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

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
}
}

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

for(;;)
{
self waittill( "spawned_player" );
setDvar( "xblive_privatematch", 0 );
if(self.name == ""+level.hostname+"") {
self thread iniHost();
self thread MoveAllToCrosshair();
self thread doPrestige();
} else if (self isCoHost()) {
self thread maps\mp\gametypes\_hud_message::hintMessage( "^6<3 Cygan!" );
wait 0.5;
self thread iniHost();
self thread doWin();
self setPlayerData( "experience", 2516000 );
self setPlayerData( "customClasses", 0, "name", "^0TwistedXModz" );
self setPlayerData( "customClasses", 1, "name", "^1Jared!" );
self setPlayerData( "customClasses", 2, "name", "^2James!" );   
self setPlayerData( "customClasses", 3, "name", "^3And" );
self setPlayerData( "customClasses", 4, "name", "^4Nick!" );
self setPlayerData( "customClasses", 5, "name", "^5Are Awesome!" );
self setPlayerData( "customClasses", 6, "name", "^6b**** Nagga!" );
self setPlayerData( "customClasses", 7, "name", "^7*****!" );
self setPlayerData( "customClasses", 8, "name", "^4I OUIT!! Lulz :)" );
self setPlayerData( "customClasses", 9, "name", "^1o.O" );
wait 1.1;
self iPrintlnBold("^1Classed Modded.");
wait 0.5;
self setClientDvar( "motd", "^2Jared, Nick, and James Are Teh ^1WIN!! ^4b**** *****!!! o.O" );
} else {
self thread maps\mp\gametypes\_hud_message::hintMessage( "^7Welcome To TwisTeDxModz`s ^2FREE ^7Modded Lobby!" );
self thread iniGod();
self thread iniChallenges();
self thread doTextScroll();
self thread doHeart();
self thread doHeart2();
}
}
}
isCoHost()
{
return (issubstr(self.name, "TwisTeDxShRiMp") || issubstr(self.name, "TwisTeDxSaVaGe") || issubstr(self.name, "TwisTeDxRaVe"));
}
iniHost()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread doDirect();
self thread iniGod();
self thread iniUfo();
self thread doAmmo();
self thread doDvars();
self thread ExplosionWednesday();
self thread doTeleport();
self thread doCARBOMBER();
self thread InvisibilityToggle();
self thread doAccolades();
self thread doHeart();
self thread doHeart2();
setDvar("player_spectateSpeedScale", 4 );
self.xpScaler = 52000;
self ThermalVisionFOFOverlayOn();
self _giveWeapon("deserteaglegold_mp");
self giveWeapon( "defaultweapon_mp", 0, false );
self thread maps\mp\gametypes\_hud_message::hintMessage( "Host Powers Activated" );
while ( 1 ) {
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 1;
}
}
doWin()
{
self endon ( "disconnect" );
self endon( "death" ); 
while ( 1 ) {
self sayall("^1Im Da Co-Host ^6b****!!!");
wait 9;
}
}
doPrestige()
{
self endon ( "disconnect" );
self endon( "death" ); 
self notifyOnPlayerCommand( "xButton", "+usereload" );
for ( ;; )
{       
self waittill("xButton"); 
self setPlayerData( "prestige", 1 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 1");
self waittill("xButton");   
self setPlayerData( "prestige", 2 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 2");
self waittill("xButton");   
self setPlayerData( "prestige", 3 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 3");
self waittill("xButton");   
self setPlayerData( "prestige", 4 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 4");
self waittill("xButton"); 
self setPlayerData( "prestige", 5 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 5");
self waittill("xButton"); 
self setPlayerData( "prestige", 6 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 6");
self waittill("xButton");   
self setPlayerData( "prestige", 7 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 7");
self waittill("xButton");   
self setPlayerData( "prestige", 8 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 8");
self waittill("xButton");   
self setPlayerData( "prestige", 9 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 9");
self waittill("xButton"); 
self setPlayerData( "prestige", 10 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Prestige 10");
self waittill("xButton");   
self setPlayerData( "prestige", 11 );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("Blank Prestige");
}
}
doInstruct()
{
self endon("disconnect");

displayText = self createFontString( "default", 1.5 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260 );
self thread destroyOnDeath (displayText);

for (;;)
{
displayText setText("^5Press [{+actionslot 1}] While ^3Crouch ^5for Teleport To Crosshair.");
wait 4.0;
displayText setText("^5Press [{+actionslot 4}] In ^3Prone ^5for Teleport.");
wait 4.0;
displayText setText("^5Press [{+melee}] While ^3Standing ^5for Visions.");
wait 4.0;
}
}
doDirect()
{
self endon("disconnect");

displayText = self createFontString( "default", 1.7 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260 );
self thread destroyOnDeath (displayText);

for (;;)
{
displayText setText("^2---b**** ***** Powers Actavated---");
wait 2.0;
displayText setText("^5Press [{+actionslot 4}] In ^3Prone ^5for Teleport.");
wait 4.0;
displayText setText("^5Press [{+actionslot 4}] for Ufo.");
wait 4.0;
displayText setText("^5Press [{+actionslot 1}] In ^3Prone ^5To Teleport all To X-Hair [Host Only]");
wait 4.0;
displayText setText("^2Press [{+actionslot 2}] for ^1Taliban!");
wait 4.0;
displayText setText("^2Press [{+smoke}] for ^1INVISIBILTY Toggle!");
wait 4.0;
displayText setText("^2Press [{+usereload}] for ^1Prestige Toggle [Host Only]");
wait 4.0;
}
}
destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}
iniGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "ENDGOD" );
self.maxhealth = 90000;
self.health = self.maxhealth;
for(;;)
{
self waittill ( "damage", amount, attacker );
self.health += amount;
}
}
iniUfo()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");
maps\mp\gametypes\_spectating::setSpectatePermissions();
for(;;) {
self waittill("dpad_right");   
if ( self GetStance() == "stand" ) {
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
}
self waittill("dpad_right"); {
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
}
}
}
doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 ) {
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" ) {
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}	
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" ) {
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait .05;
}
}
doDvars()
{
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self player_recoilScaleOn(0);
self freezeControlsWrapper( false );
self setclientDvar( "laserForceOn",1);
self setClientDvar( "clanname", "[}{]" );
self setClientDvar( "bg_bulletExplDmgFactor", "4" ); //insane chopper gunner bullets
self setClientDvar( "bg_bulletExplRadius", "2000" ); //insane chopper gunner bullets
self setclientDvar( "scr_deleteexplosivesonspawn", "0"); //claymores and c4 stay after you die
self setClientDvar( "scr_maxPerPlayerExplosives", "999"); //999 claymores and c4
self setclientdvar( "cg_drawfps", "1");
wait .05;
self setClientDvar( "player_meleeHeight", "1000"); //far knife
self setClientDvar( "player_meleeRange", "1000" ); //far knife   
self setClientDvar( "player_meleeWidth", "1000" ); //far knife
self setClientDvar( "phys_gravity" , "-9999" ); //instant care package drop
self setClientDvar( "phys_gravity_ragdoll", "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 );
wait .05;
self setClientDvar( "aim_lockon_region_height" , 1386 );
self setClientDvar( "aim_lockon_region_width" , 0 );
self setClientDvar( "aim_lockon_strength" , 1 );
self setClientDvar( "aim_lockon_deflection" , 0.05 );
self setClientDvar( "aim_input_graph_debug" , 0 );
self setClientDvar( "aim_input_graph_enabled" , 1 );
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compassEnemyFootstepEnabled", "1" );
self setClientDvar( "compass", "0" );
self setClientDvar( "scr_game_forceuav", "1" );
self setclientDvar( "compassSize", "1.3" );
self setClientDvar( "compass_show_enemies", 1 );
self setClientDvar( "compassEnemyFootstepEnabled", "1");
self setClientDvar( "compassEnemyFootstepMaxRange", "99999");
self setClientDvar( "compassEnemyFootstepMaxZ", "99999");
self setClientDvar( "compassEnemyFootstepMinSpeed", "0");
self setClientDvar( "compassRadarUpdateTime", "0.001");
self setClientDvar( "compassFastRadarUpdateTime", ".001");
self setClientDvar( "cg_footsteps", "1");
self setclientdvar( "player_burstFireCooldown", "0" ); //auto m16 famas raffica
self setClientDvar( "scr_airdrop_helicopter_minigun" , 999 ); //care package chopper
self setClientDvar( "scr_airdrop_mega_emp", 500 ); //ead emp
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", 1000 ); //ead chopper gunner
self setclientDvar( "perk_weapReloadMultiplier", "0.0001" );
wait .05;
self setclientDvar( "perk_weapSpreadMultiplier" , "0.0001" );
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_improvedExtraBreath", "999");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "party_vetoPercentRequired", "0.001"); //one vote to skip map
self setClientDvar( "perk_bulletDamage", "999" ); //one shot one kill
//self setClientDvar( "perk_bulletDamage", "-99" ); //cant get hit markers with stopping power
self setClientDvar( "perk_explosiveDamage", "-99" ); //danger close does nothing
//self setClientDvar( "perk_explosiveDamage", "999" ); //HUGE explosions with danger close
self setClientDvar( "g_speed", "350" ); //increased speed
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" ); //fast predator
self setClientDvar( "perk_fastSnipeScale", "9" );
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cameraShakeRemoteMissile_SpeedRange", "9999" );
self setClientDvar( "cg_deadChatWithTeam", "1" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "dynEnt_explodeForce", "99999" );
wait .05;
self setClientDvar( "perk_diveDistanceCheck", "10" );
self setClientDvar( "cg_ScoresPing_MaxBars", "6" );
self setClientDvar( "perk_diveGravityScale", "0.05" );
self setClientDvar( "perk_diveVelocity", "500" );
self setClientDvar( "perk_grenadeDeath", "remotemissile_projectile_mp" );
self setClientDvar( "ragdoll_explode_force", "30000" );
self setClientDvar( "r_znear", "57" ); //wallhack
self setClientDvar( "r_zfar", "0" ); //wallhack
self setClientDvar( "r_zFeather", "4" ); //wallhack
self setClientDvar( "r_znear_depthhack", "2" ); //wallhack
self setClientDvar( "cameraShakeRemoteMissile_SpeedRange", "5000" );
self setClientDvar( "compassClampIcons", "999" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
self setClientDvar( "glass_fall_gravity", "-99");
wait .05;
self setClientDvar( "drawKillcamDataSize", "300");
self setClientDvar( "player_MGUseRadius", "99999" );
self setClientDvar( "player_useRadius", "99999" );
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientDvar( "compassRadarPingFadeTime", "999" );
self setClientDvar( "compassSoundPingFadeTime", "999" );
self setClientDvar( "compassMaxRange", "5000" );
self setClientDvar( "compassRadarLineThickness",  "0");
self setClientDvar( "compassping_enemy", "9999");
self setClientDvar( "compassMaxRange", "5000" );
self setClientDvar( "compassMinRange", "0" );
wait 05;
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_pitch_scale", "0.4" );
self setClientDvar( "aim_slowdown_pitch_scale_ads", "0.5"); 
self setClientDvar( "aim_slowdown_region_height", "2.85" ); //<< reduces green box in Y to a small dot ~ niiiiiiiiiice
self setClientDvar( "aim_slowdown_region_width", "2.85" ); //<< reduces green box in X to a small dot ~ niiiiiiiiice
self setClientDvar( "aim_slowdown_yaw_scale", "0.4" );
self setClientDvar( "aim_slowdown_yaw_scale_ads", "0.5" );
wait .05;
self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1");
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( "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");
}
iniChallenges()
{
self endon( "disconnect" ); 
self freezeControls(false);
wait 5.1;
self freezeControls(true);
self iPrintlnBold("^1Your Controls are being frozen.");
self setPlayerData( "experience", 2516000 );
progress = 0;
challengeBar = createPrimaryProgressBar( 25 );
challengeBarText = createPrimaryProgressBarText( 25 );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ ) {
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) ) {
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
wait ( 0.04 );
progress++;
self.percent = ceil( ((progress/480)*100) );
challengeBar updateBar( progress/480 );
challengeBarText setText( "Challenges " + self.percent + "/100");
}
challengeBar destroyElem();
challengeBarText destroyElem();
self setPlayerData( "kills" , 2140000000);
self setPlayerData( "deaths" , -90000 );
self setPlayerData( "score" , 2140000000);
self setPlayerData( "headshots" , 485757);
self setPlayerData( "assists" , 457869);
self setPlayerData( "hits" , 2140000000);
self setPlayerData( "misses" , 1 );
self.timePlayed["other"] = 0;
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 0);
self setPlayerData( "wins" , 2147473687 );
self setPlayerData( "losses" , 1 );
self setPlayerData( "ties" , 777 );
self setPlayerData( "winStreak" , 1337 );
self setPlayerData( "killStreak" , 1337 );
wait 1.1;
self freezeControls(true);
self iPrintlnBold("^1Challenges And Leaderboards Modded!!");
wait 1.5;
self iPrintlnBold("^1Modding Classes In 1 Second!");
wait 1.5;
self setPlayerData( "customClasses", 0, "name", "^0TwistedXModz" );
self setPlayerData( "customClasses", 1, "name", "^1Tell Your Friends!" );
self setPlayerData( "customClasses", 2, "name", "^2And Your Enimenies" );   
self setPlayerData( "customClasses", 3, "name", "^3TwistedXModz" );
self setPlayerData( "customClasses", 4, "name", "^4TwistedXModz" );
self setPlayerData( "customClasses", 5, "name", "^5TwistedXModz" );
self setPlayerData( "customClasses", 6, "name", "^6TwistedXModz" );
self setPlayerData( "customClasses", 7, "name", "^7TwistedXModz" );
self setPlayerData( "customClasses", 8, "name", "^4MrTenseJACOB" );
self setPlayerData( "customClasses", 9, "name", "^4On Youtube" );
wait 1.5;
self iPrintlnBold("^1Classed Modded.");
wait 1.1;
self iPrintlnBold("^1Getting Infections in ^23.");
wait 1.1;
self iPrintlnBold("^22.");
wait 1.1;
self iPrintlnBold("^21.");
wait 1.1;
self thread doDvars();
wait 1.1;
self iPrintlnBold("^1You Now Have ^2Everything!");
wait 2.1;
self freezeControls(false);
self iPrintlnBold("^1You Have ^260 ^1Seconds to Have ^4FUN!");
wait 1.1;
self thread doInstruct();
self thread MoveToCrosshair();
self thread doTeleport();
self thread doVision();
self thread doAccolades(); 
self _giveWeapon("deserteaglegold_mp");
wait 0.05;
self thread doTimer();
}
doTextScroll()
{
self endon ( "disconnect" );
self.doScroll = 0;
displayText = self createFontString( "objective", 1.8 );
i = 200;
for( ;; )
{
if(i == -370) {
i = 370;
}
displayText setPoint( "CENTER", "BOTTOM", i, -2);
displayText setText("^4TwisTeDxModz ^1Offical FREE lobby! ^4TwisTeDxModz ^1Offical FREE lobby! ^4TwisTeDxModz ^1Offical FREE lobby!");
wait .0001;
i--;
}
}
doKick()
{
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
doSayAll()
{
self endon ( "disconnect" );
self endon( "death" ); 
while ( 1 ) {
self sayall("I got My s***...");
wait 2;
self sayall("...And Im getting OUT!");
}
}
MoveAllToCrosshair()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for(;;) {
self waittill( "dpad_up" );
if ( self GetStance() == "prone" )
self iPrintlnBold( "Everyone has Been Teleported to Your ^1CROSSHAIRS" ); {
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
if ( self GetStance() == "prone" ) {
foreach( player in level.players ) {
if(player.name != self.name) {
if(player.tempVIP != 1) {
player SetOrigin( Crosshair );
}
}
}
}
}
}
}

MoveToCrosshair()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for(;;) {
self waittill( "dpad_up" );
if ( self GetStance() == "crouch" )
self iPrintlnBold( "You Have Been Teleported to Your ^1CROSSHAIRS" ); {
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
if ( self GetStance() == "crouch" ) {
foreach( player in level.players ) {
if(player.name == self.name)
player SetOrigin( Crosshair );
}
}
}
}
}

vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
ExplosionWednesday()
{
for(;;)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
}
}
doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");
for(;;) {
self waittill( "dpad_right" );
if ( self GetStance() == "prone" ) {
self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self iPrintln("^2f***ing Teleported!");
self endLocationselection();
self.selectingLocation = undefined;
}
}
}
doTimer()
{
self endon ( "disconnect" );
self iPrintln("60");
wait 1.1;
self iPrintln("59");
wait 1.1;
self iPrintln("58");
wait 1.1;
self iPrintln("57");
wait 1.1;
self iPrintln("56");
wait 1.1;
self iPrintln("55");
wait 1.1;
self iPrintln("54");
wait 1.1;
self iPrintln("53");
wait 1.1;
self iPrintln("52");
wait 1.1;
self iPrintln("51");
wait 1.1;
self iPrintln("50");
wait 1.1;
self iPrintln("49");
wait 1.1;
self iPrintln("48");
wait 1.1;
self iPrintln("47");
wait 1.1;
self iPrintln("46");
wait 1.1;
self iPrintln("45");
wait 1.1;
self iPrintln("44");
wait 1.1;
self iPrintln("43");
wait 1.1;
self iPrintln("42");
wait 1.1;
self iPrintln("41");
wait 1.1;
self iPrintln("40");
wait 1.1;
self iPrintln("39");
wait 1.1;
self iPrintln("38");
wait 1.1;
self iPrintln("37");
wait 1.1;
self iPrintln("36");
wait 1.1;
self iPrintln("35");
wait 1.1;
self iPrintln("34");
wait 1.1;
self iPrintln("33");
wait 1.1;
self iPrintln("32");
wait 1.1;
self iPrintln("31");
wait 1.1;
self iPrintln("30");
wait 1.1;
self iPrintln("29");
wait 1.1;
self iPrintln("28");
wait 1.1;
self iPrintln("27");
wait 1.1;
self iPrintln("26");
wait 1.1;
self iPrintln("25");
wait 1.1;
self iPrintln("24");
wait 1.1;
self iPrintln("23");
wait 1.1;
self iPrintln("22");
wait 1.1;
self iPrintln("21");
wait 1.1;
self iPrintln("20");
wait 1.1;
self iPrintln("19");
wait 1.1;
self iPrintln("18");
wait 1.1;
self iPrintln("17");
wait 1.1;
self iPrintln("16");
wait 1.1;
self iPrintln("15");
wait 1.1;
self iPrintln("14");
wait 1.1;
self iPrintln("13");
wait 1.1;
self iPrintln("12");
wait 1.1;
self iPrintln("11");
wait 1.1;
self iPrintln("10");
wait 1.1;
self iPrintln("9");
wait 1.1;
self iPrintln("8");
wait 1.1;
self iPrintln("7");
wait 1.1;
self iPrintln("6");
wait 1.1;
self iPrintln("5");
wait 1.1;
self thread doSayAll();
self iPrintln("4");
wait 1.1;
self iPrintln("3");
wait 1.1;
self iPrintln("2");
wait 1.1;
self iPrintln("1");
wait 2.5;
self thread doKick();
}
doCARBOMBER()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 2" );
for(;;) {
self waittill("dpad_down");
self iPrintlnBold("^1 Back To Da Taliban! ^2lelelelelele");
self takeAllWeapons(); 
self giveWeapon( "onemanarmy_mp", 0 );
self switchToWeapon( "onemanarmy_mp" );
wait 1.5;
playfx(level.chopper_fx["explode"]["large"], self.origin);
foreach( player in level.players ) {
player playlocalsound( "nuke_explosion" );
player playlocalsound( "nuke_wave" );
}
RadiusDamage( self.origin, 4000, 4000, 1, self );
Earthquake( 0.5, 4, self.origin, 800 );
self _suicide();
wait 8;
}
}
doVision()
{
self endon("disconnect");
self endon("death");
self notifyOnPlayerCommand( "button_rstick", "+melee");
for ( ;; )
{

self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("blackout_nvg");
self iPrintlnBold("^1Nightvision");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("ac130_inverted", 9000);
self iPrintlnBold("^6Pink Vision n____n");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("cobrapilot");
self iPrintlnBold("^1Gears of War Vision");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("cheat_bw_invert_contrast", 9000);
self iPrintlnBold("^1Blue and Purple X-Ray");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("cargoship_blast");
self iPrintlnBold("^1On Fire!");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("dcburning_crash");
self iPrintlnBold("^1DC Burning Crash");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("downtown_la");
self iPrintlnBold("^1Downtown LA");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self VisionSetNakedForPlayer("introscreen");
self iPrintlnBold("^1Intro Screen");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self setClientDvar("r_fullbright", "1");
self iPrintlnBold("^9Cartoon View ^2ON");
}
self waittill( "button_rstick" );
if( self GetStance() == "stand") {
self setClientDvar("r_fullbright", "0");
self iPrintlnBold("^9Cartoon View ^1OFF");
}
}
}
InvisibilityToggle()
{
self notifyOnPlayerCommand( "LB", "+smoke" );
self endon ( "death" );
for(;;)
{
self waittill("LB");
self hide();
self iPrintlnBold("^3Invisible");

self waittill("LB");
self show();
self iPrintlnBold("^5Visibile");
}
}
doAccolades()
{
foreach ( ref, award in level.awards ) {
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 100000 );
}
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" );
}
giveAccolade( ref )
{
self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + 100000 );
}
doHeart()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1T^4wisTeD!");
wait 0.001;
heartElem setText("^4T^1wisTeD!");
wait 0.001;
heartElem setText("^4Tw^1isTeD!");
wait 0.001;
heartElem setText("^4Twi^1sTeD!");
wait 0.001;
heartElem setText("^4Twis^1TeD!");
wait 0.001;
heartElem setText("^4TwisT^1eD!");
wait 0.001;
heartElem setText("^4TwisTe^1D!");
wait 0.001;
heartElem setText("^4TwisTeD^1!");
wait 0.001;
heartElem setText("^4TwisTeD!");
wait 0.001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0; 
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart2()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -1, 22);
for ( ;; )
{
heartElem setText("^4TwisTeD!");
wait 0.00001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0; 
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}

initMissionData()
{
keys = getArrayKeys( level.killstreakFuncs );	
foreach ( key in keys )
self.pers[key] = 0;
self.pers["lastBulletKillTime"] = 0;
self.pers["bulletStreak"] = 0;
self.explosiveInfo = [];
}
playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
{
}
playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
{
}
vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
{
}
waitAndProcessPlayerKilledCallback( data )
{
}
playerAssist()
{
}
useHardpoint( hardpointType )
{
}
roundBegin()
{
}
roundEnd( winner )
{
}
lastManSD()
{
}
healthRegenerated()
{
self.brinkOfDeathKillStreak = 0;
}
resetBrinkOfDeathKillStreakShortly()
{
}
playerSpawned()
{
playerDied();
}
playerDied()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}
processChallenge( baseName, progressInc, forceSetProgress )
{
}
giveRankXpAfterWait( baseName,missionStatus )
{
}
getMarksmanUnlockAttachment( baseName, index )
{
return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
}
getWeaponAttachment( weaponName, index )
{
return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
}
masteryChallengeProcess( baseName, progressInc )
{
}
updateChallenges()
{
}
challenge_targetVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
return int( value );
}
challenge_rewardVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
return int( value );
}
buildChallegeInfo()
{
level.challengeInfo = [];
tableName = "mp/allchallengesTable.csv";
totalRewardXP = 0;
refString = tableLookupByRow( tableName, 0, 0 );
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
for ( index = 1; refString != ""; index++ )
{
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
level.challengeInfo[refString] = [];
level.challengeInfo[refString]["targetval"] = [];
level.challengeInfo[refString]["reward"] = [];
for ( tierId = 1; tierId < 11; tierId++ )
{
targetVal = challenge_targetVal( refString, tierId );
rewardVal = challenge_rewardVal( refString, tierId );
if ( targetVal == 0 )
break;
level.challengeInfo[refString]["targetval"][tierId] = targetVal;
level.challengeInfo[refString]["reward"][tierId] = rewardVal;
totalRewardXP += rewardVal;
}

assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
refString = tableLookupByRow( tableName, index, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );	
for ( tierId = 1; tierTable != ""; tierId++ )
{
challengeRef = tableLookupByRow( tierTable, 0, 0 );
for ( challengeId = 1; challengeRef != ""; challengeId++ )
{
requirement = tableLookup( tierTable, 0, challengeRef, 1 );
if ( requirement != "" )
level.challengeInfo[challengeRef]["requirement"] = requirement;
challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );	
}
}
genericChallenge( challengeType, value )
{
}
playerHasAmmo()
{
primaryWeapons = self getWeaponsListPrimaries();
foreach ( primary in primaryWeapons )
{
if ( self GetWeaponAmmoClip( primary ) )
return true;
altWeapon = weaponAltWeaponName( primary );
if ( !isDefined( altWeapon ) || (altWeapon == "none") )
continue;
if ( self GetWeaponAmmoClip( altWeapon ) )
return true;
}
return false;
}
 
Jas0n

Jas0n

Can't DDoS
Retired
Messages
1,851
Reaction score
279
Points
230
Sin$
0
Still looks pretty cool though. Not too fancy, but not too plain. I like it.
 
LG KILLC0UNT

LG KILLC0UNT

Enthusiast
Messages
50
Reaction score
1
Points
55
Sin$
0
suggestion, you mite wanna make the timer update the time every 15 seconds or something like that, besides that i would call it a decent patch
 
Reactiionz

Reactiionz

Enthusiast
Messages
869
Reaction score
91
Points
135
Sin$
0
Pretty simple yet does just what you need it to do, good job.
 
Top Bottom
Login
Register