BEEmod / BEE2.4

Tool to mod Portal 2's Puzzlemaker
282 stars 63 forks source link

Fallback error display should show error message in-game #1981

Open vrad-exe opened 11 months ago

vrad-exe commented 11 months ago

In co-op or when the steam overlay is disabled, if an error occurs it should show the error message in-game using the game_text, instead of just telling you to open the browser. After a double line break it would then explain that you can open the URL to get more information, if you want to copy the error to the clipboard, or (if applicable) to see the chamber visualization.

TeamSpen210 commented 11 months ago

This could be tricky, since we’re quite limited in how much text we can display via game_text. Writing arbitrary translated text into the VMF also probably isn’t going to work well…

vrad-exe commented 11 months ago

Is there a limit to the actual length of the string, or just the width per line? Could also set the message through VScript instead of writing it into the VMF directly

vrad-exe commented 11 months ago

You can also set it to use the small font in order to display more text per line