Hi, im very new here. Can anyone help me or it is not possible to do so?
MZ How do i make the gold window to be available on screen all the time?
JS Plugin RequestsYou'll need to use a plugin. You can check out HUD plugins, maybe Google for a gold window if someone's made something that simple by itself.
Otherwise, SRD's HUD Maker is a popular plugin to create interfaces like this.
Otherwise, SRD's HUD Maker is a popular plugin to create interfaces like this.
If you ask it very, very nicely to please never disappear, it will sometimes listen.
Joking aside, if this is all you want and you don't know which plugins allow for it:
This should do the trick if you stick it in a .js file and add it to your plugin manager.
Joking aside, if this is all you want and you don't know which plugins allow for it:
JavaScript:
(() => {
const _Scene_Message_createGoldWindow = Scene_Message.prototype.createGoldWindow;
Scene_Message.prototype.createGoldWindow = function() {
_Scene_Message_createGoldWindow.call(this);
this._goldWindow.openness = 255;
}
Window_Message.prototype.terminateMessage = function() {
this.close();
$gameMessage.clear();
};
})();
This should do the trick if you stick it in a .js file and add it to your plugin manager.
Here you are with this teeny tiny little bit of code.. And then there's me last week, creating a crap ton of code by making a new window, having it display the gold, have it's own refresh and update.. etc... It was a proof of concept, but still lol.
But hey, if you want to do a window that does something besides display gold, you've got the basis for it already!
Also in fairness I did just review it and add a bit to stop the gold window closing when the message window terminates.
A way to hide the window and leave only the icon and gold value?
EDIT: adding this line this._goldWindow.opacity = 0; works
EDIT: adding this line this._goldWindow.opacity = 0; works
A question how i can enable/disable the hud through a script?, for example i have a intro and the gold hud shows, my idea is hide the hud in the intro and show it when y character appears on first map.
Thank you very much!
also if you don't mind, do you happened to know how to display gold window on bottom right instead of top right?
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-the-gold-window-to-be-available-on-screen-all-the-time.154457/