Large Battler Graphics and Transparent message window

Hi! Yes, I remember that there was already a thread describing exactly the same problem I ran into but I can't find it anymore...

This is how the combat looked in the old VX / XP versions of the game

uuPw79q.png


And after I rewrote it in Ace, it looks ...

7euAZ70.png


It is no biggy, if there is no simple solution then I will have to cut my losses and stay in VX. But of course I would rather move the game to the newest RPG Maker version not to forget that I invested already so much time in it.

And if you are going to help me, then please a step by step explanation where and on which line I have to change what, because just a reference to a script that is doing what I need doesn't help me, because I have no clue where to put the script.
It seems to me you have to resize the graphics of the battler. For this, you need an image-editing program such as Photoshop or Gimp.

If you need instructions on this point concerning Photoshop, you just have to go to the Image menu then use the Image size feature and enter the desired numbers into the fields; note that, for the Pixel Dimensions field, if you click on the rolling menu next to the size fields, you can choose percent instead of pixels, which may be simpler to use – personnally, I think a value between 50 and 60% should suffice: give it a try and see how it works in RPGM.
That was the very first thing I did, because I try to stay as close as possible to original RPG-Maker code. But using 296px height, once the message box disappears it means you have 2third of the screen filled with your battler and the lower third of the screen just odly empty.

I removed the graphics from the boss-enemy completely now using an 'invisible' enemy and wrote a couple of events in the troop section that place the picture of the battler and handle the spell and combat effects, but it was a lot of work creating all the masks and overlays for every spell effect and I am pretty sure that my problem can be solved just by changing 2-3 lines in the scripting editor. But as I said, it's not such a big problem... I think I am anyway too fast here and I should stay in VX until I gathered more knowledge about how everything works.
Well... for now I found a way. It's rather dirty so, I wouldn't suggest anyone to use it. I will also just use it until I found the correct way to address this problem...

In the Script Editor

Game Objects / Game_Troop / Line 71

enemy.screen_y = member.y

I changed it to

enemy.screen_y = member.y + 120

Now the battlers are all drawn behind the message window and at the moment I can't see anything that doesn't work... well I can't use any battlers from the RTP but that's a rather small price compared to the effort to write the whole battle as an event... (it was nice to notice how powerful the event system in RPG Maker is, though)
It's been a while ;-)...

here is a more clean solution and it differs now between overly large battlers and normal battlers.

#-------------------------------------------

class Game_Troop < Game_Unit
  def setup(troop_id)
    clear
    @troop_id = troop_id
    @enemies = []
    troop.members.each do |member|
      next unless $data_enemies[member.enemy_id]
      enemy = Game_Enemy.new(@enemies.size, member.enemy_id)
      bhgt = Cache.battler(enemy.battler_name, enemy.battler_hue)
      need_y = Graphics.height - bhgt.height
      enemy.hide if member.hidden
      enemy.screen_x = member.x
      if need_y >= 120
        enemy.screen_y = member.y
      else
        if need_y <= 0
          enemy.screen_y = member.y + 120
        else
          enemy.screen_y = member.y + 120 - need_y
        end
      end
      @enemies.push(enemy)
    end
    init_screen_tone
    make_unique_names
  end
end

#-------------------------------------------
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/large-battler-graphics-and-transparent-message-window.37078/