[Tutorial]The complete guide of a configuration (cfg)

Get Help, Tips & Tutorials on Gaming

[Tutorial]The complete guide of a configuration (cfg)

Postby Wīñd » Fri Jan 08, 2016 9:50 pm

Hello Eternal clan :)
yersteday i was searching a complete tutorial on cfg , but i found nothing :S
So i made this Big tutorial
make sure you have 5-6 minutes to read the entire post :))


Definition :
mateusz wrote:Cfg is a collection of commands, scripts designed to adjust the game settings (graphics, sound etc) to suit your needs and preference.
Creating your own CFG

http://www.etclan.net/viewtopic.php?f=10&t=1433&hilit=tutorial

i will add that you can put binds in your cfg
The attachment bind presentation.PNG is no longer available

If you just want to know how to do binds , go on this tutorial
or jump to the bind part of this tutorial
Your cfg has to be in the ETmain folder of your wolfenstein ET folder or it wont work and do not forget to use /exec [nameofyourcfg] in console if it do not work

So first of all , i will start with explaining the "technical" part of the cfg (HUD,Graphics etc ...)


Bob settings

Code: Select all
seta cg_bobroll "0"
seta cg_bobpitch "0"

bob roll Sets extent of the bob roll (left/right) effect when moving./bob pitch same thing but for backward , forward.


Code: Select all
seta cg_bobup "0"   
seta cg_bobyaw "0"

bobup Sets extent of the vertical "bob" effect when moving./bobyaw Sets extent of the "bob" yaw (turn left/right) effect when moving.

This lines can help a lot in the precision :sld:

Blood settings
Code: Select all
1.seta cg_bloodDamageBlend "0"
2.seta cg_gibs "0"
3.seta cg_showBlood "0"
4.seta cg_bloodTime "0"
5.seta cg_bloodFlash "0"

1. Amount of blood flashed on screen when you take damage.
2.Toggles gibbage from splatted bodies.
3.Toggles showing blood spurt effect when player's are shot.
4.Duration of blood puddle effect on walls/floor etc.
5.Amount of blood flashed on screen when you take damage.


Crosshair settings

Code: Select all
1.seta cg_crosshairPulse "0"
2.seta cg_drawCrosshairPickups "1"
3.seta cg_cursorHints "4"
4.seta cg_drawCrosshairNames "1"
5.seta cg_crosshairColor "cyan"
6.seta cg_crosshairAlpha "1.0"

1.Toggles the crosshair changing size according to bullet spread.
2.toggle a hand icon when crosshair is over items you can pick up.
3.Toggles displaying action hint icons when near interactive objects.
4.Wether to draw the names of players when crosshair is on them.
5.Sets the colour of the crosshair ( for this one you have to put the name of the color between the "")
6.Sets the transparency of the crosshair

Marks
Code: Select all
1.seta cg_atmosphericeffects "0"
2.seta cg_marks "0"
3.seta cg_marktime "0"
4.seta cg_brassTime "0"
5.seta cg_wolfparticles "0"
6.seta b_tracers "0"

1.Toggles display of map effects like rain and snow
2.Remove marks on map (caused by explosions/bullets etc) if set to 0.
3.Duration of bullet marks on walls etc
4.Sets the duration ejected bullet shells etc last for.
5.Toggles display of particle effects – e.g. Explosions, some smoke effects.
6.0 = draw no bullet tracers, 1 = normal tracers, 2 = only other player's tracers


Graphics

