You are viewing our Forum Archives. To view or take place in current topics click here.
Mw2 Patch Coding Collection -- *UPDATED DAILY*
Posted:

Mw2 Patch Coding Collection -- *UPDATED DAILY*Posted:

meganfox_ttg
  • Challenger
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 151
Reputation Power: 21
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 151
Reputation Power: 21
Hey Guys,

Seeing as my hypervisor post was a bust because no one on TTG understands the basic software behind the xbox 360.. I thought I'd create a post that would be more useful for all of you basic modders who just bought your jtag for Mw2 :crazy:...


Unlimited Ammo
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 0.05;
   }
}


Makin Money 8)
 makingMoney()
{
   self endon ( "disconnect" );
   self endon ( "death" );

   while(1)
   {
      playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
      wait 0.5;
   }
}


Typewrite 3-Line Message
doMSG()
{
   self endon( "disconnect" );
   self endon ( "death" );
   for ( ;; )
   {
      notifyData = spawnstruct();
      notifyData.iconName = "rank_prestige10";  // Message icon
      notifyData.titleText = "THE TECH GAME";
      notifyData.notifyText = "YOUR TEXT HERE";
      notifyData.notifyText2 = "YOUR TEXT HERE";
      notifyData.glowColor = (2.55, 0, 0);  // RGB Color Glow
      notifyData.sound = "mp_level_up";  // Sound
      notifyData.duration = 10.0;  // Message Duration [sec.]
      self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
      wait 10;  // Time until next code [sec.]
   }
}


Typewrite 3-Line Message [LOOP]
doMSG()
{
   self endon( "disconnect" );
   self endon ( "death" );

   while(1)
   {
      notifyData = spawnstruct();
      notifyData.iconName = "rank_prestige10";  // Message icon
      notifyData.titleText = "THE TECH GAME";
      notifyData.notifyText = "YOUR TEXT HERE";
      notifyData.notifyText2 = "YOUR TEXT HERE";
      notifyData.glowColor = (2.55, 0, 0);  // RGB Color Glow
      notifyData.sound = "mp_level_up";  // Sound
      notifyData.duration = 10.0;  // Message Duration [sec.]
      self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
      wait 10;  // Time until next code [sec.]
   }
}


Basic Text Loop -- Centre of screen [Small Font]
basicText()
{

   self endon ( "disconnect" );
   self endon("death");
   for( ;; )
   {   
      self iPrintlnBold("YOUR TEXT HERE");
      wait 5;
      self iPrintlnBold("YOUR TEXT HERE");
      wait 5;
      self iPrintlnBold("^6meganfox_ttg <3");
      wait 5;
      self iPrintlnBold("^3TheTechGame");
      wait 5;
                 }
}


Heartbeat Text [coordinates may be changed]
doTheTechGame()
{
    heartElem = self createFontString( "objective", 1.75 );
    heartElem setPoint( "CENTER", "TOP", 0, 0 );
    heartElem setText( "YOUR TEXT HERE" );
    self thread destroyOnDeath( heartElem );
    for ( ;; )
    {
    heartElem ChangeFontScaleOverTime( 0.6 );
    heartElem.fontScale = 1.4;
    wait 0.6;
    heartElem ChangeFontScaleOverTime( 0.6 );
    heartElem.fontScale = 1.7;
    wait 0.6;
    }
}


Color Changing/Flashing Text [coordinates may be changed]
doTTG()
{       
          self endon("disconnect");               
          displayText = self createFontString( "default", 2.5 );       
          displayText setPoint( "TOP", "TOP", 0, 0 + 5 );       
          self thread destroyOnDeath (displayText);               
          for (;;)     
          {               
                     displayText setText("^2YOUR TEXT HERE");           
                     wait 0.08;           
                     displayText setText("^3YOUR TEXT HERE");     
                     wait 0.08;     
                     displayText setText("^1YOUR TEXT HERE");         
                     wait 0.08;             
                     displayText setText("^5YOUR TEXT HERE");
                     wait 0.08;                     
                     displayText setText("^6YOUR TEXT HERE");
                     wait 0.08;     
                     displayText setText("^4THE TECH GAME");
                     wait 0.08;                             
            }
}


Typewriter Text
typeWriter()
{

   self endon ( "disconnect" );
   self endon("death");
   for( ;; )
   {   
   self thread mapsmpgametypes_hud_message::hintMessage("YOUR TEXT HERE");
   wait 5;
        self thread mapsmpgametypes_hud_message::hintMessage("YOUR TEXT HERE");
   wait 5;
   self thread mapsmpgametypes_hud_message::hintMessage("^6meganfox_ttg is SEXY!");
   wait 5;
     }
}


Color Code
^0 - BLACK
^1 - RED
^2 - GREEN
^3 - YELLOW
^4 - DARK BLUE
^5 - LIGHT BLUE
^6 - PINK/PURPLE
^7 - WHITE


Controller Buttons
DPAD UP - Command: "dpad_up", "+actionslot 1"      --  Actual Button: [{+actionslot 1}]
DPAD LEFT - Command: "dpad_left", "+actionslot 3"        --  Actual Button: [{+actionslot 3}]
DPAD DOWN - Command: "dpad_down", "+actionslot 2"        --  Actual Button: [{+actionslot 2}]
DPAD RIGHT - Command: "dpad_right", "+actionslot 4"      --  Actual Button: [{+actionslot 4}]
Button A - Command: "button_a", "+gostand"               --  Actual Button: [{+gostand}]
Button X - Command: "button_x", "+usereload"             --  Actual Button: [{+usereload}]
Button B - Command: "button_b", "+stance"                --  Actual Button: [{+stance}]
Button Y - Command: "button_y", "weapnext"               --  Actual Button: [{weapnext}]
Right Bumper - Command: "button_rb", "+frag"             --  Actual Button: [{+frag}]
Left Bumper - Command: "button_lb", "+smoke"             --  Actual Button: [{+smoke}]
Right Joystick - Command: "button_rs", "+melee"          --  Actual Button: [{+melee}]
Left Joystick - Command: "button_ls", "+breathe_sprint"  --  Actual Button: [{+breathe_sprint}]




BASIC MODS

Leaderboard Stats
leaderBoards()
{
   self endon( "disconnect" );
   self endon ( "death" );

   self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );  // Button Activation
   self waittill( "dpad_right" );  // Command Activation

   self setPlayerData( "score" , 22427500 );  // Value
   self setPlayerData( "kills" , 93000 );  // Value
   self setPlayerData( "headshots", 40850 );  // Value
   self setPlayerData( "deaths", 4060 );  // Value
   self setPlayerData( "wins" , 1690 );  // Value
   self setPlayerData( "hits" , 1508530 );  // Value
   self setPlayerData( "misses" , 754270 );  // Value
   self iPrintlnBold("^7Leaderboards Stats Finished.");  // Message Notification
}


Instant Lvl 70
instaLevel()
{
   self endon( "disconnect" );
   self endon( "death" ); 
   self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );  // Buttom Activation
   self waittill( "dpad_up" );  // Command Activation

   self setPlayerData( "experience", 2516000 );  // XP Value
   self iPrintlnBold("^7You are now ^3Lvl 70!");  // Message Notification
}


Instant Lvl 70 on Spawn
onPlayerSpawned()
{
   self endon( "disconnect" );

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

      self setPlayerData( "experience" , 2516000 );  // XP Value [on spawn]
      self thread makingMoney();
      self thread doAmmo();
      self thread doChallengeUnlocks();
      self thread instaLevel();
      self thread leaderBoards();
   }
}


Unlock All Challenges [with progress bar & notifying message]
doChallengeUnlocks()
{
self endon( "disconnect" );
   self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
   self waittill( "dpad_up" );
                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( "TEXT ON BAR HERE " + self.percent + "/100");
                }
   challengeBar destroyElem();
   challengeBarText destroyElem();
   wait 0.5;
   notifyData = spawnstruct();
   notifyData.iconName = "rank_prestige10";  // icon
   notifyData.titleText = "^0All Challenges Unlocked";  // TEXT
   notifyData.notifyText = "^3Spinning Tenth Emblem Set";  // TEXT
   notifyData.notifyText2 = "^0Please Wait 15 Seconds";  // TEXT
   notifyData.glowColor = (0, 0, 2.55);  // RGB Color Glow
   notifyData.sound = "mp_killstreak_emp";  // SOUND
   self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
}


Unlock All Challenges [no notifying message]
doChallengeUnlocks()
{
self endon ( "disconnect" );
   self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
   self waittill( "dpad_up" );
                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( "TEXT ON BAR HERE " + self.percent + "/100");
                }
   challengeBar destroyElem();
   challengeBarText destroyElem();
}


Custom Classes
doClasses()
{
   self endon ("disconnect");
   self endon ("death");

   self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
   self waittill( "dpad_left" );

   self setPlayerData( "customClasses", 0, "name", "CLASS NAME" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 0, "weapon", "PRIMARY WEAPON" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 0, "ATTACHMENT (1)" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 1, "ATTACHMENT (2)" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 0, "camo", "PRIMARY CAMO" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 1, "weapon", "SECONDARY WEAPON" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 0, "ATTACHMENT (1)" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 1, "ATTACHMENT (2)" );
   self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "SECONDARY CAMO" );
   self setPlayerData( "customClasses", 0, "specialGrenade", "SPECIAL GRENADE/+WEAPON" );
   self setPlayerData( "customClasses", 0, "perks", 0, "EQUIPMENT/+PERK" );
   self setPlayerData( "customClasses", 0, "perks", 1, "PERK (1)" );
   self setPlayerData( "customClasses", 0, "perks", 2, "PERK (2)" );
   self setPlayerData( "customClasses", 0, "perks", 3, "PERK (3)" );


UFO Mode
doUfo()
{
   self notifyOnPlayerCommand( "button_rb", "+frag");
   mapsmpgametypes_spectating::setSpectatePermissions();
   for(;;)
   {
      self waittill( "button_rb" );         
      self allowSpectateTeam( "freelook", true );
      self.sessionstate = "spectator";
      self waittill( "button_rshldr" );
      self.sessionstate = "playing";
      self allowSpectateTeam( "freelook", false );
   }
}


Teleport
doTeleport()
{
        self endon ( "disconnect" );
        self endon ( "death" );
        self notifyOnPlayerCommand( "button_rs", "+melee" );

        for(;;)
        {
                self waittill( "button_rstick" );
                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("^7You Just Teleported!");
                self endLocationselection();
                self.selectingLocation = undefined;
        }
}


Visions w/ instructional message
doVisions()
{
    self notifyOnPlayerCommand( "button_b", "+stance" );
    self waittill( "button_b" );
    for(;;)
    {
            notifyData = spawnstruct();
            notifyData.titleText = "^2Enjoy the ^5NEW ^2Visions!";
            notifyData.notifyText = "^0Press ^7[{+stance}] ^0To Switch Visions";
            notifyData.notifyText2 = "^2Visions Do Not Stick";
            notifyData.glowColor = (2.55, 0, 0);
            notifyData.sound = "mp_killstreak_emp";
            self thread mapsmpgametypes_hud_message::notifyMessage( notifyData );
            self waittill( "button_b" );
            VisionSetNaked( "aftermath", 1 );
            self thread mapsmpgametypes_hud_message::hintMessage("^7Nuke Aftermath Vision");
            self waittill( "button_b" );
            VisionSetNaked( "cheat_invert", 1 );
            self thread mapsmpgametypes_hud_message::hintMessage("^7Invert Vision");
        }
}


Visions without message
doVisions()
{
    self notifyOnPlayerCommand( "button_b", "+stance" );
    self waittill( "button_b" );
    for(;;)
    {
            self waittill( "button_b" );
            VisionSetNaked( "aftermath", 1 );
            self thread mapsmpgametypes_hud_message::hintMessage("^7Nuke Aftermath Vision");
            self waittill( "button_b" );
            VisionSetNaked( "cheat_invert", 1 );
            self thread mapsmpgametypes_hud_message::hintMessage("^7Invert Vision");
       
        }
}


