Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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
   ACBS - Atoa Custom Battle System and TP System zlsl 2 3,866 10-20-2021, 05:09 AM
Last Post: zlsl
   [RMXP] Showing skill gained by leveling up on battle result FrQise 12 10,759 05-07-2021, 02:05 PM
Last Post: FrQise
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 13,391 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 12,238 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 11,190 08-08-2019, 02:50 PM
Last Post: aeliath
   YAMI Battle symphony + Holder add on (Loop casting anim) Starmage 0 3,959 03-01-2018, 09:03 AM
Last Post: Starmage
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,535 02-14-2018, 04:25 PM
Last Post: Starmage
   Atoa Individual Battle Commands Geminil 3 6,351 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 32,110 01-05-2017, 08:05 PM
Last Post: Noctis
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 9,325 06-13-2016, 03:41 AM
Last Post: Starmage



Users browsing this thread: