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,370
Reaction score
1,779
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,370
Reaction score
1,779
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 Profile Posts

I managed to review my previous lessons on Learn MV and fixed a lot of things. Yay! :kaopride:
I've decided "Attack on Equestria" should be released first... hence this new ARG channel! https://www.youtube.com/channel/UClKiUI8xOVx9dsF4kRXUmxw
Check it out, and subscribe! The ARG will lead up to the video game. It's not a creepy game, but I just thought it should follow ARG standards.
For anyone interested in my project M - i finally made a gamethread about it :D

Forum statistics

Threads
110,409
Messages
1,053,089
Members
143,474
Latest member
Arsyloth
Top