Silent Mod Client Cvar

From MyGamingTalk
Revision as of 02:04, 13 April 2011 by Hellreturn (talk | contribs)

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: 1

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

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