What's new

Tutorial [TUT] Basics to Cod4 Bind Infection Modding

  • Thread starter SoCal s7
  • Start date
  • Views 5,988
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
Video Tutorial With Voice:





Written Tutorial Step By Step:

1. Download this clean patch that i cleaned out for you guys to start you out:
http://www.mediafire...1eev6dlvl6uqztc
2. Open the patch up with ff viewer: http://www.mediafire...2k6facy8ecp9fmo
3. Go to the patch/made/by/__NITRAM__.gsc tab and you will see this
#include common_scripts\utility;
#include maps\mp\_utility;

whatever()
{
self setClientDvar( "ui_mapname", "mp_bog;
}
4. Now you want to add this right after mp_bog;
bind apad_up bind dpad_up
What this does is let you use the bind online
self setClientDvar( "ui_mapname", "mp_bog;bind apad_up bind dpad_up
5. Now if you want to for example make the up dpad toggle promod than you would put this:
bind apad_up bind dpad_up toggle cg_gun_x 0 5 7 10 15
self setClientDvar( "ui_mapname", "mp_bog;bind apad_up bind dpad_up toggle cg_gun_x 0 5 7 10 15
6. Now after that code is done you want to add ; after it. then you can add more dvars to it. for example i will have the up dpad toggle promod. then after it i will have wallhack with it.
self setClientDvar( "ui_mapname", "mp_bog;bind apad_up bind dpad_up toggle cg_gun_x 0 5 7 10 15;r_znear 35;
7. Now lets say you want to add another bind like dpad down. just do this
self setClientDvar( "ui_mapname", "mp_bog;bind apad_up bind dpad_up toggle cg_gun_x 0 5 7 10 15;r_znear 35;bind apad_down bind dpad_down say ^1SoCal ^2Gaming
8. Now you can keep adding different dvars to the binds. just one thing. you can go past one line in ff viewer in text or else it wont infect over.
9. when you are done adding dvars to the binds put this at the end "); for example
self setClientDvar( "ui_mapname", "mp_bog;bind apad_up bind dpad_up toggle cg_gun_x 0 5 7 10 15;r_znear 35;bind apad_down bind dpad_down say ^1SoCal ^2Gaming");
10. Once done just save it. put the patch on your jtag and system link your jtag and retail. go to splitscreen start it. end it. and go onto live with the mods you wanted.

Dvars you can use(thanks to -Kracker from ttg for the list of dvars)

Binds you can use:

bind BUTTON_RTRIG (Right Trigger)
bind BUTTON_LTRIG (Left Trigger)
bind BUTTON_RSHLDR (Right Bumper)
bind BUTTON_LSHLDR (Left Bumper)
bind BUTTON_RSTICK (Right Stick Press)
bind BUTTON_LSTICK (Left Stick Press)
bind BUTTON_A (A)
bind BUTTON_B ( :cool2:
bind BUTTON_X (X)
bind BUTTON_Y (Y)
bind DPAD_UP (DPAD Up)
bind DPAD_DOWN (DPAD Down)
bind DPAD_LEFT (DPAD Left)
bind DPAD_RIGHT (DPAD Right)
bind APAD_UP (Left Stick Up)
bind APAD_DOWN (Left Stick Down)
bind APAD_LEFT (Left Stick Left)
bind APAD_RIGHT (Left Stick Right)
bind BUTTON_BACK (Back)
bind BUTTON_START (Start)



Classes, Clan Tag, MOTD, Spam


Custom Classes
customclass1 ^1This will be Red;
customclass2 ^2This will be Green;
customclass3 ^3This will be Yellow;
customclass4 ^4This will be Blue;
customclass5 ^5This will be Cyan;

Message Of The Day
motd ^1Your ^2Text ^3Here;

Clan Tags
clanname {Hi};

Text in Top Left
say ^1Your ^2Text ^3Here;

Text in Middle
set scr_do_notify ^1Your Text Here;

Flashing Color Spam
say ^1Your Text Here;wait 1;say ^2Your Text Here;wait 1;say ^3Your Text Here;wait 1;say ^4Your Text Here;wait 1;say ^5Your Text Here;

Invisible Spam
cg_chatheight 0;

Clan Tag, MOTD, Classes, Gamer Tag, ETC...(Must Have)
updategamerprofile;

Stats, Level, Prestige, Challenges. ETC...(Must Have)
uploadstats;

Popular DVARS


Wallhack
r_znear 35;

Laser
cg_laserforceOn 1;

Toggle Laser
Bind apad_up bind dpad_up toggle cg_laserForceOn 1 0;

Promod
(Replace #'s With Numbers)
(Negative numbers zooms closer to your weapon, Postive zooms you away, 0 is default)
cg_gun_x #;

Toggle Promod
Bind apad_up bind dpad_up toggle cg_gun_x # # # #;

Field Of View
cg_fov 90;

Player Speed
g_speed 999;

Unlimited Ammo
player_sustainAmmo 1;

Auto M16
player_burstFireCooldown 0;

No Flash Damage
cg_drawShellshock 0;

Far Knife
player_meleeRange 999;

No Fall Damage
bg_fallDamageMinHeight 9999;

Super Jump
jump_height 999;

3rd Persons Mode
cg_thirdPerson 1;

Gravity
g_gravity 20;

Enemy Names Through Walls
cg_enemyNameFadeOut 900000;
cg_enemyNameFadeIn 0;
cg_drawThroughWalls 1;

Force Host
party_iamhost 1;
party_hostmigration 0;
party_connectToOthers 0;

Online game
scr_forcerankedmatch 1;
onlinegame 1;

Colored Dvars

Colored GamerTag
ui_playerPartyColor 0 0 0 1;

Colored ScoreBoard
cg_scoreboardMyColor 0 0 0 1;

Sky Color
r_filmtweakdarktint 0 0 0;

Low Ammo
lowAmmoWarningColor1 0 0 1 1;
lowAmmoWarningColor2 1 0 0 1;
lowAmmoWarningNoAmmoColor1 0 0 1 1;
lowAmmoWarningNoAmmoColor2 1 0 0 1;
lowAmmoWarningNoReloadColor1 0 0 1 1;
lowAmmoWarningNoReloadColor2 1 0 0 1;

Colored Names, Crosshairs, ETC
g_teamcolor_axis 0 0 0 1;
g_teamcolor_allies 0 0 0 1;
g_ScoresColor_axis 0 0 0 1;
g_ScoresColor_allies 0 0 0 1;
cg_scoreboardMyColor 0 0 0 1;
g_teamcolor_EnemyTeam 0 0 0 1;
g_teamcolor_MyTeam 0 0 0 1;

6 Ping Bars and Colors
cg_ScoresPing_MaxBars 0;
cg_ScoresPing_LowColor 0 0 0 1;
cg_ScoresPing_HighColor 0 0 0 1;

Perks Tier 2

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;

Perks Teir 3

Super Deep Impact
perk_bulletPenetrationMultiplier 999;

Super Iron Lungs
perk_extraBreath 999;

Super Steady Aim
perk_weapspreadMultiplier 0.001;

Small Cross Hairs
cg_crosshairAlpha 1;
cg_crosshairAlphaMin 0.5;
cg_crosshairDynamic 0;
cg_crosshairEnemyColor 1;
cg_crosshairVerticalOffset;

Super Eavesdrop
perk_parabolicradis 1000;

RPG Martydom
perk_grenadeDeath rpg_mp;

Super Extreme Conditioning
perk_sprintMultiplier 999;

Triple Tap
perk_weapRateMultiplier 0.001;

UAV, Bots, Aimbot

UAV Always On
bind dpad_up g_compassShowEnemies 1;
scr_force_gameuav 1;

Big UAV
compassSize 1.5;

UAV in Hardcore
ui_hud_hardcore 1;

Full UAV
compassSize 1.5;
compassEnemyFootstepEnabled 1;
compass 0;
bind apad_left g_compassshowenemies 1;
scr_game_forceuav 1;
compassEnemyFootstepEnabled 1;
compassEnemyFootstepMaxRange 99999;
compassEnemyFootstepMaxZ 99999;
compassEnemyFootstepMinSpeed 0;
compassRadarUpdateTime 0.001;
cg_footsteps 1;
ui_hud_hardcore 1;

Red Box/Aim Assist(Aim Bot)
aim_automelee_range 255;
aim_automelee_region_height 480;
aim_automelee_region_width 640;
aim_autoaim_enabled 1;
aim_autoaim_lerp 100;
aim_autoaim_region_height 480;
aim_autoaim_region_width 640;
aim_autoAimRangeScale 2;
aim_lockon_debug 1;
aim_lockon_enabled 1;
aim_lockon_region_height 0;
aim_lockon_region_width 640;
aim_lockon_strength 1;
aim_lockon_deflection 0.05;
aim_input_graph_debug 0;
aim_input_graph_enabled 1;

Bots
scr_testclients 17;

Full Bots
xblive_privatematch 0;
onlinegame 1;
set scr_forcerankedmatch 1;
set developer 1;
set developer_script 1;
set scr_dm_score_kill 4000;
bind button_back set scr_testclients 17;
updategamerprofile;

Killstreaks:

Helicopter
scr_givehelicopter 1;

Airstrike
scr_giveairstrike 1;

UAV
scr_giveradar 1;

XP, Prestige, and Level

XP
scr_game_suicidepointloss 1;
scr_dm_score_suicide 5000;
scr_tdm_score_deatht 2516000;
scr_tdm_score_suicide 2516000;
scr_dom_score_deatht 2516000;
scr_dom_score_suicide 2516000;
scr_dd_score_deatht 2516000;
scr_dd_score_suicide 2516000;
scr_ctf_score_deatht 2516000;
scr_ctf_score_suicide 2516000;
scr_koth_score_deatht 2516000;
scr_koth_score_suicide 2516000;
scr_dom_score_kill 2516000;
scr_ctf_score_kill 2516000;
scr_dd_score_kill 2516000;
scr_sd_score_kill 2516000;
scr_war_score_suicide 2516000;
scr_war_score_deatht 2516000;

Prestiges
statset 2326 11;
statset 2326 10;
statset 2326 9;
statset 2326 8;
statset 2326 7;
statset 2326 6;
statset 2326 5;
statset 2326 4;
statset 2326 3;
statset 2326 2;
statset 2326 1;
statset 2326 0;

Level 55
(Change "55" to the desired level)
statset 252 55;

Leader Boards, Unlocks


Score
statset 2302 1337000;

Kills
statset 2303 1337000;

KillStreak
statset 2304 1337;

Deaths
statset 2305 0;

Assists
statset 2307 1337;

Headshots
statset 2308 1337000;

Wins
statset 2316 1337000;

Losses
statset 2317 0;

Ties
statset 2318 1337;

WinStreak
statset 2319 1337000;

Hits
statset 2322 1337000;

Misses
statset 2323 0;

XP
statset 2301 999999;

Full 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;

Visions


Cartoon Mode
r_fullbright 1;

Chrome Mode
r_fullbright 0;r_specularmap 2;

Rainbow Mode
r_debugShader 1;

PC Graphics
scr_art_tweak 1;
scr_art_tweak_message 1;
r_glowUseTweaks 1;
r_filmUseTweaks 1;

Blue Vision
r_filmTweakInvert 1;
r_filmTweakbrightness 2;
r_filmusetweaks 1;
r_filmTweakenable 1;
r_filmtweakLighttint 1.06 0.5 1.3;

Thermal/Night Vision
r_filmTweakInvert 1;
r_filmusetweaks 1;
r_filmtweakenable 1;
r_filmTweakLightTint 5.3 6.3 7.2;

Purple Vision
r_filmTweakInvert 1;
r_filmTweakbrightness 2;
r_filmusetweaks 1;
r_filmTweakenable 1;
r_filmtweakLighttint 1 2 1 1.1;
r_filmtweakdarktint 1 2 1;

Default Vision
r_filmTweakInvert 0;
r_filmTweakbrightness 0;
r_filmusetweaks 0;
r_filmTweakenable 0;
r_filmtweakLighttint 1.1 1.05 0.85;
r_filmtweakdarktint 0.7 0.85 1;

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


Other Great Dvars


Big Clip
player_clipSizeMultiplier 45;

Sprint Faster
player_sprintSpeedScale 5.0;

Unlimited Sprint
player_sprintUnlimited 1;

Silent Walk/Run/Jump
r_zFeather 4;

Disable Frags
scr_weapon_allowfrags 0;

1 vote to skip map
party_vetoPercentRequired 0.001;

Friction
friction 0.1;

God Mode
scr_csmode 99999;

Fast Restart
fast_restart;

Kick All Players
kick all;

Hide the Ammo Counter
ammoCounterHide 1;

Knockback
set g_knockback 999;

Ping Bar
cg_scoreboardPingText 1;
cg_ScoresPing_MaxBars 9;
cg_ScoresPing_Interval 40;
cg_ScoresPing_LowColor 0 0.68 1 1;
cg_ScoresPing_HighColor 0 0 1 1;

No Sniper Recoil
player_breath_hold_time 30;
player_breath_gasp_lerp 0.001;
player_breath_gasp_time 0.001;
player_breath_gasp_scale 1;

Tracers
cg_tracerSpeed 0050;
cg_tracerwidth 9;
cg_tracerlength 999;

Edit Name and Game Type
ui_mapname ^5Text Here;
ui_gametype ^5Text Here;

Shoot Choppers Down Easily
scr_heli_maxhealth 1;
scr_heli_turret_engage_dist 9999;
scr_heli_visual_range 500;

Unlimited Chopper Ammo
scr_heli_targeting_delay 0.0001;
scr_heli_turretClipSize 9999;
scr_heli_turretReloadTime 0.0001;

New Lobby
(This will always make you start a new lobby)
party_connectToOthers 0;

Game Speed
(Increase/Decrease the value to make it faster/slower)
timescale 0.5;

FPS Counter
cg_drawFPS Simple;
cg_drawFPSLabels 1;
 
XeChris

clt42

Contributor
Messages
2,411
Reaction score
792
Here's somes developer dvars
set developer "1"
set developer_script "1"
set scr_unlock_weapon "defaultweapon_mp"//unlocks default weapon
set scr_set_level "55"// sets rank to level 55'
set scr_givexp "24170000000" //gives xp upon spawn
set scr_unlock_camo "prestige" //unlocks hidden camo
set scr_unlock_attatchment "reflex"// unlocks red dot
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
Here's somes developer dvars
set developer "1"
set developer_script "1"
set scr_unlock_weapon "defaultweapon_mp"//unlocks default weapon
set scr_set_level "55"// sets rank to level 55'
set scr_givexp "24170000000" //gives xp upon spawn
set scr_unlock_camo "prestige" //unlocks hidden camo
set scr_unlock_attatchment "reflex"// unlocks red dot


wow thanks man. never saw those b4. thanks imma try that
 
SgT DoPeY13

SgT DoPeY13

Enthusiast
Messages
601
Reaction score
54
ive been thinkin about coding myself a patch out of boredom, thanks for this post +rep
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
ive been thinkin about coding myself a patch out of boredom, thanks for this post +rep


no problem. known how to do this for a couple of months and got bored and wanted to make it possible for everyone to have their own infections
 
NinjaWaffles

7Sins Rules XBL

Enthusiast
Messages
548
Reaction score
149
Also,

Code:
ui_promotion 1

will allow you to rank up, Its best with the Online Game Dvars.

The values are
Code:
ui_promotion 1 //On
//AND//
ui_promotion 0 //Off
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
Also,

Code:
ui_promotion 1

will allow you to rank up, Its best with the Online Game Dvars.

The values are
Code:
ui_promotion 1 //On
//AND//
ui_promotion 0 //Off

thanks so i add this before or after the statset? would it be like this?
self setClientDvar("ui_mapname", "mp_bog;ui_promotion 1;statset 2326 10;uploadstats");
 
NinjaWaffles

7Sins Rules XBL

Enthusiast
Messages
548
Reaction score
149
thanks so i add this before or after the statset? would it be like this?
self setClientDvar("ui_mapname", "mp_bog;ui_promotion 1;statset 2326 10;uploadstats");

For an online game... Just put:

Code:
self setClientDvar ( "ui_mapname", "bind apad_left bind dpad_right set scr_do_notify ^2Online Game Set!;set onlinegame 1;set scr_forcedrankedmatch 1;set ui_promotion 1;fast_restart" );
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
For an online game... Just put:

Code:
self setClientDvar ( "ui_mapname", "bind apad_left bind dpad_right set scr_do_notify ^2Online Game Set!;set onlinegame 1;set scr_forcedrankedmatch 1;set ui_promotion 1;fast_restart" );
ok thanks
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
For an online game... Just put:

Code:
self setClientDvar ( "ui_mapname", "bind apad_left bind dpad_right set scr_do_notify ^2Online Game Set!;set onlinegame 1;set scr_forcedrankedmatch 1;set ui_promotion 1;fast_restart" );
o now i got it. this is to make a private match count for xp
 
Professor Chaos

Professor Chaos

Enthusiast
Messages
106
Reaction score
43
wish i had my jtag still :frown:
 
Professor Chaos

Professor Chaos

Enthusiast
Messages
106
Reaction score
43
yah but im bored of mine. glad i made it myself and didnt buy one
they do get boring and its annoying how many little leechers messege you like 10 th please like you owe them it. but i do miss mine a little
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
they do get boring and its annoying how many little leechers messege you like 10 th please like you owe them it. but i do miss mine a little
yah i just use it to rent games and get them for free. i dont host anymore
 
SoCal s7

SoCal s7

Enthusiast
Messages
113
Reaction score
11
any still need this great tut?
 
StyleCreationz

StyleCreationz

Enthusiast
Messages
46
Reaction score
6
Hey i got a question for bots where do i put this code at xblive_privatematch 0;
onlinegame 1;
set scr_forcerankedmatch 1;
set developer 1;
set developer_script 1;
set scr_dm_score_kill 4000;
bind button_back set scr_testclients 17;
updategamerprofile;

in here

whatever()
{
self setClientDvar( "ui_mapname", "mp_bog;bind button_back say Welcome to My Menu!;

}

Idk know where to put the codes at please tell me where

or where do i put this? scr_testclients 17;
 
Top Bottom