Skip to content

tweak(controlbar): Show stealthed radar objects to observers#1487

Merged
xezon merged 3 commits intoTheSuperHackers:mainfrom
Stubbjax:update-stealthed-radar-objects
Sep 1, 2025
Merged

tweak(controlbar): Show stealthed radar objects to observers#1487
xezon merged 3 commits intoTheSuperHackers:mainfrom
Stubbjax:update-stealthed-radar-objects

Conversation

@Stubbjax
Copy link

Fixes #137

This change allows observers to see stealthed enemy units on the radar.

While globally observing: All stealthed units are shown on the radar
While observing a specific player: Only stealthed units that the selected player can see are displayed on the radar

In the retail build, only the relationship of the current (and observing) player is considered, causing enemy stealthed units to never show on the radar for observers, while allies' stealthed units always do. In replays, stealthed units are always displayed on the radar and selecting a player makes no difference.

@Stubbjax Stubbjax added Enhancement Is new feature or request GUI For graphical user interface Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour labels Aug 25, 2025
@xezon xezon changed the title feat: Update stealthed radar objects for observers tweak(controlbar): Show stealthed radar objects to observers Sep 1, 2025
Copy link

@xezon xezon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

@xezon xezon merged commit 5f3c029 into TheSuperHackers:main Sep 1, 2025
18 checks passed
@Stubbjax Stubbjax deleted the update-stealthed-radar-objects branch September 1, 2025 13:59
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Is new feature or request Gen Relates to Generals GUI For graphical user interface Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stealth units do not show on Radar for Observer player

2 participants