You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the 2.81.0, ET:Legacy introduced a new way to fully customize all HUD components by using the in-game editor and using the extended json hud file.
More than 50 components are currently customizable, with generic customization options and for some more specifics linked to styles options.
The HUD file is compatible with both 4:3 and 16:9 resolution. Position adjustment is done automaticly and component aspect ratio are conserved.
The HUD view is a 640 per 480 virtual grid, rescaled horizontaly depending of aspect ratio.
Old hud.dat file is still compatible with new system, but the visual aspect may changes depending of the component.
The in-game editor is reachable by using the menu UI Menu -> Options -> View -> HUD Editor,
or by typing in console the edithud command,
or by using binded F7 key (customizable).
Note: The HUD editor is not available from main menu.
The HUD editor is divided in 3 differents frames :
Rescaled in-game view
Customization panel on the left
Components selection panel on the bottom
Components can be toggle visible / invisible, which allow their usage or not. An invisible component is not rendered at all and the related functionnality aren't called.
There are 5 pre-existing HUDs available. They can't be modified or deleted :
ETmain (HUD 0 the default)
Alternate Hud 1
Alternate Hud 2
Alternate Hud 3
Competitor Hud
Shoutcaster
To start creating / setting a custom HUD, it is required to clone (copy) an existing HUD.
HUD view window
The rescaled HUD view allow reposionning visible elements by selecting them with left mouse buton then doing a drag & drop movement.
Drag & drop is achievable by holding left mouse buton on a component, moving the mouse cursor in the HUD view and release the left mouse butoon to the new wanted position.
On fly over a visible component with mouse cursor, a green rectangle outline the component indicating the possibility to select it. Also, a tooltip showing the component name is displayed.
Once selected, the component outline color change to yellow and it gain the focus for customization.
When 2 or more components are stacked under the same cursor position, it is possible to do multiple left click with mouse to select the differents components.
Components selection panel
The components selection panel list all the components availables for customization and allow selection of a component.
The text color may change depending of the components visibily and/or selection state :
Yellow : The current selected component
Green : Visible components
Red : Invisible components
Settings customization panel
The settings customization panel provide options to manage HUDs and customize selected component in HUD view or component selection panel.
The panel is divided in 4 differents categories :
HUD setup, to select and manipulate HUD:
Select HUD :list of HUD index number used to select the HUD to display/use.
NOTE: This modify the related cg_altHud cvar.
Save : Save ALL the HUDs mofication into hud.dat file
Clone : Duplicate the selected HUD to a free HUD index and select it. It doesn't save it in hud.dat file.
Delete : Delete the selected HUD from hud.dat file. The selected HUD will change to the default one (0: ETmain)
Reset component : Reset ALL settings from the selected component to the default values from HUD (0: ETmain)
Name : HUD name which can be used to select HUD with cg_altHud cvar from the name
Parent : HUD parent name used to default value components. If No parent is selected, the saved HUD will copy all the comps values in the HUD file. The HUD become standalone.
Position & Size, to modify component position and size according 4 values:
X : Abscissa coordinate
Y : Ordinate coordinate
W : Width
H : Height
Text, to modify font size and style
S : Scale ratio, depending of original font size, where 100% is the default
Align : Font alignment depending of component position, see :ref:`Align Text`
Color & Style, to colorize the component and customize the style:
Main : Main color, see Component Color
Second : Secondary color, see Component Color
Backgrnd : Background color, delimited by the size of the component
Border : Border color, delimited by the size of the component with a width of 1px
R: Red color selector ranged from 0 to 255
G: Green color selector ranged from 0 to 255
B: Blue color selector ranged from 0 to 255
A: Alpha (aka transparency) selector ranged from 0 to 255
Style: Customizable options separated in 2 categories, generic option and specific one. All component have access to generic option, but not all use specific one. See Component Style.
Visible : Toggle the component visibility
AutoAdj : Toggle the automatic adjustement of the border position and size depending of the content
Background : Toggle the background visibility
Border : Toggle the border visibility
Usage
Key Sequences
Description
Down Arrow
Move down a component by 1px
Left Arrow
Move left a component by 1px
Up Arrow
Move up a component by 1px
Right Arrow
Move right a component by 1px
CTRL (hold) + Arrow
Move to direction by 0.1px
SHIFT (hold) + Arrow
Move to direction by 5px
ALT (hold) + Arrow
Resize by enlarging to the right / down or shrinking to the left / up by 1px
ALT (hold) + CTRL (hold) + Arrow
Resize by 0.1px to pressed arrow direction
ALT (hold) + SHIFT (hold) + Arrow
Resize by 5px to pressed arrow direction
Mouse wheel down
Enlarge by 1px the width and the height without moving the component
Mouse wheel up
Shrink by 1px the width and the height without moving the component
CTRL (hold) + Mouse wheel down/up
Resize on position by 0.1px
ALT (hold) + Mouse Wheel down/up
Resize scale/text size instead of component size
Insert
Move component to the center of the HUD
Home
Move component to the middle width of the HUD (if on the right of it) or to the left of the HUD
End
Move component to the middle width of the HUD (if on the left of it) or to the right of the HUD
Page up
Move component to the middle height of the HUD (if under it) or to the top of the HUD
Page Down
Move component to the middle height of the HUD (if above it) or to the bottom of the HUD
l
Toggle the layout visibilty of None / Visible / All components (aka outline)
h
Toggle the help window visibility
n
Toggle the noise generator to simulate components animation
f
Toggle the HUD editor in full screen (back to normal resolution and hiding component and settings panel)
v
Toggle visibility of focused component
ALT (hold) + SHIFT (hold) + v
Sets all components visible
a
Toggle the force alignment of component position on the grid when displayed
o
Toggle the micro grid visibility
c
Toggle the grid visibility to different level from None / Major / Major + Minor / Major + Minor + Rectangle Centered
d
Toggle the grid scaling to different level of precision .25 / .125 / .1 (see Scale Table below)
t
Toggle showing only the focused component
Scale Table
Grid
.25 / tick (1:4)
.125 / tick (1:8)
.1 / tick (1:10)
Tickness (px)
Major
25 %
12.5%
10%
0.5px
Minor
12.5%
6.25%
5%
0.25px
Rectangle
25%
12.5 / 25 / 37.5%
10 / 20 / 30 / 40%
1.25px
Micro
6.25%
1,5625%
1%
0.1px
Components List
banner
Description:
The banner text display custom message received from server bp command (Banner Print)
Game type Availability:
All
Type:
Multiline Text
Color
Description
Main Color
Font color
Secondary Color
N/A
Style Name
Description
Values
N/A
N/A
N/A
breathbar
Description:
The breath bar indicating the remaining time to hold breath under water before starting to drow
Game type Availability:
All
Type:
Bar
Color
Description
Main Color
Bar color. If Lerp Color is set, used as Max value color
Secondary Color
Bar Min color if Lerp Color is set
Style Name
Description
Values
Left
Move maximum on left. If Vertical is set, maximum is on top. Ignored if Center is set
1
Center
The minimum start from the center of the bar and is filled to both of the opposite direction
2
Vertical
Change the bar orientation vertically
4
No Alpha
Unused
8
Bar Bckgrnd
Draw background color for the bar only. The color is set by Background Color
16
X0 Y5
Avoid the 5px margin on X. Applied if Bar Bckgrnd is set
32
X0 Y0
Avoid the 5px margin on X and Y. Applied if Bar Bckgrnd is set
64
Lerp Color
Gradient the color alpha depending of Main Color and Secondary Color
128
Bar Border
Draw the bar border with a thickness of 2px. Overwritted if Border Tiny is set
256
Border Tiny
Reduce the bar border thickness to 1px. Applied if Bar Border is set
512
Decor
Draw the decor outlining the bar
1024
Icon
Draw the icon depending of Left and Vertical values set
2048
breathtext
Description:
The breath text in "%" indicating the remaining time to hold breath under water before starting to drow
Game type Availability:
All
Type:
Text
Color
Description
Main Color
Font color
Secondary Color
N/A
Style Name
Description
Values
Draw Suffix
Draw the % Suffix
1
centerprint
Description:
The center text display custom or kill/revive message received from server cp command (Center Print)