Post: SC-Wotan's [COD4] Private GSC Code List
03-29-2013, 05:51 PM #1
SC-Wotan
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
So I think the Cod4 modding scene is really dead.
because of that i will publish my own knowledge,
That's all I have collected over the years !





COLOR

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


RGBA COLOR

    Red - 2 0 0 1
Green - 0 2 0 1
Yellow - 1 1 0 1
Blue - 0 0 2 1
Blue2 0 0 1 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


CUSTOM CLASSES

    custom_class()
{
self setClientDvar( "customclass1", "^1"+self.name+"!" );
self setClientDvar( "customclass2", "^4"+self.name+"!" );
self setClientDvar( "customclass3", "^5"+self.name+"!" );
self setClientDvar( "customclass4", "^6"+self.name+"!" );
self setClientDvar( "customclass5", "^1"+self.name+"!" );
}


MESSAGE OF THE DAY

    self setClientDvar( "ui_motd", "^5 This is SC-Wotans Private Code List" );


WALLHACK

    self setClientDvar( "r_znear" , "35" );


LASSER

    self setClientDvar( "cg_laserForceOn" , "1" );


PROMOD

Originally posted by another user
(Replace #'s With Numbers)
(Negative numbers zooms closer to your weapon, Postive zooms you away, 0 is default)

    elf setClientDvar( "cg_gun_x" , "#" );


FIELD OF VIEW

    self setClientDvar( "cg_fov" , "90" );


AUTO M16

    self setClientDvar( "player_burstFireCooldown" , "0" );


No FLASH/STUNS DAMAGE

    self setClientDvar( "cg_drawShellshock" , "0" );


FAR KNIFE

    self setClientDvar( "player_meleeRange" , "999" );


NO FALL DAMAGE

    self setClientdvar( "bg_fallDamageMinHeight", "9999" );


HIDE PERKS ON SPAWN

    self setClientDvar( "scr_showperksonspawn", "0" );


SUPER JUMP

    self setClientDvar( "jump_height", "999" );


3RD PERSON

    self setClientDvar( "cg_thirdPerson", "1" );


GRAVITY

    self setClientDvar( "g_gravity", "20" );


ENEMY NAMES THROUGH WALLS

    self setClientDvar( "cg_enemyNameFadeOut", "900000" );
self setClientDvar( "cg_enemyNameFadeIn", "0" );
self setClientDvar( "cg_drawThroughWalls", "1" );


FORCE HOST

    self setClientDvar( "party_iamhost", "1" );
self setClientDvar( "party_hostmigration", 0);
self setClientDvar( "party_connectToOthers", 0);


ONLINE GAME

    setDvar("scr_forcerankedmatch" , 1 );
setDvar( "onlinegame" , "1" );


CLEAR SCREEN NO HUD

    self setClientDvar("hud_enable","0");


RED GT IN PREGAME (RGBA COLOR)

    self setClientDvar( "cg_scoreboardMyColor", "0.8 0 0 1");


SKY COLOR

    self setClientDvar( "r_filmtweakdarktint", "0 0 0");


LOW AMMO COLOR (RGBA COLOR)

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


COLORED NAMES, CROSSHAIRS, ETC

    self setClientDvar("g_teamcolor_axis", "0 0 0 1");
self setClientDvar("g_teamcolor_allies", "0 0 0 1");
self setClientDvar("g_ScoresColor_axis", "0 0 0 1");
self setClientDvar("g_ScoresColor_allies", "0 0 0 1");
self setClientDvar("cg_scoreboardMyColor", "0 0 0 1");
self setClientDvar("g_teamcolor_EnemyTeam", "0 0 0 1");
self setClientDvar("g_teamcolor_MyTeam", "0 0 0 1");


6 PING BARS AND COLORS

    self setClientDvar( "cg_ScoresPing_MaxBars", "0");
self setClientDvar( "cg_ScoresPing_LowColor", "0 0 0 1");
self setClientDvar( "cg_ScoresPing_HighColor", "0 0 0 1");


SMALL CROSS HAIRS

    self setClientDvar( "cg_crosshairAlpha", "1");
self setClientDvar( "cg_crosshairAlphaMin", "0.5");
self setClientDvar( "cg_crosshairDynamic", "0");
self setClientDvar( "cg_crosshairEnemyColor", "1");


PERKS MODS

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


UAV ALWAYS ON

    self setClientDvar( "g_compassShowEnemies", "1");
self setClientDvar( "scr_force_gameuav", "1");


BIG UAV (COMPASS SIZE BIG)

    self setClientDvar( "compassSize", "1.5");


UAV IN HARDCORE

    self setClientDvar( "ui_hud_hardcore", "1");


CARTOON VISION

    self setClientDvar("r_fullbright", "1");


CHROME VISION

    self setClientDvar("r_fullbright", "0");
self setClientDvar( "r_specularmap", "2");


RAINBOW VISION

    self setClientDvar("r_debugShader", "1");


BLACK SCREEN

    VisionSetNaked("BlackTest", "0.5");


NORMAL SCREEN

    VisionSetNaked("default", "1");


SOUNDS

    self setClientDvar("snd_playlocal", "mp_level_up");  //Level Up Sound
self setClientDvar("snd_playlocal", "mouse_over"); //Scrolling Sound
self setClientDvar("snd_playlocal", "mp_suspense_01"); //Suspense/Action sound
self setClientDvar("snd_playlocal", "mp_bomb_plant"); //Bomb Plant Sound
self setClientDvar("snd_playlocal", "mp_time_running_out_losing"); //Time Running Out(Losing)
self setClientDvar("snd_playlocal", "mp_defeat"); //Defeat Sound
self setClientDvar("snd_playlocal", "encourage_win"); //Encourage to Win Sound


SPRINT FASTER

    self setClientDvar("player_sprintSpeedScale", "5");


UNLIMITED SPRINT

    self setClientDvar("player_sprintUnlimited", "1");


SILENT WALK/RUN/JUMP

    self setClientDvar("r_zFeather", "4");


DISABLE FRAGS

    self setClientDvar( "scr_weapon_allowfrags", "0");


1 VOTE TO SKIP MAP

    self setClientDvar( "party_vetoPercentRequired ", "0.001");


FAST RESTART

    FastRe()
{
map_restart(false);
}


END GAME

    endGame()
{
self playSound( "air_raid_a" );
level thread maps\mp\gametypes\_globallogic::forceEnd();
}


HIDE AMMO COUNTER

    self setClientDvar( "ammoCounterHide", "1");


NO SNIPER RECOIL

    self setClientDvar( "player_breath_hold_time", "30" );
self setClientDvar( "player_breath_gasp_lerp", "0.001" );
self setClientDvar( "player_breath_gasp_time", "0.001" );
self setClientDvar( "player_breath_gasp_scale", "1" );


TRACERS

    self setClientDvar( "cg_tracerSpeed", "0050" );
self setClientDvar( "cg_tracerwidth", "9" );
self setClientDvar( "cg_tracerlength", "999" );


EDIT MAP NAME/GAME TYPE

    self setClientDvar( "ui_mapname", "^5SC-Wotan");
self setClientDvar( "ui_gametype", "^6Challenge Lobby Gametype" );


SHOOT CHOPPERS EASY DOWN

    self setClientDvar( "scr_heli_maxhealth", "1" );
self setClientDvar( "scr_heli_turret_engage_dist", "9999" );
self setClientDvar( "scr_heli_visual_range", "500" );


UNLIMITED CHOPPER AMMO

    self setClientDvar( "scr_heli_targeting_delay", 0.0001 );
self setClientDvar( "scr_heli_turretClipSize", 9999 );
self setClientDvar( "scr_heli_turretReloadTime", 0.0001 );


NEW LOBBY

    self setClientDvar( "party_connectToOthers", "0");


GAME SPEED

    setDvar("timescale", "0.5");


GIVE WEAPONS

    self giveWeapon( "weaponname_modetype" ); \\Gives weapon
self switchToWeapon( "weaponname_modetype" ); \\Switches to weapon
self setSpawnWeapon( "weaponname_modetype" ); \\Sets a weapon which the player must spawn with


GIVE GRENATE

    GiveGrenade()
{
self endon("disconnect");
self endon("death");

while(1)
{
if(self getammocount("frag_grenade_mp") < 1)
self SetWeaponAmmoClip( "frag_grenade_mp", 1 );
wait 1;
}
}


FPS COUNTER

    self setClientDvar( "cg_drawFPS" , "Simple" );
self setClientDvar( "cg_drawFPSLabels" , "1" );


DISABLE THE RED BLOOD EFFEEKT ON SCREEN

    self notify("end_healthregen");


DISABLE/ENABLE JUMPING

    allowJump(false);	//DISABLE

allowJump(true); //ENABLE


DISABLE/ENABLE SPRINTING

    allowSprint(false);	//DISABLE

allowSprint(true); //ENABLE


DISABLE/ENABLE WEAPONS

    DisableWeapons(); //DISABLE

self EnableWeapons(); //ENABLE


DISABLE/ENABLE AIMING

    allowADS(false);	//DISABLE

allowADS(true); //ENABLE


DISABLE/ENABLE CROUCHING

    allowCrouch(false); //DISABLE

allowCrouch(true); //ENABLE


DISABLE/ENABLE STANDING

    allowStand(false);	//DISABLE

allowStand(true); //ENABLE


CREATING CUSTOM TEXT

    WotanText( WotanText )
{
WotanText = self createFontString( "default", 1.4 ); // now, you want to change the font or position you need to edit these codes here
WotanText setPoint( "TOPRIGHT", "TOPRIGHT", -15, 10); //
WotanText setText( WotanText );
wait 1;
WotanText FadeOverTime( 1.0 ); // also, my text fades out.. here's the code for that too. - 1.0 being the time it takes to fade out!
WotanText.alpha = 0;
}

\\ Now, to show the text just add this code.

self thread WotanText("Any Text Here");


HOST CHECK

    if((self.name == level.hostname)|| (self.name == "SC-Wotan"))
{
//Add Mods in Here
}


FONTS

    default
hudbig
smallfixed
bigfixed
objective


SHADERS

    precacheshader("rank_prestige10"); //copy the Shader in the init()

Weapon Shaders

weapon_colt_45
weapon_concgrenade
weapon_desert_eagle
weapon_desert_eagle_gold
weapon_dragunovsvd
weapon_flashbang
weapon_fraggrenade
weapon_g3
weapon_g36c
weapon_gp25
weapon_m4carbine
weapon_m14
weapon_m9beretta
weapon_m16a4
weapon_m40a3
weapon_m60e4
weapon_m203
weapon_m249saw
weapon_mini_uzi
weapon_mp5
weapon_mp44
weapon_p90
weapon_remington700
weapon_rpd
weapon_rpg7
weapon_skorpion
weapon_smokegrenade
weapon_usp_45
weapon_winchester1200


Attachment Shaders

weapon_attachment_acog
weapon_attachment_gp25
weapon_attachment_grip
weapon_attachment_m203
weapon_attachment_reflex
weapon_attachment_suppressor


Compass Shaders // these only work if the map is the same as the shader.


compass_map_mp_backlot
compass_map_mp_bloc
compass_map_mp_bog
compass_map_mp_broadcast
compass_map_mp_cargoship
compass_map_mp_citystreets
compass_map_mp_convoy
compass_map_mp_countdown
compass_map_mp_crash
compass_map_mp_crossfire
compass_map_mp_farm
compass_map_mp_strike
compass_map_mp_showdown
compass_map_mp_shipment
compass_map_mp_pipeline
compass_map_mp_overgrown


Arrow Shaders

hudscoreboardscroll_downarrow
hudscoreboardscroll_uparrow
ui_arrow_right
ui_arrow_left
hitech_arrow_down
hitech_arrow_up
ui_scrollbar_arrow_up_a
ui_scrollbar_arrow_dwn_a


Cammo Shaders

ui_camoskin_stagger
ui_camoskin_gold
ui_camoskin_cmdtgr
ui_camoskin_brock
ui_camoskin_bwmrpt
ui_camoskin_bshdwl


Rank Shaders

rank_pvt1
rank_pvt2
rank_pvt3
rank_pfc1
rank_pfc2
rank_pfc3
rank_lcpl1
rank_lcpl2
rank_lcpl3
rank_cpl1
rank_cpl2
rank_cpl3
rank_sgt1
rank_sgt2
rank_sgt3
rank_ssgt1
rank_ssgt2
rank_ssgt3
rank_gysgt1
rank_gysgt2
rank_gysgt3
rank_msgt1
rank_msgt2
rank_msgt3
rank_mgysgt1
rank_mgysgt2
rank_mgysgt3
rank_2ndlt1
rank_2ndlt2
rank_2ndlt3
rank_1stlt1
rank_1stlt2
rank_1stlt3
rank_capt1
rank_capt2
rank_capt3
rank_maj1
rank_maj2
rank_maj3
rank_ltcol1
rank_ltcol2
rank_ltcol3
rank_col1
rank_col2
rank_col3
rank_bgen1
rank_bgen2
rank_bgen3
rank_majgen1
rank_majgen2
rank_majgen3
rank_ltgen1
rank_ltgen2
rank_ltgen3
rank_gen1
rank_gen2
rank_gen3
rank_comm1
rank_prestige1
rank_prestige2
rank_prestige3
rank_prestige4
rank_prestige5
rank_prestige6
rank_prestige7
rank_prestige8
rank_prestige9
rank_prestige10



Gun Icons

hud_icon_40mm_grenade
hud_icon_ak47
hud_icon_ak47_gp25
hud_icon_ak74u
hud_icon_at4
hud_icon_barrett50cal
hud_icon_benelli_m4
hud_icon_c4
hud_icon_claymore
hud_icon_colt_45
hud_icon_desert_eagle
hud_icon_dragunov
hud_icon_g3
hud_icon_g36c
hud_icon_g36c_mp
hud_icon_javelin
hud_icon_m14
hud_icon_m14_scoped
hud_icon_m16a4
hud_icon_m16a4_grenade
hud_icon_m249saw
hud_icon_m4_grenadier
hud_icon_m4_grunt
hud_icon_m4_silencer
hud_icon_m40a3
hud_icon_m4carbine
hud_icon_m4m203_silencer
hud_icon_m60e4
hud_icon_m9beretta
hud_icon_mini_uzi
hud_icon_mp44
hud_icon_mp5
hud_icon_mp5_silencer
hud_icon_p90
hud_icon_pistol
hud_icon_remington700
hud_icon_rpd
hud_icon_rpg
hud_icon_skorpian
hud_icon_sniperrifle
hud_icon_stinger
hud_icon_usp_45
hud_icon_winchester_1200
hud_us_grenade
hud_us_stungrenade


KILL YOURSELF

    self suicide();


FREEZE PLAYER

    self freezeControls(true); // Freeze the Player ( No Movement )

self freezeControls(false); // Unfreeze the Player ( Enable Movement )


DISABLE KILLSTREAK

    self setclientdvar("scr_game_killstreaks", 0); 


KILLSTREAKS

    
maps\mp\gametypes\_hardpoints::giveHardpointItem( "radar_mp" ); //Radar

maps\mp\gametypes\_hardpoints::giveHardpointItem( "airstrike_mp" ); // Airstrike

maps\mp\gametypes\_hardpoints::giveHardpointItem( "helicopter_mp" );//Helicopter
(adsbygoogle = window.adsbygoogle || []).push({});

The following 11 users say thank you to SC-Wotan for this useful post:

Baby-panama, Devastation, FutureOps, HanleyzHD♚, HiddenHour, RichModder, silentcobra22, TheMrGeekyMoDz, Vanz, worrorfight, xFusionzHax

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo