Another battle system request. o_o;
#1
Yep, me again.

I recently stumbled accross the Count Time Battle system, and I really like the zoom effect, now, I'm using MGC's First Person Laberynth Explorer with his script that uses the current map as the Battle Background. It all works very well with this Battle script added as long as the zoom is switched off, however once I start using the zoom effect. The error occurs within this method of the battle script.
Code:
#--------------------------------------------------------------------------
  # * When the screen goes outside the picture, revision processing
  #--------------------------------------------------------------------------
  def screen_over
    width = @battleback_sprite.bitmap.width * @base_zoom * @target_zoom / 2
    unless 324 + @target_x > width and 324 - @target_x > width
      if 324 + @target_x > width
        @target_x = width - 324
      elsif 324 - @target_x > width
        @target_x = 324 - width
      end
    end
    height = @battleback_sprite.bitmap.height * @base_zoom * @target_zoom / 4
    unless @target_y > height - 4 and 484 - @target_y > 3 * height
      if @target_y > height - 4
        @target_y = height - 4
      elsif 484 - @target_y > 3 * height
        @target_y = 484 - 3 * height
      end
    end
  end
end
Is says there is a 'Type Error' and that 'nil can't be coerced into Fixnum' on line 2462, which is
Code:
width = @battleback_sprite.bitmap.width * @base_zoom * @target_zoom / 2

Is there a way of making these two scripts compatible? If not I can live without the zoom effect, however it does look very nice and would liven up my battles considerably. Any help would be much appreciated!
Reply }


Messages In This Thread
Another battle system request. o_o; - by Boot - 04-18-2010, 12:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 1,430 10-17-2024, 06:37 AM
Last Post: Solitaire
   ACBS - Atoa Custom Battle System and TP System zlsl 2 4,567 10-20-2021, 05:09 AM
Last Post: zlsl
   [RMXP] Showing skill gained by leveling up on battle result FrQise 12 12,648 05-07-2021, 02:05 PM
Last Post: FrQise
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,839 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 13,890 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 12,761 08-08-2019, 02:50 PM
Last Post: aeliath
   YAMI Battle symphony + Holder add on (Loop casting anim) Starmage 0 4,253 03-01-2018, 09:03 AM
Last Post: Starmage
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,910 02-14-2018, 04:25 PM
Last Post: Starmage
   Atoa Individual Battle Commands Geminil 3 6,966 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 35,459 01-05-2017, 08:05 PM
Last Post: Noctis



Users browsing this thread: 1 Guest(s)