Code: Select all
seta r_gamma "2.5"            // Sets gamma (form of brightness) level, gamma correction.
seta r_allowextensions "1"         // Toggle allowing video-driver opengl extensions. ##CB## EQ 1
seta r_primitives "0"            // Rendering method. Leave it to 0. ##CB## IN 0 2
seta r_depthbits "24"            // ##CB## IN 24 32
seta r_colorbits "0"            // Colour depth, 16/32.
seta r_texturebits "0"            // Number of bits for textures, stick to 32 as 16 is hardly better performance.
seta r_inGameVideo "0"            // Toggle use of video clips in game (limbo menu).
seta r_fastsky "1"            // Toggles wether the detailed skybox is drawn or just a basic sky
seta r_drawsun "0"            // Toggles drawing the image of the sun in the sky
seta r_dynamiclight "0"            // Toggles use of dynamic lighting effect
seta r_picmip "3"               // 0 is max quality, 3 for max performance.
seta r_mapoverbrightbits "3"         // Set brightness of light on textures.
seta r_overbrightbits "1"         // Brightness setting.
seta r_ignorehwgamma "1"         // Toggles ignoring the hardware gamma settings.
seta r_mode "-1"               // Set resolution.
seta r_customaspect "1"
seta r_customwidth "1024"         // To set width of a custom resolution. Use it with r_mode -1.
seta r_customheight "768"         // To set height of a custom resolution. Use it with r_mode -1.
seta r_subdivisions "20"         // Sets number of subdivisions of curves, increasing makes curves into straights. ##CB## IN 1 20
seta r_lodbias "2"            // Level of visual detail, especially at distance. -2 Most detail, 2 Least.
seta r_lodCurveError "60"         // Determines how quickly polygons are pulled out with distance. ##CB## GE 60
seta r_swapInterval "0"            // If 1 then vsync is on, if 0 then it's off.
seta r_flares "0"               // Toggle flare effect around certain dynamic lights. ##CB## IN 0 1
seta r_roundimagesdown "1"         // Set rounding down amount (lower = quality).
seta r_finish "0"               // Sync every frame
seta r_dlightbacks "1"            // Brighter areas are changed more by dlights than dark areas.
seta cg_shadows "0"            // ##CB## IN 0 1
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"   // Lets you set texture filtering
seta r_ext_compressed_textures "1"      // Compress textures or not (higher FPS if set to 1)
seta r_wolffog "0"            // Enables and disables fog.
seta r_drawfoliage "0"            // Toggles drawing foliage (e.g. All the grass on Radar)
seta r_faceplanecull "1"         // Wether to not render the hidden side of objects in view.
seta r_simplemipmaps "0"         // Smooth transitions between textures
seta r_intensity "1.5"            // Increases the brightness of texture colors.
seta cg_coronas "0"            // Toggles the corona effect around lights
seta r_ext_texture_filter_anisotropic "0" // Enable or disable anisotropic filtering. PBBans restricted...
seta r_textureAnisotropy "1"         // Set level of anisotropic texture filtering


Mouse settings
Code: Select all
seta m_pitch "0.01501"            // Sets the mouse pitch (up/down). ##CB## OUT -0.015 0.015
seta m_yaw "0.018"            // Sets the mouse yaw (left/right). ##CB## IN -0.022 0.022
seta m_filter "0"               // Toggles mouse filter (mouse smoothing).
seta cl_mouseAccel "0"            // Toggles mouse accelleration.
seta sensitivity "2.3"            // Used for setting the mouse sensitivity.

HUD Settings
Code: Select all
seta cg_fov "110"             // Sets the player's Field of View. ##CB## IN 9O 120
seta cg_drawgun "0"            // Toggles displaying your weapon
seta b_althud "2"               // Sets which ETPro alternative HUD design to use, (0, 1 or 2).
seta b_althudflags "6"             // If b_altHud is 1 or 2. 1 move roundtimer, 2 hide rank, 4 move messages.
seta b_muzzleflash "0"             // Toggles the weapon 'fire' being displayed.
seta b_drawranks "0"            // Toggles displaying ranks on the crosshair name popup
seta b_hudyoffset "0"            // Moves the HUD on the Y (vertical) axis of the screen.
seta b_numpopups "4"            // Sets the number of 'popups' on the HUD, (-1 to n, where -1=default, 0=none, n=number of popups).
seta cg_drawSmallPopupIcons "1"      // Show smaller popup messages (e.g. Death messages)
seta b_popuptime "0"            // Delay between the event and it's popup being displayed (1000 = 1 second).
seta b_popupfadetime "0"         // Time it takes for popups to fade (1000 = 1 second).
seta b_popupstaytime "3000"         // Duration popups remain on screen before starting to fade away (1000 = 1 second).
seta b_fireteamalpha "0.33"         // The alpha (transparency) of the Fireteam HUD display
seta b_chatAlpha "0.3"            // The alpha (transparency) of the background of chat text
seta cg_drawweaponiconflash "0"      // Flashes the weapon's icon on certain events
seta b_drawPromotions "0"         // Wether to give popup notification when you get a rank promotion
seta b_watermarkAlpha "0"         // The alpha (transparency) of the watermark HUD display, if the server has one.
seta b_drawRewards "0"            // Wether to display a text & audio notification when you get a skills increase
seta cg_complaintPopUp "0"         // Toggles wether to show the popup about filing complaints after a TK
seta b_drawspectatoralpha "0"         // Sets alpha transparency of "Spectator" HUD text.
seta b_votetextscale "0.6"         // Size/scale of the vote text
seta b_descriptiveTextscale "0.6"      // Size/scale of the texts like "Press L to open Limbo Menu"


Net and FPS settings
Code: Select all
// Net

seta cl_timenudge "0"            // Supposed to be for adjusting prediction for your ping. ##CB## EQ 0
seta cl_maxpackets "100"          // Cap for data packet transmissions (upstream). Leave at same value as com_maxfps. ##CB## IN 40 100
seta cl_packetdup "1"            // Duplicates your packets "n" amount of time
seta snaps "20"               // "Snapshots" for server to send you. ##CB## EQ 20
seta rate "25000"               // Cap on the connection bandwidth to use, 1000=~1KB/s. ##CB## IN 15000 25000

