Skip to content

Feature Request: Add command to toggle HUD horizontal alignment (left/right) #30

Description

@sunrisecz

Hi DarkerZ,

Thank you for adding ehud_pos / css_hudpos in v.1.DZ.13beta6 for vertical position control. It works great!

Could you also add a similar command for horizontal alignment?

Currently in entwatch_dz.vcss:
#ew-panel {
horizontal-align: right; ← hardcoded
}

Suggestion:

  • Add a new command such as ehud_align / css_hudAlign
  • Values: 0 = right (default), 1 = left
  • Save the preference via PlayerSettings (key: EW_HUD_Align)
  • Apply via CSS class similar to panel-valign-X:

.panel-halign-0 { horizontal-align: right; }
.panel-halign-1 { horizontal-align: left; }

This would allow players to choose which side of the screen
the HUD appears on, useful for servers where other HUD elements
already occupy the right side.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions