Skip to content

Make showing 2D radar icons a toggle-able option#7409

Open
MjnMixael wants to merge 2 commits intoscp-fs2open:masterfrom
MjnMixael:toggle-radar-icons
Open

Make showing 2D radar icons a toggle-able option#7409
MjnMixael wants to merge 2 commits intoscp-fs2open:masterfrom
MjnMixael:toggle-radar-icons

Conversation

@MjnMixael
Copy link
Copy Markdown
Contributor

As requested by Admiral Nelson, this makes the 2D radar icons an option in Options Builder. If no 2D icons are tabled then the option is automatically hidden. Tested and even works toggling it mid-mission. The best kind of option.

@wookieejedi wookieejedi added enhancement A new feature or upgrade of an existing feature to add additional functionality. HUD A feature or issue related to the HUD labels Apr 30, 2026
@wookieejedi
Copy link
Copy Markdown
Member

Oh nice! Hmm you can say no, but can I also make a request on behalf of FotG? In the future we would love to have a way to have the radar only show the current target icon (to recreate the style from the movies). I'm wondering, how hard would it be to make this new game option a drop-down menu, with values of 'Show All' or 'Show Only Current Target' or 'Show None'? The 'Show Only Current Target' would also take some extra logic in the code though, too, of course. Happy to discuss more, and again if folks decide that they only want a boolean we in FotG can always work on figuring out another method :)

@MjnMixael
Copy link
Copy Markdown
Contributor Author

Oh nice! Hmm you can say no, but can I also make a request on behalf of FotG? In the future we would love to have a way to have the radar only show the current target icon (to recreate the style from the movies). I'm wondering, how hard would it be to make this new game option a drop-down menu, with values of 'Show All' or 'Show Only Current Target' or 'Show None'? The 'Show Only Current Target' would also take some extra logic in the code though, too, of course. Happy to discuss more, and again if folks decide that they only want a boolean we in FotG can always work on figuring out another method :)

That's an interesting idea and without looking at the code possibly very doable. I'll set this to draft and investigate further.

@MjnMixael MjnMixael marked this pull request as draft May 1, 2026 19:07
@wookieejedi
Copy link
Copy Markdown
Member

Thanks, we very much appreciate it!

@MjnMixael MjnMixael force-pushed the toggle-radar-icons branch from ed0558c to 76ac75a Compare May 2, 2026 04:41
@MjnMixael MjnMixael marked this pull request as ready for review May 2, 2026 04:41
@MjnMixael
Copy link
Copy Markdown
Contributor Author

Ready for review again.. I added the requested feature. 2D Radar Icon option is now a dropdown with On, Off, and Target Only as valid selections.

@wookieejedi
Copy link
Copy Markdown
Member

Thanks, I tested and new function works, though I'm realizing that it will still always draw little circles in the radar (and in hindsight I should have realized this earlier). For FotG we would want to not draw the little circles, and only draw the defined icon for the targeted ship, but that's perhaps a bit too specific for broad utility? Happy to hear any thoughts!

Copy link
Copy Markdown
Member

@wookieejedi wookieejedi left a comment

Choose a reason for hiding this comment

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

Tests work and things look good

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

Labels

enhancement A new feature or upgrade of an existing feature to add additional functionality. HUD A feature or issue related to the HUD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants