Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Darxo opened this issue Sep 17, 2024 · 2 comments
Open
Labels
feature request A feature requested by the community

Comments

@Darxo
Copy link

Darxo commented Sep 17, 2024

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

  • completely in the options,
  • or just for this play session by clicking a button on that pop-up

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

@Darxo Darxo added the feature request A feature requested by the community label Sep 17, 2024
@LordMidas
Copy link
Member

LordMidas commented Sep 18, 2024

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

  • Would it be possible to allow a timed popup i.e. one that auto-closes after x seconds?
  • Would it be possible to allow popups to have custom size instead of always that huge window? Maybe allow the ability to pass width and height?

@TaroEld
Copy link
Member

TaroEld commented Sep 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature requested by the community
Projects
None yet
Development

No branches or pull requests

3 participants