How can I adjust the player location in battle I want to move the party down a bit. I'm using the yanfly visual battlers script.
yanfly visual battlers party location
RGSSx Script SupportUhm, there is a settings part on that script that is complete with instructions... you should read it... also next time, please put a link towards the script in question
The instructions section only explains the way to change their direction.
the script link https://dl.dropboxusercontent.com/u/17078211/Scripts/YEA/Visual_Battlers.rb
the script link https://dl.dropboxusercontent.com/u/17078211/Scripts/YEA/Visual_Battlers.rb
I mean the actual modifications part, not the instructions aboveee in the header...
this part...
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - 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. play with those values of base_x,y mod_x,y...PS: base_x and base_y is the starting x,y... mod_x and mod_y is the x,y adjustment per actor
this part...
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - 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. play with those values of base_x,y mod_x,y...PS: base_x and base_y is the starting x,y... mod_x and mod_y is the x,y adjustment per actor
Hmm, I've changed the values of each of these and my player's location hasn't changed. Could you possibly show me which one specifically will change his Y position down a bit more?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
each of those array are for a specific direction... so you need to edit the one that is for the direction that ur using
i have the same problem. changing the numbers did asbolutely nothing, so , i just removed the visual battler script.....but the battlers STILL appear as if i never removed the VB script. they wont go away. its like a ghost script.
You don't have another script, or a second copy of the script, do you?
if it doesn't go away. then it's either, you forgot to hit save before testing or you have a second copy of that script in there
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-visual-battlers-party-location.22930/