• IMPORTANT: Welcome to the re-opening of GameRebels! We are excited to be back and hope everyone has had a great time away. Everyone is welcome!

Cod4 DVAR List!

Cyan

Active Member
Joined
Jul 30, 2013
Messages
121
Reaction score
0
Cod4 Mega Dvar List
(Stole this from 7sins so if I didn't remove a text from the creator or anything sorry lol)​
-------------------------------------------------------------------


::Colour Codes::

Red - ^1
Green - ^2
Yellow - ^3
Blue - ^4
Cyan - ^5
Pink - ^6
White - ^7
Grey - ^8
Default Map Color - ^9
Black - ^0

Red - 2 0 0 1
Green - 0 2 0 1
Yellow - 1 1 0 1
Blue - 0 0 2 1
Cyan - 0 1 1 1
Pink - 1 0 0.8
Purple - 0.6 0 0.6 1
White - 1 1 1 1
Invisible - 1 1 1 0

-------------------------------------------------------------------

::Button Dvars::

Left Stick - apad_up,apad_left,apad_down,apad_right
Dpad - dpad_up,dpad_left,dpad_down,dpad_right
Left Bumper - button_LSHLDR
Right Bumper - button_RSHLDR
Left Trigger - button_LTRIG
Right Trigger - button_RTRIG
Start Button - button_START
Back Button - button_BACK
A Button - button_a
B Button - button_b
X Button - button_x
Y Button - button_y
Right Stick Press - button_RSTICK
Left Stick Press - button_LSTICK

-------------------------------------------------------------------

::Clantag::

set clanname {SM};updategamerprofile;
(Put any Clan Tag any thing you want it to be)

-------------------------------------------------------------------

::Custom Classes::

set customclass1 ^1Text;
set customclass2 ^0Text;
set customclass3 ^2Text;
set customclass4 ^5Text;
set customclass5 ^4Text;

-------------------------------------------------------------------

:: Profile/Account Dvars::

Custom Class's - customclass1 ^1Text;
Message Of The Day - motd ^1Text ^2At ^Google;
Clan Tag - clanName {<3};

-------------------------------------------------------------------

::Stat Codes::

Prestige - statset 2326 10;
Level - statset 252 55;
Level 1 - statset 2301 1;
Level 10 - statset 2301 2431;
Level 20 - statset 2301 11731;
Level 30 - statset 2301 30241;
Level 40 - statset 2301 56531;
Level 50 - statset 2301 ?????;
Level 55 - statset 2301 9999999;
XP - statset 2301 ###;
Score - statset 2302 ###;
Kills - statset 2303 ###;
Kill Streak - statset 2304 ###;
Deaths - statset 2305 ###;
Assists - statset 2307 ###;
Headshots - statset 2308 ###;
Time Played - statset 2314 ###;
K/D Ratio - statset 2315 ###;
Wins - statset 2316 ###;
Losses - statset 2317 ###;
Ties - statset 2318 ###;
Win Streak - statset 2319 ###;
Hits - statset 2322 ###;
Misses - statset 2323 ###;
Accuracy - statset 2325 ###;
Unlock All - statset 3000 9;statset 3001 9;statset 3002 9;statset 3003 1;statset 3004 1;statset 3010 7951;statset 3011 7951;statset 3012 16143;statset 3013 7951;statset 3014 7951;statset 3020 16175;statset 3021 7983;statset 3022 7937;statset 3023 7983;statset 3024 7983;statset 3025 7983;statset 3026 7983;statset 3060 16131;statset 3061 7939;statset 3062 7939;statset 3064 7939;statset 3065 7939;statset 3070 16149;statset 3071 7957;statset 3080 7959;statset 3081 7959;statset 3082 16151;

Update Profile - updategamerprofile;
Upload Stats - uploadstats;

-------------------------------------------------------------------

::Spam/Message Dvars::

Notify Text - set scr_do_notify ^2Blah Text Blah;
Say Command - say ^1Text lol;
Unknown Commands - ^3Da Hell Ya Want?;
Lines of Spam - cg_chatheight #;
Chat Location - cg_hudchatposition 250 250;<---Middle of Screen
Chat Time - cg_chatTime 60000;<---Stays on screen a long time
Developer - developer 1;
Developer Script - developer_script 1;
No Error Message - con_errormessagetime 0;

-------------------------------------------------------------------

:: Popular Dvars::

Super Jump - jump_height 999;
No Fall Damage - bg_fallDamageMaxHeight 9999;bg_fallDamageMinHeight 9998;
Gravity - g_gravity 200;
Speed - g_speed 999;
Timescale - timescale 2;
Friction - friction 0.01;
Knockback - knockback 999;
Unlimited Ammo - player_sustainAmmo 1;
Laser - cg_laserforceon 1;
Wall Hack - r_znear 35;
All Time UAV - g_compassShowEnemies 1;scr_force_gameuav 1;
UAV Size - compassSize 1.5;
Aimbot/Red box - aim_lockon_debug 1;aim_lockon_region_height 1;aim_lockon_region_width 1;
Names Through Walls - cg_enemyNameFadeOut 900000;cg_enemyNameFadeIn 0;cg_drawThroughWalls 1;
Auto M16 - player_burstFireCooldown 0;
No Stun/Flash Effect - cg_drawShellshock 0;cg_Shellshock 0;
Gun X (ProMod) - cg_gun_x #;
Gun Y - cg_gun_y #;
Gun Z - cg_gun_z #;
Third Person - cg_thirdperson 1;
Field of View - cg_fov 180;
Clip Size - player_clipSizeMultiplier 10;
Tracers - cg_tracerlength 160;cg_tracerScale 1;cg_tracerScaleDistRange 25000;cg_tracerScaleMinDist 5000;cg_tracerScrewDist 100;cg_tracerScrewRadius 0.5;cg_tracerSpeed 60;cg_tracerwidth 4
Far Knife - player_meleeRange 999;
Unlimited Sprint - player_sprintUnlimited 1;
Small Crosshairs - cg_crosshairAlpha 1;cg_crosshairAlphaMin 0.5;cg_crosshairDynamic 0;cg_crosshairEnemyColor 1;cg_crosshairVerticalOffset;
Sprint Faster - player_sprintSpeedScale 5.0;
Disable Frags - scr_weapon_allowfrags 0;
1 Vote Skip Map - party_vetoPercentRequired 0.001;
FPS Counter - cg_drawFPS Simple;cg_drawFPSLabels 1;cg_drawFPS Verbose;
God Mode - scr_csmode 99999;
Force Host - party_iamhost 1;party_hostmigration 0;party_connectToOthers 0;
Spawn Bots - set scr_testclients 17;
Online Game - onlinegame 1;xblive_privatematch 0;scr_forcerankedmatch 1;
Fast Restart - fast_restart;

-------------------------------------------------------------------

:: Sounds::

Level Up Sound
snd_playlocal mp_level_up;

Scrolling Sound
snd_playlocal mouse_over;

Suspense/Action sound
snd_playlocal mp_suspense_01;

Bomb Plant Sound
snd_playlocal mp_bomb_plant;

Time Running Out(Losing)
snd_playlocal mp_time_running_out_losing;

Defeat Sound
snd_playlocal mp_defeat;

Encourage to Win Sound
snd_playlocal encourage_win;

Time Running Out(Winning)
snd_playlocal mp_time_running_out_winning

fast_restart;

-------------------------------------------------------------------

:: Perk Dvars::

Super Stopping Power - perk_bulletdamage 999;
Super Juggernaut - perk_armorVest 999;
Super Sleight of Hand - perk_weapreloadMultiplier 0.001;
Super Double Tap - perk_weapRateMultiplier 0.001;
Super Sonic Boom - perk_explosiveDamage 999;
Super Deep Impact - perk_bulletPenetrationMultiplier 999;
Super Iron Lungs - perk_extraBreath 999;
Super Steady Aim - perk_weapspreadMultiplier 0.001;
Super Eavesdrop - perk_parabolicradis 1000;
Super Extreme Conditioning - perk_sprintMultiplier 999;
RPG Martyrdom - perk_grenadeDeath rpg_mp;

Give Stopping Power - set scr_giveperk specialty_bulletdamage;
Give Steady Aim - set scr_giveperk specialty_bulletaccuracy;
Give Juggernaut - set scr_giveperk specialty_armorvest;
Give Rapid Fire - set scr_giveperk specialty_rof;
Give Martyrdom - set scr_giveperk specialty_grenadepulldeath;
Give Cold Blooded - set scr_giveperk specialty_gpsjammer;

Take Stopping Power - set scr_takeperk specialty_bulletdamage;
Take Steady Aim - set scr_takeperk specialty_bulletaccuracy;
Take Juggernaut - set scr_takeperk specialty_armorvest;
Take Rapid Fire - set scr_takeperk specialty_rof;
Take Martyrdom - set scr_takeperk specialty_grenadepulldeath;
Take Cold Blooded - set scr_takeperk specialty_gpsjammer;

-------------------------------------------------------------------

::Teleport Information::

Teleport - setviewpos 0 0 0;

System Link Coordinate Finder - Put this code into onplayerspawned = self thread doCoordinates();. Then put code below anywhere in your patch.

doCoordinates()
{
self endon("disconnect");
self endon("death");
for(;
{
wait 1;
self iPrintln("^5Current Location:");
self iPrintln( self.origin );
wait 4;
}
}

^^^This code will display coordinates every 5 seconds to help you find awesome teleports for your patch.

-------------------------------------------------------------------

::Vision Dvars::

Chrome - r_specularmap 2;
Cartoon - r_fullbright 1;
Rainbow - r_debugShader 1;
PC Graphics - scr_art_tweak 1;scr_art_tweak_message 1;r_glowUseTweaks 1;r_filmUseTweaks 1;
Thermal - r_filmTweakInvert 1;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 5.3 6.3 7.2;
Blue - r_filmTweakInvert 1;r_filmTweakbrightness 2;r_filmusetweaks 1;r_filmTweakenable 1 0;toggle r_filmtweakLighttint 1.06 0.5 1.3;
Purple - set r_filmTweakInvert 1;set r_filmTweakbrightness 2;set r_filmusetweaks 1;set r_filmTweakenable 1;set r_filmtweakLighttint 1 2 1 1.1;set r_filmtweakdarktint 1 2 1;
Default - r_filmTweakInvert 0;cg_gun_x 1;r_debugShader 0;bind button_rtrig +attack;cg_drawgun 1;cg_fov 65;scr_art_tweak 0;r_glowUseTweaks 0;r_specularmap 0;r_contrast 1;r_filmTweakbrightness 0;r_filmusetweaks 0;r_filmTweakenable 0;r_filmtweakLighttint 1.1 1.05 0.85;r_filmtweakdarktint 0.7 0.85 1;cg_thirdperson 0;r_showFloatZDebug 0;
Fog ON - scr_fog_disable 1;
Fog Color - set scr_art_tweak 1;toggle scr_fog_red 0 1 .01 .99 1 .02 .53;toggle scr_fog_green 0 .01 1 .08 .65 1 .12;toggle scr_fog_blue 1 0 .01 .57 .02 1 .47;
Fog Distance - toggle scr_fog_nearplane 256 128 64 32 16 8 4;toggle scr_fog_exp_halfplane 512 256 128 64 32 16 8;

-------------------------------------------------------------------

::Killstreak Dvars::

Give UAV - set scr_giveradar 1;
Give Air Strike - set scr_giveairstrike 1;
Give Helicopter - set scr_givehelicopter 1;

Super Chopper - set scr_heli_maxhealth 99999;set scr_heli_loopmax 999;set scr_heli_missile_max 999;scr_heli_turretReloadTime 0.1;set scr_heli_targeting_delay 0.1;
Pussy Chopper - set scr_heli_maxhealth 1;set scr_heli_loopmax 1;set scr_heli_missile_max 1;

-------------------------------------------------------------------

::Colored Dvars/Map & Gametype Dvars::

Colored Gamertag - ui_playerPartyColor # # # 1;
My Scoreboard Color - cg_scoreboardMyColor # # # 1;
Free-for-All Scoreboard - g_ScoresColor_Free # # # 1;
Colored Scoreboard - g_ScoresColor_axis # # # 1;g_ScoresColor_allies # # # 1;
Team Color - g_teamcolor_axis # # # 1;g_teamcolor_allies # # # 1;
Low Ammo Color - lowAmmoWarningColor1 # # # 1;lowAmmoWarningColor2 # # # 1;
No Ammo Color - lowAmmoWarningNoAmmoColor1 # # # 1;lowAmmoWarningNoAmmoColor2 # # # 1;lowAmmoWarningNoReloadColor1 # # # 1;lowAmmoWarningNoReloadColor2 # # # 1;
Ping Bars - cg_ScoresPing_HighColor # # # 1;cg_ScoresPing_LowColor # # # 1;cg_ScoresPing_Interval 40;cg_ScoresPing_MaxBars 9;cg_scoreboardPingText 1;

Map Name - ui_mapname ^1Text!;
Gametype - ui_gametype ^1Text!;

Axis Teamname - g_TeamName_Axis ^1Text 1;
Allies TeamName - g_TeamName_Allies ^1Text 2;

-------------------------------------------------------------------

::Game Setting Dvars::

Unlimited Score Limit - scr_dm_scorelimit 0;scr_war_scorelimit 0;scr_dom_scorelimit 0;scr_sd_scorelimit 0;scr_koth_scorelimit 0;
Unlimited Time Limit - scr_dm_timelimit 0;scr_war_timelimit 0;scr_dom_timelimit 0;scr_sd_timelimit 0;scr_koth_timelimit 0;
XP - set scr_war_score_kill 4000;set scr_dm_score_kill 4000;set scr_dom_score_kill 4000;set scr_sd_score_kill 4000;set scr_koth_score_kill 4000;
Fast Restart - fast_restart;
Online Game - set onlinegame 1;set xblive_privatematch 0;set scr_forcerankedmatch 1;
Developer - developer 1;
Developer Script - developer_script 1;

-------------------------------------------------------------------

Most of these are not found by me and I take no credit for finding them, I just took the time to make this to help you guys out. Enjoy!
 

Ace

Well-Known Member
Joined
Jul 7, 2012
Messages
420
Reaction score
0
Ya, let's make a DVAR list for a game that's 8 years old.

Default weapon:
Code:
"set scr_minimap_height 1;wait 10;set cg_drawGun 1;set cg_draw2d 1;set fx_enable 1;set player_view_pitch_up 90;wait 15;weapnext;reset scr_minimap_height");

I suggest having god mode on when you use this. It teleports you to somewhere in the map. Inside or out.

Code:
cg_laserforceon 10;
This toggles laser sight. This works with everything. You just need to find the default value.

Code:
updategamerprofile;?
Must put that after everything that needs to update in real-time. (clantags, motd, gamertag)

Code:
uploadstats:
Must put that after everything that updates in real-time. (stats, challenges etc)

Usage:
Code:
{amazing 1337 stat changing dvar here};updategamerprofile;
 

Cyan

Active Member
Joined
Jul 30, 2013
Messages
121
Reaction score
0
Ace said:
Ya, let's make a DVAR list for a game that's 8 years old.

Noobs still try to make menus for it and people still host the game?
 

Fuzed

Well-Known Member
Joined
May 19, 2012
Messages
1,452
Reaction score
2
http://protechmodz.com/Thread-Cod-4-Dvars
Beat you to it, goml.
 
Top