Skip to content

Add setPlayerHudComponentProperty / getPlayerHudComponentProperty Support for the radar Component #4563

@FXME

Description

@FXME

Is your feature request related to a problem? Please describe.

Hello,

I would like to propose extending the functionality of setPlayerHudComponentProperty and getPlayerHudComponentProperty to include the radar (minimap) HUD component.

At the moment, the following properties exist:

  • position (x, y): The position of the component
  • size (w, h): The size of the component (for text components this corresponds to font scale)

However, these properties currently do not work for the radar. It would be extremely useful for developers to be able to modify the minimap’s position and size just like other HUD components.

Why this would be useful

  • Allows custom HUD layouts
  • Makes it possible to design unique UI styles for different game modes
  • Removes the need for heavy workarounds that attempt to replace or move the default radar

Describe the solution you'd like

Requested addition
Please enable the radar component to respond properly to:

setPlayerHudComponentProperty(player, "radar", "position", {x, y})
setPlayerHudComponentProperty(player, "radar", "size", {w, h})

getPlayerHudComponentProperty(player, "radar", "position")
getPlayerHudComponentProperty(player, "radar", "size")

Describe alternatives you've considered

No response

Additional context

#4009

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions