Change Bush Transparency Height

Uranium

Game Dev, Pixel Artist
Veteran
Joined
Jan 13, 2017
Messages
135
Reaction score
50
First Language
English
Primarily Uses
RMMV
I am trying to make the Bush Height higher so that it works better with taller sprites.

I have seen that in VX ace you can change the script Game_CharacterBase

Dose anyone know how to accomplish this on RPG Maker MV??? transparency
 

LadyBaskerville

Hell-poodle
Veteran
Joined
Sep 12, 2016
Messages
645
Reaction score
524
First Language
German
Primarily Uses
RMMV
It looks like it's the same class in MV. Here's the original function (from rpg_objects.js):
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;
    }
};
Try changing the 12 to a different value and add the modified code as a plugin, that will override the original function.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top