Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Atoa Custom Battle System: Popup when status change
#4
The setting of "Dmg_State_X_Adjust" adjusts the horizontal alignment of the pops. And when set to '0'. the horizontal alignment should be centered with the rest of the damage assuming the pops use the same drawing methods as the rest of the damage. I say that because the damage pops align themselves differently between the bitmap rendered pops and the text-rendered pops. It looks real weird and out of place.

The 'normal' damage pops system with RMXP (and its predecesors) did not need to show whether the target was for either actor or enemy. However, Atoa was ingenious and performed a little test (which I myself just did), and saw that the actual target affected (ie the @battler) could just be passed into the damage routine itself!

Code:
module RPG
  class Sprite < ::Sprite
    alias i_am_a_goofball damage
    def damage(value, critical)
      # My addition
      (@battler.is_a?(Game_Actor)) ? p 'actor' : p 'enemy'
      # The original code
      i_am_a_goofball(value, critical)
    end
  end
end
Like my little snippet there?

So in "damage_state_sprite_drawing" (where it finally renders the pops to the screen, you may adjust the x-position of the damage pops by "X" amount, just by adding that little test right when the method starts.
Code:
# Change X position if actor (0px) or enemy (left 45px)
x += (@battler.is_a?(Game_Actor)) ? 0 : -45

Mind you, if you are shifting the damage for an enemy to the left by an extreme degree, you could likewise do this for the y-height too. Winking

Any other queries about this particular plugin can be asked in the plugin's thread.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
RE: Atoa Custom Battle System: Popup when status change - by DerVVulfman - 01-24-2016, 06:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   ACBS - Atoa Custom Battle System and TP System zlsl 2 3,714 10-20-2021, 05:09 AM
Last Post: zlsl
   [RMXP] Showing skill gained by leveling up on battle result FrQise 12 10,270 05-07-2021, 02:05 PM
Last Post: FrQise
   Change event graphic? Bennerdeben 2 4,308 11-15-2020, 10:13 AM
Last Post: Bennerdeben
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 12,805 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 11,815 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 10,850 08-08-2019, 02:50 PM
Last Post: aeliath
   YAMI Battle symphony + Holder add on (Loop casting anim) Starmage 0 3,895 03-01-2018, 09:03 AM
Last Post: Starmage
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,474 02-14-2018, 04:25 PM
Last Post: Starmage
   Atoa Individual Battle Commands Geminil 3 6,149 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Display State Ranks in Status Screen Melana 3 6,686 04-02-2017, 12:46 AM
Last Post: marketing small business ideas



Users browsing this thread: