I'm using Yanfly Visual Battlers for sideview stuff, but the player battlers are so low on the screen they're covered up by the battle menu. How do I adjust the height at which they appear?
[ACE] Yanfly Visual Battlers--sideview too low
RGSSx Script SupportIt should be this section
Change the x,y settings to make them higher up the screen.
Code:
module YEA
module VISUAL_BATTLERS
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# - Party Location Setting -
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# These settings are adjusted for Party Location. Each Actor will have
# coordinates calculated by below formula. There are two samples coordinates
# below, change PARTY_DIRECTION to the base index you want to use.
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PARTY_DIRECTION = 6 # This direction is opposite from actual direction.
PARTY_LOCATION_BASE_COORDINATES ={
# Index => [base_x, base_y, mod_x, mod_y],
2 => [ 250, 290, 40, 0], #UP
4 => [ 150, 280, 20, -20], #LEFT
3 => [ 460, 280, 30, -10], #RIGHT
6 => [ 460, 230, 20, 20], #DEFAULT RIGHT
8 => [ 260, 230, 40, 0], #DOWN
} # Do not remove this.
PARTY_LOCATION_FORMULA_X = "base_x + index * mod_x"
PARTY_LOCATION_FORMULA_Y = "base_y + index * mod_y"
end # VISUAL_BATTLERS
end # YEA
Change the x,y settings to make them higher up the screen.
Okay, which is height? X or Y? And could you be a bit more specific on what all those variables mean and how I might tweak them? I'm sort of confused by them.
base_x, base_y, mod_x, mod_y
X is left to right (base_x)
y is up and down (base_y)
Top left corner is 0,0 (zero's)
mod_x and mod_y is for how each of the other characters you have shown are adjusted based off the first one which is base_x and base_y.
X is left to right (base_x)
y is up and down (base_y)
Top left corner is 0,0 (zero's)
mod_x and mod_y is for how each of the other characters you have shown are adjusted based off the first one which is base_x and base_y.
And the index numbers? What do they represent?
You're not reading the script.
2 => [ 250, 290, 40, 0], #UP <<<===== Here
Direction => [position], # description
Just like on a telephone keypad.
2 is up
4 is left
6 is right
8 is down
I'm changing those numbers like you said, but nothing happens.
No, no other scripts that modify that screen outside of Yanfly scripts, so conflicts shouldn't be the problem.
EDIT: Ahh, I see what the problem was. I accidentally altered some of the mod variables when trying to get a "death" pose. Pardon my stupidity.
EDIT: Ahh, I see what the problem was. I accidentally altered some of the mod variables when trying to get a "death" pose. Pardon my stupidity.
Original thread: https://forums.rpgmakerweb.com/threads/ace-yanfly-visual-battlers-sideview-too-low.95005/
