PlanetTzero

Villager
Member
Joined
Aug 1, 2018
Messages
20
Reaction score
13
First Language
German
Primarily Uses
RMMV
Hello i search for a Way to change the opacity only for the battle status?
is there a way to change that, with adding a script or something?

dddfd.JPG
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,365
Reaction score
1,775
First Language
EN
Primarily Uses
RMMZ
You could try something like this:
JavaScript:
Window_BattleStatus.prototype.standardBackOpacity = function() { return 192; };
Copy it into a text editor (e.g. Notepad), save it as a .js file (Save As > File Type: All Files, Filename: whatever.js) and import as a plugin~

The default back opacity is 192: 0 = full transparent, 255 = full opaque.
 

PlanetTzero

Villager
Member
Joined
Aug 1, 2018
Messages
20
Reaction score
13
First Language
German
Primarily Uses
RMMV
You could try something like this:
JavaScript:
Window_BattleStatus.prototype.standardBackOpacity = function() { return 192; };
Copy it into a text editor (e.g. Notepad), save it as a .js file (Save As > File Type: All Files, Filename: whatever.js) and import as a plugin~

The default back opacity is 192: 0 = full transparent, 255 = full opaque.
Thanks for the qick answer but it doesn´t work.
 

PlanetTzero

Villager
Member
Joined
Aug 1, 2018
Messages
20
Reaction score
13
First Language
German
Primarily Uses
RMMV
Oh it worked now! i have to switch off the Altmenuscreen plugin
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,365
Reaction score
1,775
First Language
EN
Primarily Uses
RMMZ
Oh, great! :kaothx:

That does seem a bit strange, though. I just had a quick look at the code for AltMenuScreen.js and I think it should be compatible. Did you remember to save your project before testing? If not, then Plugin Manager changes since the last save will not be seen during test. You might also want to try putting AltMenuScreen above this little plugin (click + drag in Plugin Manager), in case that helps.
 

PlanetTzero

Villager
Member
Joined
Aug 1, 2018
Messages
20
Reaction score
13
First Language
German
Primarily Uses
RMMV
Oh, great! :kaothx:

That does seem a bit strange, though. I just had a quick look at the code for AltMenuScreen.js and I think it should be compatible. Did you remember to save your project before testing? If not, then Plugin Manager changes since the last save will not be seen during test. You might also want to try putting AltMenuScreen above this little plugin (click + drag in Plugin Manager), in case that helps.

In the Altscreen i removed the Opacity lines now it works with the plugin!

One Question is it possible also remove the frame?

fhfhfh.JPG
 

PlanetTzero

Villager
Member
Joined
Aug 1, 2018
Messages
20
Reaction score
13
First Language
German
Primarily Uses
RMMV
It works! Awesome, thank you for your help!
 

Latest Threads

Latest Posts

Latest Profile Posts

unknown.png

Been feeling that my characters spent too much time exploring caves, so I figured it was time to explore abandoned keeps instead.
Did you had some minor hitches with RMMZ? Come report to my topic where I did the same! [Just another rant from a RM veteran + Suggestions and Solutions] All opinions are welcome!
Squashing some bugs before releasing plugin :LZScool:The testing phase is taking more time than what I expected...

Forum statistics

Threads
110,326
Messages
1,052,360
Members
143,361
Latest member
tenjung
Top