Grass opacity

Is there any plugin or a way to make to change the opacity of the grass? like keeping the way it hides half the body but with no transparency?
Not sure I understand. You don't want the lower part of the body to show at all?

That is done by making the lower body semi-transparent, not by changing the grass. A plugin to not show the lower body at all should be fairly simple.

I've moved this thread to Plugin Requests. Thank you.

Try the following (save as any name with a .js extension):

Code:
var _shaz_sprite_character_createHalfBodySprites = Sprite_Character.prototype.createHalfBodySprites;
Sprite_Character.prototype.createHalfBodySprites = function() {
    _shaz_sprite_character_createHalfBodySprites.call(this);
    this._lowerBody.opacity = 0;
};
Try the following (save as any name with a .js extension):

Code:
var _shaz_sprite_character_createHalfBodySprites = Sprite_Character.prototype.createHalfBodySprites;
Sprite_Character.prototype.createHalfBodySprites = function() {
    _shaz_sprite_character_createHalfBodySprites.call(this);
    this._lowerBody.opacity = 0;
};
thanks a lot.
it worked, but since I'm using custom sprites they seemed too tall to hide half the body, they're 90 pixels tall so it looks like they just hide their ankles, it's still pretty useful to me since i wanted to make shallow water for them to walk on so it's cool, if they could hide more of their body would be cool but how it's done also works for me, thanks a lot man.
It doesn't actually hide "half" the body, it's just a certain number of pixels from the bottom. So if you're using much taller sprites than the default, that certain number of pixels will be a smaller portion of the whole thing.
@Shaz Awesome tip homie! Thanks for the knowledge 😉
it worked, but since I'm using custom sprites they seemed too tall to hide half the body, they're 90 pixels tall so it looks like they just hide their ankles, if they could hide more of their body would be cool
To fix the rest of that...
Spoiler: Change to the refreshBushDepth of the Game_CharacterBase object.
Code:
Game_CharacterBase.prototype.refreshBushDepth = function() {
    if (this.isNormalPriority() && !this.isObjectCharacter() &&
            this.isOnBush() && !this.isJumping()) {
        if (!this.isMoving()) {
            this._bushDepth = 12;
        }
    } else {
        this._bushDepth = 0;
    }
};
...Change the 12 to whatever you'd like.

I think it would be to like 38 for your case.
1585664848810.png
...Alter and save as a .js

...but warning about coding it that way is if sprites less then 90 pixels will all be drawn the same way...
Spoiler: such as this
1585665556852.png
Working on a new bushSettings plugin now 😉

Edit:
Plugin is good to go. A start for now at least.
Spoiler
1585672777887.png

1585672976228.png
1585673045216.png
@Shaz Awesome tip homie! Thanks for the knowledge 😉

To fix the rest of that...
Spoiler: Change to the refreshBushDepth of the Game_CharacterBase object.
Code:
Game_CharacterBase.prototype.refreshBushDepth = function() {
    if (this.isNormalPriority() && !this.isObjectCharacter() &&
            this.isOnBush() && !this.isJumping()) {
        if (!this.isMoving()) {
            this._bushDepth = 12;
        }
    } else {
        this._bushDepth = 0;
    }
};
...Change the 12 to whatever you'd like.

I think it would be to like 38 for your case.
View attachment 138328
...Alter and save as a .js

...but warning about coding it that way is if sprites less then 90 pixels will all be drawn the same way...
Spoiler: such as this
Working on a new bushSettings plugin now 😉

Edit:
Plugin is good to go. A start for now at least.
Absolutely fantastic, thank you so much!.
Absolutely fantastic, thank you so much!.
No prob. 🙂 Happy to help. Thank you for the challenge :popcorn:
Actually got some nice ideas from this for future plugins.

Also updated once more now with a few more nice things 🙂👍

CT_Bolt's bushEx (v0.30+) Plugin: Click Here to View
1585714510607.png


Notetag Examples:
Code:
<bush:{"depth":35}>
<bush:{"opacity":"0"}>
<bush:{"depth":35, "opacity":"0"}>
<bush:{"depth":$gameVariables.value(1), "opacity":$gameVariables.value(2)}>
<bush:{"depth":48,"opacity":"$gameVariables.value(1)"}>

Extra Awesomeness Example:
Use this in any actor/event notetag:
Code:
<bush:{"depth":48,"opacity":"$gameVariables.value(1)"}>
Replace 48 with the height of the character sprite.
Spoiler
1585713402568.png
Then place this as a script call in any events custom moveroute with repeat movement to fade the sprite in and out.
Code:
if ($gameVariables.value(1) >= 255){this.opFwd=false}if ($gameVariables.value(1) <= 0){this.opFwd=true}(this.opFwd) ? $gameVariables.setValue(1, $gameVariables.value(1)+1):$gameVariables.setValue(1, $gameVariables.value(1)-1);
Spoiler
1585713048553.png

Demo also available now on page too 🙂

Updated again:
CT_Bolt's bushEx (v0.40) Plugin: Click Here to View

Can now use custom evals to determine when the bush sprite refresh happens
(so you can even make it where you don't need to be on a bush tile anymore lol...
...think this could almost be renamed to a different plugin now lol)
Example Notetag:
Code:
<bush:{"depth":48,"opacity":"$gameVariables.value(1)","refreshEval":"true"}>

Original thread: https://forums.rpgmakerweb.com/threads/grass-opacity.119606/