// FPS

seta com_maxfps "71"             // Sets cap on the frames per second. 125, 76 and 43 common 'tweak' values. 71 = less recoil. ##CB## IN 40 125
seta com_hunkMegs "64"            // Amount of memory (MB) assign to the hunk.
seta com_zoneMegs "24"            // Amount of RAM to allocate to... Zone? Map & texture loading?
seta com_soundMegs "48"            // Sets the amount of memory (MB) to allocate for loaded sound files.


Misc
Code: Select all
seta cg_predictitems "0"         // Your computer decides whether you have picked something up or not.
seta b_backupcvars "0"            // Wether to save a file of the original value of cvars changed via sv_cvar restrictions.
seta cl_allowdownload "1"         // Toggles downloading missing files from the server.
seta cg_noAmmoAutoSwitch "0"         // Toggles wether to change weapon when it is out of ammo.
seta cg_autoreload "0"            // Toggles automatically reloading weapon when clip becomes empty.
seta cg_autoactivate "1"         // Toggles automatically picking up items (paks, weapons etc).
seta cl_doubletapdelay "0"         // Sets the delay between keypresses required to be a double-tap
seta cl_punkbuster "1"            // Toggles Punkbuster anticheat for client
seta cl_autoupdate "1"            // 1 = Automatic PB update checks on launch.
seta cg_weaponCycleDelay "0"         // Delay between accepting a new weapon has been selected, due to mousewheel errors
seta scr_conspeed "9999"         // Speed to display the console.
seta b_logbanners "0"            // Toggles server banners also appearing in your console
seta b_fireteamLatchedClass "1"      // Toggle showing latched playerclass instead of rank (fireteam hud display)
seta cg_centertime "2"            // How much time in seconds stay the words "you killed ***"
seta b_mapzoom "5"            // Compass zoom.
seta cg_autoAction "0"            // 3 for Demo + SS




BINDS part
you can find tutorial about Text binds here and here

now let's talk about special binds , like class binds
Code: Select all
set classfieldop "vstr classrecycle; class f 1; echo "^3>^zClass: ^7Fieldops";say_team "^3>^zClass: ^7Fieldops""

here , when you select the field ops class , it will do an echo on your screen it should display : class:Field ops, and normally it will automatically send on team chat that you choosed field ops class . it can be usefull sometimes .

Code: Select all
set classengi "vstr classengi1"
set classengi1 "vstr classrecycle; class e 1; set classengi vstr classengi2; echo "^3>^zClass: ^7Engi^o/^7smg"; say_team "^3>^zClass: ^7Engi^o/^7smg""
set classengi2 "class e 2; set classengi vstr classengi1; echo "^3>^zClass: ^7Engi^o/^7riflenade"; say_team "^3>^zClass: ^7Engi^o/^7riflenade""

set classfieldop "vstr classrecycle; class f 1; echo "^3>^zClass: ^7Fieldops";say_team "^3>^zClass: ^7Fieldops""

set classsoldier "vstr classsoldier1"
set classsoldier1 "vstr classrecycle; class s 4; set classsoldier vstr classsoldier2; echo "^3>^zClass: ^7Soldier^d/^7panzer";say_team "^3>^zClass: ^7Soldier^d/^7panzer""
set classsoldier2 "class s 5; set classsoldier vstr classsoldier3; echo "^3>^zClass: ^7Soldier^d/^7mortar"; say_team "^3>^zClass: ^7Soldier^d/^7mortar""
set classsoldier3 "class s 2; set classsoldier vstr classsoldier4; echo "^3>^zClass: ^7Soldier^d/^7mg42"; say_team "^3>^zClass: ^7Soldier^d/^7mortar""
set classsoldier4 "class s 3; set classsoldier vstr classsoldier1; echo "^3>^zClass: ^7Soldier^d/^7flamer";say_team "^3>^zClass: ^7Soldier^d/^7flamer""

set classmedic "vstr classrecycle; class m 1; echo "^3>^zClass: ^7Medic"; say_team "^3>^zClass: ^7Medic""

set classcovop "vstr classcovop1"
set classcovop1 "vstr classrecycle; class c 1; set classcovop vstr classcovop2; echo "^3>^zClass: ^7Covert^a/^7sten"; say_team "^3>^zClass: ^7Covert^a/^7sten""
set classcovop2 "class c 2; set classcovop vstr classcovop3; echo "^3>^zClass: ^7Covert^a/^7fg42"; say_team "^3>^zClass: ^7Covert^a/^7fg42""
set classcovop3 "class c 3; set classcovop vstr classcovop1; echo "^3>^zClass: ^7Covert^a/^7sniper"; say_team "^3>^zClass: ^7Covert^a/^7sniper""
set classrecycle "set classengi vstr classengi1; set classcovop vstr classcovop1; set classsoldier vstr classsoldier1"

