Silent Mod Client Cvar

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

Cvars

cg_drawTime

cg_drawTimeSeconds 

cg_hud

cg_panzerhack

cg_logConsole 

cg_gun_fovscale 

cg_weapaltReloads 

cg_drawRanks 

cg_fireteamAlpha 

cg_lagometerAlpha 

cg_chatAlpha 

cg_watermarkAlpha 

cg_specAlpha 

cg_dynoCounter 

cg_maxTeamDynas 

cg_maxEnemyDynas 

cg_drawClassIcons 

cg_drawCrosshairHP 

cg_autoSelectFTMembers 

cg_tracers 

cg_countryFlags 

cg_gibs 

cg_followFT 

cg_showCountDown 

cg_wbShowDuration 

cg_wbOrientation 

cg_wbWideSlots 

cg_landmineNotifyType 

cg_tdmShow 

cg_tdmTimeBar 

cg_locations 

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