## etpub client documentation

cvars
commands General Changes

### cvars

cg_drawTime [0|1|2]

  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

cg_drawTimeSeconds [0|1]

  When set to 1, will display the seconds as well on the time. Requires cg_drawTime set to either 1 or 2

cg_hud

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

cg_panzerhack [0|1]

  Put your SMG in weaponbank 2 (instead of bank 3) when you're a soldier with level 4 Heavy Weapons

  Default: 1

### Commands

loadhud
  used to load a custom hud from a .hud file contained in a pk3 file. Also able to "/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
  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

  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
  Dumps the current hud settings to the console in format used to create a .hud file

### General Changes

- New etpub in-game menu for configuring the cg_drawTime cvars
- Integrates many of Chruker's "Project: Bug Fix" fixes.
- Support for the 'forcecvar' server command.
- Uses etpub's player movement code, so client prediction will better match the server.
- If ETPro's etpromapscripts are used, you won't see the message "You are near the Back Door" on battery unless you use it. (support for EF_FAKEBMODEL).
- When playing dead, you don't see the text about being wonded and waiting for a medic.
- On servers with the g_weapons flags 2 or 4, you won't hear the predicted 'click' sound when using syringe or pliers underwater.
- '+lookdown' and '+lookup' commands are disabled to prevent scripted anti-recoil cheats.