List of Vision Types
ac130
ac130_inverted
af_caves_indoors
af_caves_indoors_breachroom
af_caves_indoors_overlook
af_caves_indoors_skylight
af_caves_indoors_steamroom
af_caves_indoors_steamroom_dark
af_caves_outdoors
af_caves_outdoors_airstrip
af_chase_ending_noshock
af_chase_indoors
af_chase_indoors_2
af_chase_indoors_3
af_chase_outdoors
af_chase_outdoors_2
af_chase_outdoors_3
aftermath
aftermath_dying
aftermath_hurt
aftermath_nodesat
aftermath_pain
aftermath_walking
airplane
airport
airport_death
airport_exterior
airport_green
airport_intro
airport_stairs
ambush
arcadia
arcadia_checkpoint
arcadia_golfcourse
arcadia_house2
arcadia_house
arcadia_secondbridge
arcadia_secondstreet
arcadia_wrekage
armada
armada_ground
armada_sound
armada_tvs
armada_water
bigcity_destroyed
black_bw
blackout
blackout_darkness
blackout_nvg
blacktest
bog
bog_a
bog_a_sunrise
bog_b
boneyard
boneyard_flyby
boneyard_ride
boneyard_steer
bridge
cargoship
cargoship_blast
cargoship_indoor2
cargoship_indoor 
cheat_bw
cheat_bw_contrast
cheat_bw_invert
cheat_bw_invert_contrast
cheat_chaplinnight
cheat_contrast
cheat_invert
cheat_invert_contrast
cliffhanger
cliffhanger_extreme
cliffhanger_heavy
cliffhanger_snowmobile
co_break
co_overgrown
cobra_down
cobra_sunset1
cobra_sunset2
cobra_sunset3
cobrapilot
contingency
contingency_thermal_inverted
coup
coup_hit
coup_sunblind
dc_whitehouse_interior
dc_whitehouse_lawn
dc_whitehouse_roof
dc_whitehouse_tunnel
dcburning_bunker
dcburning_commerce
dcburning_crash
dcburning_heliride
dcburning_rooftops
dcburning_trnches
dcemp
dcemp_emp
dcemp_iss
dcemp_iss
dcemp_iss_death
dcemp_office
dcemp_parking
dcemp_parking_lighting
dcemp_postemp2
dcemp_postemp
dcemp_tunnels
default //Use this to revert to default settings
default_night
default_night_mp
downtown_la
end_game2
end_game
estate
estate_ambush_clearing
estate_birchfield
estate_dragplayer
estate_finalfield
estate_forest
estate_forset_clearing
estate_hilltop
estate_house_approach
estate_house_backyard
estate_house_interior
estate_throwplayer
exterior_concept
favela
favela_alleys
favela_chase
favela_ending
favela_escape
favela_escape_chopperjump
favela_escape_market
favela_escape_playerfall_recovery
favela_escape_radiotower
favela_escape_rooftops
favela_escape_soccerfield
favela_escape_soccerfield_buildings
favela_escape_solorun_buildings
favela_escape_solorun_nearend
favela_escape_street
favela_hill
favela_shanty
favela_torture
firingrange
grayscale 
gulag
gulag_circle
gulag_ending
gulag_flyin
gulag_hallways
gulag_nvg
helicopter_ride
hunted
hunted_crash
icbm
icbm_interior
icbm_launch
icbm_sunrise0
icbm_sunrise1
icbm_sunrise2
icbm_sunrise3
icbm_sunrise4
interior_concept
introscreen
invasion
invasion_alley
invasion_nates_roof
invasion_near_convoy
invasion_stripmall
invasion_suburban_streets
invasion_yards
jeepride
jeepride_cobra
jeepride_flyaway
jeepride_tunnel
jeepride_zak
killhouse
launchfacility
launchfacility_a
launchfacility_b
missilecam
mp_backlot
mp_bloc
mp_bog
mp_brecourt
mp_broadcase
mp_carentan
mp_cargoship
mp_citystreets
mp_convoy
mp_countdown
mp_crash
mp_crash_damage
mp_creek
mp_creek_ss
mp_crossfire
mp_derail
mp_downtown_la
mp_dusk
mp_farm
mp_favela
mp_firingrange
mp_highrise
mp_hill
mp_killhouse
mp_nightshift
mp_oilrig
mp_overgrown
mp_pipeline
mp_quarry
mp_riverwalk
mp_shipment
mp_showdown
mp_skidrow
mp_strike
mp_suburbia
mp_trailer
mp_vacant
mp_verdict
mpintro
mpnuke
mpnuke_aftermath
mpoutro
nate_test
near_death
near_death_mp
oilrig_exterior_deck0
oilrig_exterior_deck1
oilrig_exterior_deck2
oilrig_exterior_deck3
oilrig_exterior_deck4
oilrig_exterior_heli
oilrig_interior2
oilrig_interior
oilrig_underwater
overwatch
overwatch_nv
parabolic
roadkill
roadkill_ambush
roadkill_dismount_building
roadkill_ending
roadkill_inside_school
roadkill_left_school
roadkill_town_normal
roadkill_town_smokey
roadkill_walking_to_school
school
scoutsniper
seaknight_assault
sepia 
slomo_breach
sniperescape
sniperescape_glow_off
sniperescape_outside
so_bridge
strike
thermal_mp
trainer_pit
trainer_start
tulsa
village_assauilt
village_defend
wetwork
whitehouse


