Page 1 of 1

player.gui.cursor

Posted: Sun Feb 04, 2024 11:40 am
by SupplyDepoo
player.gui.cursor should be another gui root container which mods and scenarios can add GUI elements to.

The container would always follow the player's mouse cursor, like the GUI style view (Ctrl+F6) does.

It could be useful for adding important hints or other information depending on what the player is holding, just like blueprint books show the hierarchy of a nested blueprint being held.

Also, the cursor gui would automatically move to keep everything visible when the cursor is near the window edges.

Elements added here would be positioned either before (above) or after (below) the standard cursor tooltips (configurable by mod).

Possible usages:
  • Hints for new or hard-to-remember keyboard shortcuts
  • Additional blueprint info
  • Mod debugging info
  • Custom tooltips
  • Custom tool configuration state
  • Error messages that are not suitable for flying text or chat messages

Re: player.gui.cursor

Posted: Wed Oct 30, 2024 11:12 pm
by GongT
REALLY need this.