Silent Mod Client Cvar

From MyGamingTalk

Cvars

cg_drawTime

Description
Decides whether to draw the current local time beneath the FPS display. When set to 1, it will display 24 hour clock, when set to 2, it will display a 12 hour clock, with am/pm
Usage
cg_drawTime [0|1|2]

cg_drawTimeSeconds 

Description
When set to 1, will display the seconds as well on the time. Requires cg_drawTime set to either 1 or 2
Usage
cg_drawTimeSeconds [0|1]

cg_hud

Description
The name of your current hud, which will be loaded upon startup

cg_panzerhack

Description
Put your SMG in weaponbank 2 (instead of bank 3) when you're a soldier with level 4 Heavy Weapons
Usage
cg_panzerhack [0|1]

cg_logConsole 

Description
Log centerprints and/or banners to your console
Usage
cg_logConsole [bitmask]
1 Log Centerprints
2 Log Banners
Default : 1

cg_gun_fovscale 

Description
Scale the gun when you use different FOV
Usage
cg_gun_fovscale [0|1]
Default: 0

cg_weapaltReloads 

Description
Hitting altfire (usually right mouse button) when holding a weapon that doesn't have an alternative fire will reload the weapon
Usage
cg_weapaltReloads [0|1]
Default: 0

cg_drawRanks 

Description
When 1 the rank (for example "Private") will be shown in front of the name when you look at a player in your team. When 2 it will only show the short rank ("Pvt" for exmaple) and when 0 it won't show any rank.
Usage
cg_drawRanks [0|1|2]
Default: 1

cg_fireteamAlpha 

Description
Determines the level of transparency of the fireteam window
Usage
cg_fireteamAlpha [0.0 - 1.0]
Default: 0.6

cg_lagometerAlpha 

Description
Determines the level of transparency of the lagometer
Usage
cg_lagometerAlpha [0.0 - 1.0]
Default: 1.0

cg_chatAlpha 

Description
Determines the level of transparency of the chat texts at the bottom of your screen.
Usage
cg_chatAlpha [0.0 - 1.0]
Default: 0.33

cg_watermarkAlpha 

Description
Determines the level of transparency of the watermark, if the server has one. Note that the server might set a transparency themselves. In that case the watermark alpha will be the product of these transparency levels.
Usage
cg_watermarkAlpha [0.0 - 1.0]
Default: 1.0

cg_specAlpha 

Description
Determines the level of transparency of the SPECTATOR text.
Usage

cg_dynoCounter 

Description
Displays a counter in your HUD that will countdown untill a dynamite on an objective explodes. This will not spam the chat/cpm
Usage
cg_dynoCounter [0|1|2]
1 Visual
2 Textual
Default: 1

cg_maxTeamDynas 

Description
The number of dynamites of your own team that will be displayed in the counter
Usage
cg_maxTeamDynas [0-8]
Default: 4

cg_maxEnemyDynas 

Description
The number of dynamites of your enemy that will be displayed in the counter
Usage
cg_maxEnemyDynas [0-8]
Default: 4

cg_drawClassIcons 

Description
Changes Classtexts into ClassIcons
Usage
cg_drawClassIcons [bitmask]
1 In crosshair names
2 In fireteam
4 On scoreboard
Default: 7

cg_drawCrosshairHP 

Description
Draw textual HP instead of the healthbar when aiming at someone
Usage
cg_drawCrosshairHP [0|1]
Default: 0

cg_autoSelectFTMembers 

Description
Toggles automatic selection of your fireteam members
Usage
cg_autoSelectFTMembers [0|1]
Default: 0

cg_tracers 

Description
Enables/disables drawing the bullet tracers:
Usage
cg_tracers [0|1|2]
0 No tracers.
1 All tracers.
2 All but your own tracers.
Default: 1

cg_countryFlags 

Description
Show the GeoIP country flags
Usage
cg_countryFlags [bitmask]
1 On scoreboard
2 In crosshair names
Default: 3

cg_gibs 

Description
Toggles the display of gib models.
Usage
cg_gibs [0|1]
Default: 1

cg_followFT 

Description
Decides how players are picked up to be followed in spec.
Usage
cg_followFT [0|1|2]
0 disables feature (works as usual then)
1 follow Fire Team members first when in spec
2 follow only Fire Team members when in spec.
Options 1 and 2 work only when the player is in the Fire Team.
When the player is not in FT then they do not infuence the spec behaviour.
Default: 0

cg_showCountDown 

Description
Show last 3 secs warmup countdown.
Usage
cg_showCountDown [0|1|]
0 Don't show countdown
1 Show countdown
Default: 1

cg_wbShowDuration 

Description
Display time of weapon banks in miliseconds (0 = off)
Usage
cg_wbShowDuration [0-5000] in msecs
0 Don't show weapon banks
1 to 5000 Other values up to 5000 show weapon banks display
Default: 1000 (1 sec)

cg_wbOrientation 

Description
Orientation of weapon banks display.
Usage
cg_wbOrientation [0|1]
0 horizontal
1 vertical
Default: 1 (vertical)

cg_wbWideSlots 

Description
Should wide slots be used for wide weapon icons.
Usage
cg_wbWideSlots [0|1]
0 Don't use wide slots, use the same size for all weapons
1 Use wide slots for wide weapon icons
Default: 1

cg_landmineNotifyType 

Description
Decide which landmine reveal notifications player wants to receive.
Server can send two types of landmines reveal notification.
1 Standard one, generated (sent) for each landmine revealed.
2 Summary one, which is sent after player spotting landmines stops using binoculars. It's generated after each binculars zoom.
Usage
cg_landmineNotifyType [0|1|2]
0 only standard notfications (for each landmine revealed).
1 only single summary notifications for one binocs zoom. New type of notification.
For example: during one binocs zoom, 3 mines were revealed, but only 1 summary notification is received. It contains information: 3 mines spotted by "player name" and last one was in location "some location"
2 Don't receive any landmine notifications.
Default: 0 (only standard notifications)

cg_tdmShow 

Description
Specify the way the Team Death Match (TDM) score is displayed.
The TDM score can be displayed in two ways. It can be displayed all the time or it can be displayed when the +tdmScore command is issued in the console or the bound key to that command is pressed.
Usage
cg_tdmShow [0|1]
0 Show only when the bound key is pressed.
1 Show TDM score all the time.
Default: 1 (show all the time)

cg_tdmTimeBar 

Description
Specify if the Team Death Match (TDM) time progress bar is to be shown below the TDM score. The TDM time progress bar is shown only when the Team Deatch Match has time limit specified.
Usage
0 Don't show time progress bar.
1 Show TDM time progress bar.
Default: 1

cg_locations 

Description
Specify the way the map locations are displayed (in Fire Team display for example).
Usage
cg_locations [0|1|2]
0 Display only X,Y coordinates.
1 Display only location name.
2 Display X,Y coordinate and location name.
Default: 1

ui_theme

Description
This cvar allows to switch between silEnT themes. silEnT themes is the UI feature that added new fresh feel to menus and some HUD elements. silEnT mod has 2 themes available to choose from.
Usage
ui_theme [1|2]
1 Use the 1st theme to draw UI.
2 Use the 2nd theme to draw UI.
Default: 2

cg_themedCMap

Description
Specify the way the command map should be drawn (themed one or the standard one). Corresponds to ui_theme cvar. Depending on the theme specified by the ui_theme cvar the command map frame will be drawn differently.
Usage
cg_themedCMap [0|1]
0 Don't use silEnT themes to draw command map frame.
1 Draw command map with themed frame.
Default 0

cg_themedDraws

Description
Specifies how draws (time, fps, timer, speedometer), K/D/S display and lagometer are drawn. Corresponds to ui_theme cvar. Depending on the theme specified by the ui_theme cvar the elements mentioned above will be drawn differently.
Usage
cg_themedDraws [0|1]
0 Don't use silEnT themes to draw draws, K/D/S and lagometer.
1 Use silEnT themes to draw draws, K/D/S and lagometer.
Default 1

ui_themedCursor

Description
Disables or enables themed mouse cursor. Corresponds to ui_theme cvar. Depending on the theme specified by the ui_theme cvar the mouse cursor will be different.
Usage
ui_themedCursor [0|1]
0 Don't use silEnT themes to draw mouse cursor.
1 Draw themed mouse cursor.
Default 1

cg_hitSoundType

Description
Player selection of the hit sounds. Starting from silEnT mod 0.6.0, the players can choose what kind of hit sounds are played. If this cvar is set to 0, the hitsounds are determined by the server g_defaultHitSounds setting and possible overloaded hit sound files in custom pk3 files.
Usage
cg_hitSoundType [0|1|2|3]
0 Use server defined hit sounds.
1 Use strictly silEnT hit sounds.
2 Use strictly ETPro hit sounds.
3 Use strictly ETPub hit sounds.
Default 0

cg_effectDistance

Description
Players can adjust what is the maximum distance that bullet effects are drawn. This can give slight performance improvement in maps with large open areas by not drawing effects to a distance player can't see them anyway. These effects include trails in the water, splashes, smoke pufs and different impact marks on the surfaces. This setting does not effect the sounds or the tracers.
Usage
cg_effectDistance [integer]
Default 4000

cg_killsDisplay

Description
Defines the shown kill spree counter values.
cg_killsDisplay [0|1|2|3|4]
0 Disabled
1 Show Total Kills and Total deaths
2 Show Total Kills, Total Deaths and Sprees
3 Show Total Sprees
4 Total kills
Default 0


cg_kspreepos

Description
Controls where the killing spree announcements are displayed.
cg_kspreepos [0|1|2|3|4]
0 Disabled
1 Popup
2 Chat area
3 Banners
4 Center Print
Default 0


cg_objcarry

Description
Disables or enables drawing of enemy objective carry indicator.
Draws enemy objective counter when enemy team is carrying objective. In order to make this work server is required to have g_misc 1024 bitflag set.
cg_objcarry [0|1]
0 Disabled
1 Enabled - draw carry indicator.
Default 1

Commands

Private Message

Description
Send private message to all players matching the partial name.
Usage
m [partialname] [message]


Description
Send private message to all players on your team that match the partial name.
Usage
mt [partialname] [message]

loadhud

Description
Used to load a custom hud from a .hud file contained in a pk3 file. Also able to "/loadhud ?" to show a list of available huds, "/loadhud blank" to load a blank hud, or "/loadhud" to load the default ET hud. When loading a hud, the default ET is loaded first, then the custom HUD overwrites any values specified. So if a HUD element isn't specifically disabled in a custom HUD, it will be in ET default position.

edithud

Description
Used to edit the hud in realtime. Can also be used to script a hud so that server admins don't have to package .hud files into pk3
Usage

format: /edithud elementName [value1] [value2] . . . . [valueX]

Current elementNames and (values) are as follows:

  • ammocount (x, y, scale)
  • chargebar (x, y, width)
  • compass (x, y, size)
  • upperright (y)
  • fireteam (x, y, width)
  • flagcov (x, y)
  • head (x, y, width, height)
  • healthbar (x, y, width)
  • healthtext (x, y, scale)
  • lagometer (x, y)
  • overheat (x, y, width, height)
  • skillbox1 (x, y, size)
  • skillbox2 (x, y, size)
  • skillbox3 (x, y, size)
  • skillpic1 (x, y, size)
  • skillpic2 (x, y, size)
  • skillpic3 (x, y, size)
  • skilltext1 (x, y, scale)
  • skilltext2 (x, y, scale)
  • skilltext3 (x, y, scale)
  • staminabar (x, y, width)
  • weaponcard (x, y, size)
  • xptext (x, y, scale)
  • cpmtext (x, y, scale)
  • chattext (x, y, scale)
  • votefttext (x, y)
  • livesleft (x, y)

All items except skilltextX are part of the original ET hud. skillTextX is a textual representation of the xp levels, i.e. 0, 1, 2, 3, 4. The skill[box,pic,text] elements correspond as follows, 1 = class specific skills, 2 = battle sense, 3 = light weapons

Default scale values, where used, is 25 in the default ET hud.

upperright represents the spawn counter/game timer, clock, FPS normally displayed on the right side of the screen.

(x,y) are based on a 640 x 480 scale, regardless of the actual screen resolution that ET is running. Therefore (0,0) is upper left, (640,480) is lower right and (320, 240) is crosshairs

To disable an element entirely, set the first value to -1. Currently votefttext CANNOT be disabled

dumphud

Description
Dumps the current hud settings to the console in format used to create a .hud file

dropweapon

Description
Drops the player's primary weapon.

Shoutcast Login

Description
Logs the player into shoutcasting mode.
Usage
sclogin [password]
shoutcastlogin [password]

Shoutcast Logout

Description
Removes the player's own shoutcaster status.
Usage
sclogout
shoutcastlogout

timerset

Description
Sets enemy spawntimer (shown in red). You need to give the value for the timer. Not giving any value will disable the spawntimer.
Usage
timerSet [1-60]

resetTimer

Description
Resets the enemy spawn timer to the value which was given when timerSet was called. This command will do nothing if timerSet hasn't been called before.

lua_status

Description
Shows information about the scripts currently loaded by the Lua API engine.

silent_version

Description
Shows information about the running client and server version.

Autoexec Files/Config

The silEnT client now has the ability to automatically execute certain config (*.cfg) files upon certain events:

Executed when you join a team (or become a spectator)

autoexec_allies.cfg, autoexec_axis.cfg, autoexec_spectator.cfg

Executed when the map switches to <mapname>. autoexec_default.cfg is always executed after the autoexec_<mapname>.cfg file.

autoexec_<mapname>.cfg, autoexec_default.cfg

Executed when you switch classes

autoexec_soldier.cfg, autoexec_medic.cfg, autoexec_engineer.cfg, autoexec_fieldops.cfg, autoexec_covertops.cfg

Note1: If any of these files do not exist they simply will not be executed, there will not be any error messages.

Note2: These filenames are casesensitive on linux.