New account registration is temporarily disabled.

[SOLVED] [SCRIPTING] [RMXP] ANIMATED BATTLERS: ACTOR POSITIONING

Posts

Pages: 1
I've been working with DerVVulfman's version of Minkoff's Animated Battlers script (charset configuration). I've been able to get a handle on the basics of it, I even completed a battle spritesheet for Aluxes, but there is one thing that keeps bugging me:

The actors are too close to the middle of the screen!



The screenshot that DerVVulfman has posted on the Animated Battlers download page (see here) shows the actors closer to the edge of the image. I've scoured the script looking for where it sets the actor positions to no avail (and I have a degree in programming). If anyone knows where I can adjust the actor positions, I would appreciate the help!

P.S.
I technically found places where it sets the actor positions but it always does it with variables. What I'm looking for is a place where I can enter x & y coordinates to alter the position of the actors or, if nothing else, to find a way to push the actors back.
- Edit: I think the place I was talking about here actually sets poses not positions ;P not sure.

P.P.S.
There is a formation script I could add that would not only allow me to change the actor positions but also create multiple formations that I could use (Orochii uses this in his Romancing SaGa Battle System), but I don't want to use changeable formations and trying to extract the positioning from the formations script without using formations would probably be harder than asking someone who knows their way around the Animated Battlers script.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks and may the Force be with you,
Mando Jetii
Update:


I've been figuring my way through the code. I've figured out how to set the number of animations and number of frames per animation and how to assign different animations to different situations. I've also made spritesheets for Basil and Gloria. But I still can't figure out how to position the actors closer to the edge of the screen.

If anyone could help with my problem it would be greatly appreciated.
Update:


I've completed a spritesheet for Hilda and have also added a cool character switching feature with the ability to add any of the forty-one different actors who have sprites included in RMXP to your party (still limited to four members).

I've made contact with DerVVulfman, so hopefully he'll be able to help me out. My problem is still technically unsolved, so feel free to comment.
pianotm
The TM is for Totally Magical.
32388
I'm sorry, I've looked at the script several times. I can't find any settings for you to change this. Honestly, I'd recommend finding a different script. I've never really used XP, so I don't know if you can do that, but this script doesn't look like it really concerns itself with giving the developer many options.
author=pianotm
I'm sorry, I've looked at the script several times. I can't find any settings for you to change this.
Oh it's there somewhere. Otherwise the actors would be appearing at the bottom of the screen like they do without the script.

author=pianotm
Honestly, I'd recommend finding a different script.
This script does everything I want and more, I just can't figure out this one part. It would be a wast of time and effort to look for a new script just because I can't find one parameter in this one.

author=pianotm
I've never really used XP, so I don't know if you can do that, but this script doesn't look like it really concerns itself with giving the developer many options.
Maybe if I wasn't a programmer I'd agree, but if you know how to code you can do virtually anything. Given enough time and effort, I could probably adapt this script to produce real-time battles with mouse controls.
It's not like Animated Battlers is a modding tool with hidden code in the background that can't be changed by the user; everything that DerVVulfman et al. have changed in this script can be further changed by anyone using it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

May the Force be with you.
Cannot find where one creates the formations? Plainly stated in "Creating the Formations" where you can make one (or more) formations that you can switch between. In the actual instructions, it shows this:

# ...ON = { 0 => [ [350,200], [395,235], [440,270], [485,305], [530,340] ],
# 1 => [ [530,200], [485,235], [440,275], [395,305], [350,340] ] }
This being the "ABATXP_FORMATION" array.

This creates two different formations:

Formation "0" (the default formation) has the lead battler/actor in position 350,200(x/y) on the map. The next battler/actor would be positioned on 395,235 on the map... et and so on. This creates a formation where the lead actor on a normal 640x480 window is closer to the center near the horizon and the rest of the battlers in a left-to-right diagonal line formation.

Formation "1" (an optional formation) has the lead battler/actor in position 485,200, the next in 440,235... and so on, making a right-to-left diagonal line formation, more akin to a classic look.

And you can see you can have more than 4 sets of coordinates in each formation. That is so you can use a large party script if you like having more than four actors in your party.


- - - - -

Now to change between the formations you program, the script call was clearly described in the script:

# SCRIPT CALL:
#
# There's only one script call you should be familiar with right now, and that
# is the script call that changes the formation you want to use in battle. By
# default, the system uses the formation set by ID #0. But you can change the
# formation being used with the following call:
#
#
# The call is simple: $game_system.abatxp_form_id = number

So if you make an event that has a script call with
$game_system.abatxp_form_id = 1
You change the formation to formation #1 in the setup.

I said I wasn't using the formations script.

I think what I was looking for was lines 222 through 242 in Miscellaneous (the part that sets the actor's X and Y coordinates). If these lines of code are what I think they are, then I should be able to reposition the actors by editing the numbers.
Update:


Found it! It was in the Miscellaneous page, lines 222 through 242!



That's it: problem solved! May the Force be with you!
author=MandoJetii
Update:
Found it! It was in the Miscellaneous page, lines 222 through 242!

That's it: problem solved! May the Force be with you!


So, this may be a necro, and I don't realy know the decorum for this...
But could you perhaps share precisely what you changed and how?
Pages: 1