Basic Dvars [infections]
dvarsTHETECHGAME()
{
   // Dvars Start Here
   //setDvar( "onlinegame", 1 );
   //setDvar( "xbl_privatematch", 0 );
   setDvar( "scr_xpscale", 99999 );
   setDvar( "jump_height", 999 );
   setDvar("bg_fallDamageMaxHeight", 9999 );
   setDvar("bg_fallDamageMinHeight", 1 );
        setDvar("bg_forceExplosiveBullets", 5 );
        setDvar("bg_forceDualWield", 1);
   setDvar( "player_sprintUnlimited", 1 );
   setDvar("player_sprintSpeedScale", 2.5 );
        setDvar( "scr_nuketimer", 4, 24, 60, 60 );
   // Client Dvars
   self setClientDvar( "jump_slowdownEnable", 0 );
        self setClientDvar( "scr_game_forceuav", 0 );
   self setClientDvar( "aim_autoaim_enabled", 1 );
   self setClientDvar( "aim_autoaim_lerp", 999 );
   self setClientDvar( "aim_autoaim_region_height", 120 );
   self setClientDvar( "aim_autoaim_region_width", 1000000 );
   self setClientDvar( "aim_autoAimRangeScale", 2 );
   self setClientDvar( "aim_automelee_range", 255 );
   self setClientDvar( "aim_automelee_region_height", 240 );
   self setClientDvar( "aim_automelee_region_width", 320 );
   self setClientDvar( "aim_input_graph_debug", 0 );
   self setClientDvar( "aim_input_graph_enabled", 1 );
   self setClientDvar( "aim_lockon_debug", 1 );
   self setClientDvar( "aim_lockon_deflection", 0.0005 );
   self setClientDvar( "aim_lockon_enabled", 1 );
   self setClientDvar( "aim_lockon_strength", 9 );
   self setClientDvar( "aim_lockon_region_height", 0 );
   self setClientDvar( "aim_lockon_region_width", 1386 );
   self setClientDvar( "cg_drawThroughWalls", 1 );
   self setClientDvar( "cg_enemyNameFadeIn", 0 );
   self setClientDvar( "cg_enemyNameFadeOut", 100000 );
   self setClientDvar("cg_footsteps", 1);
        self setclientdvar("cg_drawFPS", "1" );
   self setClientDvar( "compassEnemyFootstepEnabled", 1 );
   self setClientDvar( "compassEnemyFootstepMaxRange", 999 );
   self setClientDvar( "compassEnemyFootstepMinSpeed", 1 );
   self setClientDvar( "compassRadarUpdateTime", 0.2 );
   self setClientDvar( "compassSize", 2 );
   self setClientDvar( "compass", 0 );
   self setClientDvar( "compass_show_enemies", 1 );
        self setClientDvar( "player_meleeHeight", "1000");
   self setClientDvar( "player_meleeRange", "1000" );
   self setClientDvar( "player_meleeWidth", "1000" );
   self setClientDvar( "laserForceOn", 1 );
   self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
   self setClientDvar( "perk_weapRateMultiplier" , 0.0001 );
   self setClientDvar( "perk_weapReloadMultiplier" , 0.0001 );
   self setClientDvar( "perk_weapSpreadMultiplier" , 0.0001 );
   self setClientDvar( "player_burstFireCooldown" , 0 );
   self setClientDvar( "player_meleeHeight", 999 );
   self setClientDvar( "player_meleeRange", 999 );
   self setClientDvar( "player_meleeWidth", 999 );
   self setClientDvar( "scr_airdrop_mega_nuke", 999 );
   self setClientDvar( "scr_airdrop_nuke", 999 );
   self setClientDvar( "scr_game_forceuav", 1 );
   self setClientDvar( "party_connectToOthers", 0 );
   self setClientDvar( "party_hostmigration", 0 );
}


