Skip to content

GUI for retreat order, havens player colored - #5824

Open
SteelBlueZK wants to merge 5 commits into
ZeroK-RTS:masterfrom
SteelBlueZK:havens
Open

GUI for retreat order, havens player colored#5824
SteelBlueZK wants to merge 5 commits into
ZeroK-RTS:masterfrom
SteelBlueZK:havens

Conversation

@SteelBlueZK

@SteelBlueZK SteelBlueZK commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

inspired greatly by Helwor's Hel-K widget suite
https://github.com/Helwor/New-Hel-K


Summary: Changed the way Retreat Zones (Havens) are drawn to be team-colored, left default color and behavior as is in stable right now, but will now show all player retreat zones when spectating by default to increase discoverability/awareness of the feature.

Overview:
options revamp

  • bool "Only Show My Zones" has been replaced with "Display Zone options" a 5 option radio
  • added option to draw team color playernames over all retreat zones
  • added options to change the default red color of Havens

Whitespace changes

Spring functions localized

Various variable cleanup (reduced to lower scopes, moved around some logic)

@SteelBlueZK

Copy link
Copy Markdown
Contributor Author
image

Comment thread LuaUI/Widgets/gui_havens.lua Outdated
- also whitespace
- also localize a lot of spring functions
@SteelBlueZK

Copy link
Copy Markdown
Contributor Author

Default settings:
image

@SteelBlueZK

Copy link
Copy Markdown
Contributor Author

I have 0 idea if this updates properly in multiplayer. It would probably be good to test that, if I'm a player and a different player updates their Havens, do I reflect that? I've been cheating between teams so local team ID is always the player being updated.

- 5 different options in a radio
- tracks Haven Updates more often
- Haven updates only tracks havens that will be drawn
- render function no longer has to filter out non-drawn havens
@SteelBlueZK
SteelBlueZK marked this pull request as ready for review September 3, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants