Animated Battlers Problem: They are too close.
#1
Can anyone tell me what lines to modify to change the position of the battlers right now they are too close to eachother. Here's a screenshot. His scythe is all over her face.

[Image: Tooclose.jpg]
Reply }
#2
Hey. ^_^ Glad you posted this as a problem related to Animated Battlers and not Charlie Lee's CBS as this is clearly governed by my animation system.

What you may or may not realize is that Charlie keeps the entire 1st page instructions of Animated Battlers in his system. Even so, the section that describes formation control is about halfway down.

The value of $formation_max_width sets the amount of space your party can take horizontally. By default, this is set to 128 which is 1/5th the width of the screen. Increasing this value will space the party even more.

Just make a script call before the battle like...
$formation_max_width = 160
... will allow the party to take 1/4th the screen width.
Reply }
#3
Yes, I did read that, but what that does is spread them out more so they take up more of the screen giving me less room for the enemies. I just want them to be farther apart, but still let the enemies have a good amount of space.
EDIT: I'm going to end up making my own backgrounds anyway, but I would still like them to look good on the screen while I'm testing them.
EDIT: They look fine without the stretched background with no modifications to the battlers script (except for the regular configuration) but there was a big black spot when I removed it. But with the stretched background, I had to move them down because they were too high up on the screen. When I moved them down, this happened. The first battler is fine, but when I added the second, that happened.
Reply }
#4
This isn't by me: Formations by Claihm

Paste it below Animated Battlers and it takes over actor battler positions. It won't permit you to switch the battlers from left to right (the sideview mirror system), but you can create your own battler formations.
Reply }
#5
Heh, I already have this, just never tried it out yet. Thanks I'll try it and see if it fixes the problem.

EDIT: Ok, just tried it and this makes the bottom of the screen black. But other than that, it works.

EDIT: OK, I fixed that, but now I get an error (only happens IN game! not in battle test from the database).
The error is on line 58. Line 58 is

return Battle_Formation::FORM[$game_system.battle_formation][self.index][0]

The error is Script 'Formations' line 58: NoMethodError occured.
Undefined method '[]' for nil:NilClass

I don't know why it does that because when I just go to test the battle everything is perfect. Any reason why this is happening?
This is in Claihm's script by the way.

FIXED: It was because I was continuing a game. All I had to do was start a new game.
Reply }
#6
Woof!

Glad you figured it out. Sorry I couldn't help you during the day but... work kinda intrudes. ;) Still, you figured it out yourself and that's really cool. Shows some scripting knowledge or initiative there.

Closed. ^_^
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 1,378 10-17-2024, 06:37 AM
Last Post: Solitaire
   The z-space problem of displaying sprites icogil 28 12,293 03-05-2023, 03:31 AM
Last Post: DerVVulfman
   Moonpearl script Animated Battlers help!! x(( Starmage 11 15,582 05-21-2016, 05:34 AM
Last Post: Starmage
   Problem with drain script form the ATOA ACBS Djigit 2 5,522 07-12-2015, 09:17 PM
Last Post: Djigit
   Event collision problem with FPLE script ThePrinceofMars 2 5,747 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
   Enemy Transform w/ Minkoff Animated Battlers Kain Nobel 1 4,150 06-01-2014, 05:41 PM
Last Post: MechanicalPen
  Custom meter problem daylights 13 16,116 08-12-2013, 03:34 AM
Last Post: daylights
   [RUBY] Depack Thread Problem Narzew 1 4,368 07-20-2012, 01:16 PM
Last Post: Narzew
   [Resolved] DerVVulfman Animated Battlers - Physical attacks result in looping Samven 2 6,219 07-07-2012, 10:56 AM
Last Post: Samven
   Advantages & Charlie Fleed CTB problem Yin 7 11,899 12-12-2011, 03:45 PM
Last Post: Yin



Users browsing this thread: 1 Guest(s)