MSUTeam / MSU

Modding Standards and Utilities for Battle Brothers
22 stars 4 forks source link

[REQUEST] Ability to spawn ingame pop-up to notify the player about something #421

Open Darxo opened 1 month ago

Darxo commented 1 month ago

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

Sometimes in order to hunt down a bug that is not easily reproducible, the modder has to leave some debugging code, which triggers if that bug was to ever appear again, and then print information that can help to nail it down (like stacktrace/printdata).

However there are such bugs, which occur silently. You don't realize ingame that they just happened, only from randomly looking into the log. Or you are a casual player and not a modder and notice them but brush them off. In those cases the valueable log is lost

Describe the solution you'd like

Give the modder the ability to create a pop-up basically any time that has some text in it, which will appear for some seconds and then go away. The user should probably have the ability to turn them off

This pop-up can be used by modder to remind the user to send the log of the current playsession (+ maybe reproduction steps) to the nearest modder

LordMidas commented 1 month ago

@TaroEld Is this already doable with the current popup system in MSU? And:

TaroEld commented 1 month ago

Yey, you can already use the MSU popup for this, the small version is probably more appropriate. The other stuff is possible, of course.