Post: Code Help
06-02-2011, 04:23 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I asked a few people but haven't really got an answer yet from any of them. So I thought I'd give here a try. Could someone please tell me why my infections won't work right in my personal private patch that I am making? Here is the problem.

I set up to execute the code in Infectionscfg. Code is:

set GAME_OPT6_RUN "exec Infections.cfg;"

The code loads and I can go to Pre-Lobby and invite my friends. They can load the pre-lobby infection themselves but when they go to an actual online game, there are no infections.

The Infections.cfg code is:


bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_RIGHT "+actionslot 4"
bind DPAD_LEFT "+actionslot 3"

ui_mapname "mp_terminal;bind BUTTON_BACK say iH@X Infections;set motd iH@X Infections; set clanname iH@X; bind DPAD_RIGHT set xblive_privatematch0;onlinegame1;disconnect;set sv_cheats 1;set cg_drawShellshock 0;set cg_drawfps 2;set r_znear 55;set r_znear_depthhack 2;set compassSize 1.50;set cg_enemyNameFadeOut 900000;set cg_enemyNameFadeIn 0;set cg_drawThroughWalls 1;set scr_game_forceuav 1;set cg_footsteps 1;set compassRadarPingFadeTime 999;set compassSoundPingFadeTime 999;set compassRadarUpdateTime 0.001;set compassFastRadarUpdateTime 0.001;set compassRadarLineThickness 0;set compassEnemyFootstepEnabled 1;set compassEnemyFootstepMaxZ 99999;set compassEnemyFootstepMinSpeed 0;set g_compassShowEnemies 1;set compass_show_enemies 1;uploadStats"
seta cg_drawThroughWalls 1
seta cg_enemyNameFadeOut 900000
seta cg_enemyNameFadeIn 0
seta cg_drawThroughWalls 1
seta r_znear 55
seta compassEnemyFootstepEnabled 1
seta cg_drawfps 2
seta scr_game_forceuav 1
seta cg_footsteps 1
seta compassRadarPingFadeTime 999
seta compassSoundPingFadeTime 999
seta compassRadarUpdateTime 0.001
seta compassFastRadarUpdateTime 0.001
seta compassRadarLineThickness 0
seta compassEnemyFootstepEnabled 1
seta compassEnemyFootstepMaxZ 99999
seta compassEnemyFootstepMaxRange 99999
seta compassEnemyFootstepMinSpeed 0
seta g_compassShowEnemies 1
seta compass_show_enemies 1
seta compassClampIcons 999
seta laserforceon 1
seta clanname iH@X



If anyone can help, I'll be in your debt. Thanks!
(adsbygoogle = window.adsbygoogle || []).push({});
06-02-2011, 05:39 PM #2
too many codes! remove the most of them and just let the best things in it like r_znear 55 and a few more Winky Winky
06-02-2011, 08:43 PM #3
Originally posted by WinterMelvin View Post
too many codes! remove the most of them and just let the best things in it like r_znear 55 and a few more Winky Winky


Your reply really didn't help me out at all. Would you mind helping me by telling me what my final code should look like? Thanks!
06-02-2011, 08:59 PM #4
Originally posted by xengie View Post
Your reply really didn't help me out at all. Would you mind helping me by telling me what my final code should look like? Thanks!


ui_mapname "mp_terminal;bind BUTTON_BACK say ^1iH@X Infections^7;bind dpad_right xblive_privatematch0;onlinegame1;disconnect;set motd iH@X Infections; set clanname iH@X;"
seta cg_drawThroughWalls 1
seta cg_enemyNameFadeOut 900000
seta cg_enemyNameFadeIn 0
seta cg_drawThroughWalls 1
seta r_znear 55
seta compassEnemyFootstepEnabled 1
seta cg_drawfps 2
seta scr_game_forceuav 1
seta cg_footsteps 1
seta compassRadarPingFadeTime 999
seta compassSoundPingFadeTime 999
seta compassRadarUpdateTime 0.001
seta compassFastRadarUpdateTime 0.001
seta compassRadarLineThickness 0
seta compassEnemyFootstepEnabled 1
seta compassEnemyFootstepMaxZ 99999
seta compassEnemyFootstepMaxRange 99999
seta compassEnemyFootstepMinSpeed 0
seta g_compassShowEnemies 1
seta compass_show_enemies 1
seta compassClampIcons 999
seta laserforceon 1
seta clanname iH@X
06-02-2011, 09:09 PM #5
Originally posted by WinterMelvin View Post
ui_mapname "mp_terminal;bind BUTTON_BACK say ^1iH@X Infections^7;bind dpad_right xblive_privatematch0;onlinegame1;disconnect;set motd iH@X Infections; set clanname iH@X;"
seta cg_drawThroughWalls 1
seta cg_enemyNameFadeOut 900000
seta cg_enemyNameFadeIn 0
seta cg_drawThroughWalls 1
seta r_znear 55
seta compassEnemyFootstepEnabled 1
seta cg_drawfps 2
seta scr_game_forceuav 1
seta cg_footsteps 1
seta compassRadarPingFadeTime 999
seta compassSoundPingFadeTime 999
seta compassRadarUpdateTime 0.001
seta compassFastRadarUpdateTime 0.001
seta compassRadarLineThickness 0
seta compassEnemyFootstepEnabled 1
seta compassEnemyFootstepMaxZ 99999
seta compassEnemyFootstepMaxRange 99999
seta compassEnemyFootstepMinSpeed 0
seta g_compassShowEnemies 1
seta compass_show_enemies 1
seta compassClampIcons 999
seta laserforceon 1
seta clanname iH@X



i'll try it out now. thanks
06-04-2011, 01:19 AM #6
I used the codes that you replied but they don't work as infections. I'm guessing that UAV doesn't work as an infection?

Originally posted by WinterMelvin View Post
ui_mapname "mp_terminal;bind BUTTON_BACK say ^1iH@X Infections^7;bind dpad_right xblive_privatematch0;onlinegame1;disconnect;set motd iH@X Infections; set clanname iH@X;"
seta cg_drawThroughWalls 1
seta cg_enemyNameFadeOut 900000
seta cg_enemyNameFadeIn 0
seta cg_drawThroughWalls 1
seta r_znear 55
seta compassEnemyFootstepEnabled 1
seta cg_drawfps 2
seta scr_game_forceuav 1
seta cg_footsteps 1
seta compassRadarPingFadeTime 999
seta compassSoundPingFadeTime 999
seta compassRadarUpdateTime 0.001
seta compassFastRadarUpdateTime 0.001
seta compassRadarLineThickness 0
seta compassEnemyFootstepEnabled 1
seta compassEnemyFootstepMaxZ 99999
seta compassEnemyFootstepMaxRange 99999
seta compassEnemyFootstepMinSpeed 0
seta g_compassShowEnemies 1
seta compass_show_enemies 1
seta compassClampIcons 999
seta laserforceon 1
seta clanname iH@X

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo