New account registration is temporarily disabled.

DERVVULFMAN'S PROFILE

Search

Filter

It lives... AGAIN!

Got word from Remi an hour ago. Woof. And I almost 'archived' (aka copied all relevant resources/code) as I copied a few other known sites. Heh, beats having to visit the Internet Archive time and time again.

And I got a bit to do as well. Beta testing Remi's game for bugs and stuff.

[SOLVED] [SCRIPTING] [RMXP] Animated Battlers: Actor positioning

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.

Pages: 1