Hi everyone,
I have a bit of an unusual question, but bear with me =P Due to the specific aesthetic of the game that I'm making, I use Victor Sant's SFont plugin (which essentially uses special pictures instead of font files to render text - https://victorenginescripts.wordpress.com/rpg-maker-mv/sfont/). Because of this aesthetic, I am also not able to use opacity effects on things like text.
Now, the way RPG Maker MV handles 'disabled' commands (e.g. the Continue button on the main menu when there's no saved games; or an item that is unusable from the menu) is that it basically halves that text's opacity - making it fade into whatever background your windows use. However, again, this doesn't fit with the aesthetic of my game.
So I need a different approach to signify to the player that a specific command is 'disabled'. I've figured out a theory of how to approach this, but as I'm awful at programming, I don't know how to actually implement it. The way the SFonts work is that they replace the various 'colours' that can be assigned to text. So if I put \c[1] in front of some text, instead of changing the text to a blue colour, it would load the SFont I have in slot 1.
And it's much the same in Javascript. Here's a line from rpg_windows.js that calls upon colour 16 - however, with the SFont system in place, this means that it will load the SFont that I have in slot 16.
Window_Base.prototype.systemColor = function() {
return this.textColor(16);
};
So what I need to do, somehow, is to make RPG Maker MV use a specific colour for disabled commands, instead of reducing the opacity. That way I can set up an SFont in a particular slot with grey colouring to represent disabled commands.
Hopefully that makes some degree of sense haha. Would this be possible or am I barking up the wrong tree?
Thanks for reading! =D
I have a bit of an unusual question, but bear with me =P Due to the specific aesthetic of the game that I'm making, I use Victor Sant's SFont plugin (which essentially uses special pictures instead of font files to render text - https://victorenginescripts.wordpress.com/rpg-maker-mv/sfont/). Because of this aesthetic, I am also not able to use opacity effects on things like text.
Now, the way RPG Maker MV handles 'disabled' commands (e.g. the Continue button on the main menu when there's no saved games; or an item that is unusable from the menu) is that it basically halves that text's opacity - making it fade into whatever background your windows use. However, again, this doesn't fit with the aesthetic of my game.
So I need a different approach to signify to the player that a specific command is 'disabled'. I've figured out a theory of how to approach this, but as I'm awful at programming, I don't know how to actually implement it. The way the SFonts work is that they replace the various 'colours' that can be assigned to text. So if I put \c[1] in front of some text, instead of changing the text to a blue colour, it would load the SFont I have in slot 1.
And it's much the same in Javascript. Here's a line from rpg_windows.js that calls upon colour 16 - however, with the SFont system in place, this means that it will load the SFont that I have in slot 16.
Window_Base.prototype.systemColor = function() {
return this.textColor(16);
};
So what I need to do, somehow, is to make RPG Maker MV use a specific colour for disabled commands, instead of reducing the opacity. That way I can set up an SFont in a particular slot with grey colouring to represent disabled commands.
Hopefully that makes some degree of sense haha. Would this be possible or am I barking up the wrong tree?
Thanks for reading! =D