Hello everyone, I desperately need help in changing opacity of the bush in tilesets.
With the help of community members I've find a small code to be added as a plugin to change bush depth, however what I need is to be able to change both opacity and depth of bushes from an event (so a script is needed or alternatively a variable-linked value). Anyone knows of ways to make this? Thank you.
With the Help of CT_Bolt that's the code related to opacity changes, but I can't make it work! I've tried to add it to a separate file as a plugin or to add it within the Shaz code for depth, but it won't work. Any ideas how to make the opacity to be equal to variable 02 value within an event flow?
forums.rpgmakerweb.com
With the help of community members I've find a small code to be added as a plugin to change bush depth, however what I need is to be able to change both opacity and depth of bushes from an event (so a script is needed or alternatively a variable-linked value). Anyone knows of ways to make this? Thank you.
With the Help of CT_Bolt that's the code related to opacity changes, but I can't make it work! I've tried to add it to a separate file as a plugin or to add it within the Shaz code for depth, but it won't work. Any ideas how to make the opacity to be equal to variable 02 value within an event flow?
Code:
$['Sprite_Character.prototype.createHalfBodySprites'] = Sprite_Character.prototype.createHalfBodySprites;
Sprite_Character.prototype.createHalfBodySprites = function() {
$['Sprite_Character.prototype.createHalfBodySprites'].apply(this, arguments);
var customBush = this._character.getBushSettings();
if ($['Default Opacity'] === '0') this._lowerBody.opacity = 0;
var opacity = (customBush) ? customBush.opacity : $['Default Opacity'];
if (opacity) this._lowerBody.opacity = eval(opacity);
};
MV - Bush opacity change
Hello! Is there a way to change the bush opacity and depth with a script? Its depth is set by default set as 12 at rpg_objects.js (6614): Game_CharacterBase.prototype.refreshBushDepth = function() { if (this.isNormalPriority() && !this.isObjectCharacter() && this.isOnBush() &&...
forums.rpgmakerweb.com