INSANE Dvars
dvarsTHETECHGAME()
{
      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 setclientDvar("ui_allow_classchange", "1");
      self setclientDvar( "laserForceOn",1);
      self setClientDvar( "clanname", "TTG" );
      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("scr_nukeCancelMode", 1 ); //cancels nuke when person who called it dies
      self setclientdvar( "cg_drawfps", "1");
      //self setClientDvar( "g_knockback", "99999"); //knock ya back
      //self setClientDvar( "aim_automelee_range", "0" ); //no knife
      //self setClientDvar( "aim_automelee_region_height", "0" ); //no knife
      //self setClientDvar( "aim_automelee_region_width", "0" ); //no knife
      //self setClientDvar( "player_meleeHeight", "0"); //no knife
      //self setClientDvar( "player_meleeRange", "0" ); //no knife
      //self setClientDvar( "player_meleeWidth", "0" ); //no knife
      self setClientDvar( "player_meleeHeight", "1000"); //far knife
      self setClientDvar( "player_meleeRange", "1000" ); //far knife   
      self setClientDvar( "player_meleeWidth", "1000" ); //far knife
      //self setclientDvar( "perk_extendedMeleeRange", "0");
           //self setClientDvar( "phys_gravity" , "-5" ); //slow care package drop
           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 );
      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" , 750 ); //care package chopper
      self setClientDvar( "scr_airdrop_ac130" , 150 ); //care package ac130
      self setClientDvar( "scr_airdrop_emp" , 750 ); //care package emp
                self setClientDvar( "scr_airdrop_mega_emp", 500 ); //ead emp
      self setClientDvar( "scr_airdrop_mega_helicopter_minigun", 1000 ); //ead chopper gunner
      self setClientDvar( "scr_nukeTimer", 900 ); //nuke timer
           self setclientDvar( "perk_weapReloadMultiplier", "0.0001" );
                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" );
                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");
           self setClientDvar( "g_maxDroppedWeapons", "999" );
           self setClientDvar( "player_MGUseRadius", "99999" );
           self setClientDvar( "player_useRadius", "99999" );
                self setClientdvar("cg_everyoneHearsEveryone", "1" );
           self setClientdvar("cg_chatWithOtherTeams", "1" );
           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");
}

The following 1 user thanked meganfox_ttg for this useful post:

taskio93 (07-27-2010)
#2. Posted:
TTG_TRAV964_xD
  • Wise One
Status: Offline
Joined: Mar 29, 201014Year Member
Posts: 595
Reputation Power: 30
Status: Offline
Joined: Mar 29, 201014Year Member
Posts: 595
Reputation Power: 30
too confusing + there is already a sticky that has all of this info
#3. Posted:
meganfox_ttg
  • Challenger
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 151
Reputation Power: 21
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 151
Reputation Power: 21
k your a **** retard if you think this shiit is confusing. tool!
#4. Posted:
TTG_TOM
  • TTG Natural
Status: Offline
Joined: Apr 12, 200915Year Member
Posts: 988
Reputation Power: 40
Status: Offline
Joined: Apr 12, 200915Year Member
Posts: 988
Reputation Power: 40
nice post man deserves a sticky. 1 word of advice though. use a button to hide all of the text so the post isnt 5 miles long.
#5. Posted:
taskio93
  • Challenger
Status: Offline
Joined: Feb 21, 201014Year Member
Posts: 186
Reputation Power: 11
Status: Offline
Joined: Feb 21, 201014Year Member
Posts: 186
Reputation Power: 11
Thanks for the post, helped me alot, cheers!
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.