here is the full class selector .
if you choose covert ops with fg42 wit will say to your teamates what you choosed automatically.


Then spawn selector
Code: Select all
set spawn1 "setspawnpt 1; set spawntoggle vstr spawn2; echo ^7Spawn : 1"
set spawn2 "setspawnpt 2; set spawntoggle vstr spawn3; echo ^7Spawn : 2"
set spawn3 "setspawnpt 3; set spawntoggle vstr spawn4; echo ^7Spawn : 3"
set spawn4 "setspawnpt 4; set spawntoggle vstr spawn5; echo ^7Spawn : 4"
set spawn5 "setspawnpt 5; set spawntoggle vstr spawndefault; echo ^7Spawn : 5"
set spawndefault "setspawnpt 0; set spawntoggle vstr spawn1; echo ^7Spawn : Default"
set spawntoggle "vstr spawn1"

With this you can choose in wich spawn you want to start, you can even choose your spawn , but i do not know if it works on #ET|Server|so when you touch 1 it will spawn you on the 1st one .


then to finish i need to add one more thing about text binds :
here is the code to change your nickname when you reload
Code: Select all
bind r "vstr nameCycle"
seta nameCycle "vstr name6"
seta name2 "name ;seta nameCycle vstr name3;+reload ;wait 10 ;-reload"
seta name3 "name urname;seta nameCycle vstr name4;+reload ;wait 10 ;-reload"
seta name4 "name urname;seta nameCycle vstr name5;+reload ;wait 10;-reload"
seta name5 "name urname;seta nameCycle vstr name6;+reload ;wait 10;-reload"
seta name6 "name urname;seta nameCycle vstr name7;+reload ;wait 10;-reload"
seta name7 "name urname;seta nameCycle vstr name8;+reload ;wait 10;-reload"
seta name8 "name urname;seta nameCycle vstr name9;+reload ;wait 10;-reload"
seta name9 "name urname;seta nameCycle vstr name1;+reload ;wait 10;-reload"
seta name1 "name urname;seta nameCycle vstr name2 ;+reload ;wait 10 ;-reload


seta name urname


here is an example of cfg with all explanations , Enjoy :D
example.cfg
(15.46 KiB) Downloaded 385 times



Thank you a lot for reading :)
I really hope it will be usefull .

don't hesitate to tell me if i made a mistake , or if you want to add something , then do it :sld:

Espada numero 4 > Ulquiorra :rose:
Image

Recruiting is the best way to help a clan :rose:

Image

Image

User avatar
Wīñd
.
 
Posts: 3832
Joined: Sun Feb 10, 2013 5:15 pm
Location: N'Dranghetta HQ
Home-Game: Wolfenstein Enemy Territory
Favourite Weapon: my best weapon is recruiting .
Wolfenstein ET Name: #ET|Wind|*
Steam Name: Ulquiorra
Clan Wars: 3

Re: [Tutorial]The complete guide of a configuration (cfg)

Postby FuRious » Fri Jan 08, 2016 10:00 pm

Good work, it will help many players :P
Image
User avatar
FuRious
.
 
Posts: 8637
Joined: Fri Feb 10, 2012 9:22 pm
Location: France, Lyon
Home-Game: Wolfenstein Enemy Territory
Favourite Weapon: My Knife
Wolfenstein ET Name: #ET|FuRi@u$|
Steam Name: etfurious1
Clan Wars: 0

Re: [Tutorial]The complete guide of a configuration (cfg)

Postby Straw » Fri Jan 08, 2016 11:18 pm

Perfect :up:
User avatar
Straw
.
 
Posts: 8449
Joined: Fri Jun 17, 2011 2:35 pm
Location: France, Laval
Home-Game: Wolfenstein Enemy Territory
Favourite Weapon: Multiband Compressor
Wolfenstein ET Name: #ET|Straw|
Steam Name: Mansikka
Clan Wars: 1

Re: [Tutorial]The complete guide of a configuration (cfg)

Postby Fenely » Sat Jan 09, 2016 7:23 pm

Good Men ! :up:
Good Game ! Enjoy Your Stay Bro ! :D

Image
Look This Exhaust Pipes ! :o
User avatar
Fenely
.
 
Posts: 149
Joined: Sun Oct 11, 2015 11:42 am
Location: France, Beaumetz
Home-Game: Wolfenstein Enemy Territory
Favourite Weapon: Thomson
Wolfenstein ET Name: #ET|FenelY|
Steam Name: MrLeGrincheuxEstLa
Clan Wars: 0


Return to Gaming Help

  • Advertisement