gunhud_screen ![modular_bandastation/gunhud/code/gunhud_screen.dm 15](git.png)
Vars | |
backing_color | This is the color assigned to the OTH backing, numbers and indicator. |
---|---|
indicator | This is the custom indicator sprite that will appear in the box at the bottom of the ammo hud, use this for something like semi/auto toggle on a gun. |
oth_backing | This is the "backlight" of the numbers, and only the numbers. Generally you should leave this alone if you aren't making some mutant project. |
oth_h | OTH position 00X |
oth_o | OTH position X00 |
oth_t | OTH position 0X0 |
Procs | |
set_hud | This is the main proc for altering the hud's appeareance, it controls the setting of the overlays. Use the OTH and below variables to set it accordingly. |
turn_off | This proc simply resets the hud to standard and removes it from the players visible hud. |
turn_on | This proc turns the hud on, but does not set it to anything other than the currently set values |
Var Details
backing_color ![modular_bandastation/gunhud/code/gunhud_screen.dm 23](git.png)
This is the color assigned to the OTH backing, numbers and indicator.
indicator ![modular_bandastation/gunhud/code/gunhud_screen.dm 37](git.png)
This is the custom indicator sprite that will appear in the box at the bottom of the ammo hud, use this for something like semi/auto toggle on a gun.
oth_backing ![modular_bandastation/gunhud/code/gunhud_screen.dm 25](git.png)
This is the "backlight" of the numbers, and only the numbers. Generally you should leave this alone if you aren't making some mutant project.
oth_h ![modular_bandastation/gunhud/code/gunhud_screen.dm 33](git.png)
OTH position 00X
oth_o ![modular_bandastation/gunhud/code/gunhud_screen.dm 29](git.png)
OTH position X00
oth_t ![modular_bandastation/gunhud/code/gunhud_screen.dm 31](git.png)
OTH position 0X0
Proc Details
set_hud
This is the main proc for altering the hud's appeareance, it controls the setting of the overlays. Use the OTH and below variables to set it accordingly.
turn_off
This proc simply resets the hud to standard and removes it from the players visible hud.
turn_on
This proc turns the hud on, but does not set it to anything other than the currently set values