Garry's Mod

Garry's Mod

Not enough ratings
Zombie-Survival HUD Console Commands
By Frost
This isn't an actual guide, this is meant to hold all of the Console Commands for my Zombie-Survival HUD Addon.
   
Award
Favorite
Favorited
Unfavorite
General Console Commands
Console Commands:
For Controlling the HUD
Description
Default Value
zshud_enable
Enables the Entire ZS HUD and makes it Visible.
Default Value: N/A
zshud_disable
Disables the Entire ZS HUD and makes it Invisible.
Default Value: N/A
zshud_height
Controls the Height of the HUD, use it to make it Smaller.
Default Value: 220
zshud_health_hudmode
Static Mode prevents the Health Color from changing when Health is decreasing.
Default Value: 0
zshud_armor_hudmode
Static Mode prevents the Armor Color from changing when Armor is decreasing.
Default Value: 0
zshud_aux_hudmode
Static Mode prevents the Aux Power Color from changing when Aux Power is decreasing.
Default Value: 0
zshud_lock_animation
Makes the HUD Animation NOT change if Player does any action.
Default Value: 0
zshud_enable_hudgradient
Adds a Black Gradient Background to the HUD.
Default Value: 1
zshud_static_ammo_mode
Static Mode prevents the Ammo Color from changing when the Ammo is decreasing.
Default Value: 0
NOTE: The Height Command Requires Map Reload for the Change to take Effect! Recommended Value: 185 or 195.

• For Toggling Specific Parts of the HUD ON & OFF:
Health & Armor Counters
Description
Default Value
• zshud_enable_hpcounter
Enables the Health Counter. (1 to Enable it, 0 to Disable it)
Default Value: 1
• zshud_enable_armorcounter
Enables the Armor Counter. (1 to Enable it, 0 to Disable it)
Default Value: 1

Health & Armor Bars
Description
Default Value
• zshud_enable_hpbar
Enables the Health Bar. (1 to Enable it, 0 to Disable it)
Default Value: 1
• zshud_enable_armorbar
Enables Armor Bar. (1 to Enable it, 0 to Disable it)
Default Value: 1

Health Status & Armor Status
Description
Default Value
• zshud_enable_hpstatus
Enables Health Status. (1 to Enable it, 0 to Disable it)
Default Value: 1
• zshud_enable_armorstatus
Enables Armor Status. (1 to Enable it, 0 to Disable it)
Default Value: 0

Ammo Counters
Description
Default Value
zshud_enable_reserve_counter
Enables the Reserve Ammo Counter.
Default Value: 1
zshud_enable_clip_counter
Enables the Ammo Counter for the Clip.
Default Value: 1
zshud_enable_alt_counter
Enables the Alt Ammo Counter.
Default Value: 1

Aux Power Commands
Description
Default Value
• zshud_enable_auxcounter
Enables Aux Power Counter. (1 to Enable it, 0 to Disable it)
Default Value: 1
• zshud_enable_auxbar
Enables Aux Power Bar. (1 to Enable it, 0 to Disable it)
Default Value: 1
• zshud_enable_auxstatus
Enables Aux Power Status. (1 to Enable it, 0 to Disable it)
Default Value: 0
HUD Positioning & Resizing
• For Positioning the HUD:

HP Counter Position
Description
Default Value
• zshud_hpcounter_pos_x
Sets the X Position for the Health Counter.
Default Value: 4
• zshud_hpcounter_pos_y
Sets the Y Position for the Health Counter.
Default Value: 4

Armor Counter Position
Description
Default Value
• zshud_armorcounter_pos_x
Sets the X Position for the Armor Counter.
Default Value: 4
• zshud_armorcounter_pos_y
Sets the Y Position for the Armor Counter.
Default Value: 26

Aux Power Counter Position
Description
Default Value
• zshud_auxcounter_pos_x
Sets the X Position for the Aux Power Counter.
Default Value: 4
• zshud_auxcounter_pos_y
Sets the Y Position for the Aux Power Counter.
Default Value: 55

Health Bar Position
Description
Default Value
• zshud_hpbar_pos_x
Sets the X Position for the Health Bar.
Default Value: 86
• zshud_hpbar_pos_y
Sets the Y Position for the Health Bar.
Default Value: 36

Armor Bar Position
Description
Default Value
• zshud_armorbar_pos_x
Sets the X Position for the Armor Bar.
Default Value: 86
• zshud_armorbar_pos_y
Sets the Y Position for the Armor Bar.
Default Value: 60

Aux Power Bar Position
Description
Default Value
• zshud_auxbar_pos_x
Sets the X Position for the Aux Power Bar.
Default Value: 86
• zshud_auxbar_pos_y
Sets the Y Position for the Aux Power Bar.
Default Value: 84

Health Status Position
Description
Default Value
• zshud_hpstatus_pos_x
Sets the X Position for the Health Status.
Default Value: 4
• zshud_hpstatus_pos_y
Sets the Y Position for the Health Status.
Default Value: 84

Armor Status Position
Description
Default Value
• zshud_armorstatus_pos_x
Sets the X Position for the Armor Status.
Default Value: 4
• zshud_armorstatus_pos_y
Sets the Y Position for the Armor Status.
Default Value: 105

Aux Power Status Position
Description
Default Value
• zshud_auxstatus_pos_x
Sets the X Position for the Aux Power Status.
Default Value: 4
• zshud_auxstatus_pos_y
Sets the Y Position for the Aux Power Status.
Default Value: 130

• For Sizing the Bars:

Health Bar Size
Description
Default Value
• zshud_hpbar_width
Sets the Width and Value for the Health Bar.
Default Value: 300
• zshud_hpbar_height
Sets the Height Value for the Health Bar.
Default Value: 30

Armor Bar Size
Description
Default Value
• zshud_armorbar_width
Sets the Width and Value for the Armor Bar.
Default Value: 300
• zshud_armorbar_height
Sets the Height Value for the Armor Bar.
Default Value: 30

Aux Power Bar Size
Description
Default Value
• zshud_auxbar_width
Sets the Width and Value for the Aux Power Bar.
Default Value: 300
• zshud_auxbar_height
Sets the Height Value for the Aux Power Bar.
Default Value: 30
Color-Specific Console Commands
Note:
Certain Colors may not appear like you want them to. To fix it make sure all Colors are Set to 1 or more.

Use Values from 1-255

• For Coloring the HUD:
Health Color
Description
Default Value
• zshud_healthcol_r
Sets the Red Value for the Health.
Default Value: 1
• zshud_healthcol_g
Sets the Green Value for the Health.
Default Value: 195
• zshud_healthcol_b
Sets the Blue Value for the Health.
Default Value: 0

Armor Color
Description
Default Value
• zshud_armorcol_r
Sets the Red Value for the Armor.
Default Value: 1
• zshud_armorcol_g
Sets the Green Value for the Armor.
Default Value: 200
• zshud_armorcol_b
Sets the Blue Value for the Armor.
Default Value: 225

Aux Power Color
Description
Default Value
• zshud_auxcol_r
Sets the Red Value for the Aux Power.
Default Value: 255
• zshud_auxcol_g
Sets the Green Value for the Aux Power.
Default Value: 93
• zshud_auxcol_b
Sets the Blue Value for the Aux Power.
Default Value: 7

• For Coloring the Clip Counter:
Clip Counter
Description
• zshud_clipcol_r
Sets the Red Value for the Clip. (Default Value: 255)
• zshud_clipcol_g
Sets the Green Value for the Clip. (Default Value: 255)
• zshud_clipcol_b
Sets the Blue Value for the Clip. (Default Value: 255)
• zshud_clipcol_a
Sets the Alpha Value for the Clip. (Default Value: 230)

• For Coloring the Reserve Ammo Counter:
Reserve Ammo Counter
Description
• zshud_reservecol_r
Sets the Red Value for the Spare Ammo. (Default Value: 255)
• zshud_reservecol_g
Sets the Green Value for the Spare Ammo. (Default Value: 255)
• zshud_reservecol_b
Sets the Blue Value for the Spare Ammo. (Default Value: 255)
• zshud_reservecol_a
Sets the Alpha Value for the Spare Ammo. (Default Value: 255)


• For Coloring the Alt Ammo Counter:
Reserve Ammo Counter
Description
• zshud_altcol_r
Sets the Red Value for the Alt Ammo. (Default Value: 250)
• zshud_altcol_g
Sets the Green Value for the Alt Ammo. (Default Value: 150)
• zshud_altcol_b
Sets the Blue Value for the Alt Ammo. (Default Value: 5)
• zshud_altcol_a
Sets the Alpha Value for the Alt Ammo. (Default Value: 255)

• For the Color that the Ammo Counter changes to when the Ammo is decreasing:
Low Ammo Color
Description
• zshud_lowammocol_r
Sets the Red Value for when the Ammo is Low. (Default Value: 220)
• zshud_lowammocol_g
Sets the Green Value for when the Ammo is Low. (Default Value: 220)
• zshud_lowammocol_b
Sets the Blue Value for when the Ammo is Low. (Default Value: 5)
• zshud_lowammocol_a
Sets the Alpha Value for when the Ammo is Low. (Default Value: 230)

• For Coloring the 3D Playermodel HUD:
3D Health Color
Description
Default Value
• zshud_3dhealthcol_r
Sets the Red Value for the Health.
Default Value: 1
• zshud_3dhealthcol_g
Sets the Green Value for the Health.
Default Value: 195
• zshud_3dhealthcol_b
Sets the Blue Value for the Health.
Default Value: 0

3D Armor Color
Description
Default Value
• zshud_3darmorcol_r
Sets the Red Value for the Armor.
Default Value: 1
• zshud_3darmorcol_g
Sets the Green Value for the Armor.
Default Value: 200
• zshud_3darmorcol_b
Sets the Blue Value for the Armor.
Default Value: 225

NOTE: Upon changing 3D Health/3D Armor Color, you will need to reload the map in order for the changes to take Effect!