This object is in archive! 

Give Programmable Blocks a player screen API like the LCD API

FatalError420 shared this feedback 14 months ago
Not Enough Votes

Programmable blocks should have the ability to draw to the screen in the same way that they can draw to LCDs while the player is in the cockpit. This would allow programmable blocks to give a number of new HUDs and helpers for pilots, as well as overall MASSIVELY opening up possibilities.

These visuals should draw under the game's UI (to ensure that the player can always disable a offending programmable block that is blocking view.


All of this would also help rework some pay-to-win-ness (at least for all the scripters of this game) from DLCs, as ATM clear LCDs are only accessible to those who pay for the DLC, and these of course can be used as a makeshift HUD.

It'd allow for much more advanced UIs, menus, target tracking and visual effects for spacecrafts. All of these being things that could help buff small block ships and make them actually useful (as at the moment they aren't particularly great).

It'd also just allow people to make ships that have really good immersion!

Here's a few examples of use cases:

  • A menu that gives you a condensed listing of all ores and components, a
  • menu that allows you to interact with advanced systems of pre-existing ships (a UI). Perhaps with some additional features a textbox for console commands
  • Highlighted indicators for nearby ships (perhaps ones you didn't see)
  • Target leading
  • For bombing mods, indicators for where a bomb will actually land on the ground
  • Overlays indicating damaged locations on your ship
  • Immersive flight simulator like overlays for fighters
  • for tanks & turrets: scopes that indicate drop-off
  • Rangefinders
  • Allow special indication for cruise control

The list goes on...

Obviously in order for this to have more open possibilities, a few new API elements would need to be added. (edit) due to some concerns about overlapping PBs drawing to the same player:

  • We'd need to be able to know the player's camera position (this would be best suited relative to the cockpit if possible for a number of reason)
  • We'd also need to know the player's screen info for it to work consistently, probably just aspect ratio.
  • Cockpits should have a drop down menu to select an acting scripting block OR give a unremovable text element to the HUD showing what LCD is drawing.

Other then these two things, unless I'm mistaken, nothing else would need to be added.


If anybody has any ideas or suggestions- comments are appreciated.

Leave a Comment
 
Attach a file