Place Enemies lower in Troops Window

● ARCHIVED · READ-ONLY
Started by UgyBoogie 11 posts View original ↗
  1. Hello Community :cutesmile:
    I've encountered an issue today, where the troops menu doesn't allow me to place enemies lower than a certain point. This wouldn't be a problem with a default Battle HUD, but since I've customized mine I have a lot of empty, unused space.
    pic1.png
    As you can see it's not possible to go below the red line.
    A plugin would be great where I could use notetags on enemies to set their Y coordinate lower by a custom amount.
    For example: <Y_Location: 30> ; And this would place the sprite of the enemy 30 pixel lower.

    I'd really appreciate anyone's help! Or maybe even tips on how to work around my problem! Thank you :kaoluv:
  2. this depends on what plugin you're using to increase screen size - there are several plugins that include the option for relative repositioning of battlers as well as the screen size change.
  3. Andar said:
    this depends on what plugin you're using to increase screen size - there are several plugins that include the option for relative repositioning of battlers as well as the screen size change.
    I am currently using Yanfly's Core Engine for changing the resolution. There's a parameter in the plugin for "Repositioning Battlers" and it's set on true, but it doesn't seem to help me with my specific problem :kaoeh:
  4. Yanfly's system has that option, and I know that it worked for others - either you mixed up part of the configuration, or your plugin order is wrong or something like that - can you give a screenshot of your plugin manager?
  5. Quite the extensive list, but here you go:
    listv6j17.png

    I can most definitely say the plugin order isn't what's wrong. Yanfly has an order on her website to ensure compatibility within her own plugins. And I followed that order 1:1. The only other plugins are SOUL's titlescreen, which shouldn't mess with battle sprite positioning, and DreamX's extended Battle Status, which only messes with the windows in battle (also tried turning this one OFF, but doesn't change anything).
    I spend the past 5 days on a Yanfly marathon and watched every 137 plugin videos that she released, and I don't think I've missed something that revolves around my issue, but I could be wrong. I fiddled alot with the parameters but couldn't get the desired effect. If I overlooked anything please correct me :kaodes:
  6. LadyBaskerville said:
    I have found a plugin to reposition enemies here: https://mrtrivelrpg.wordpress.com/2016/02/14/enemy-positions/
    However, it only works with exact positions, not with something like "30 pixels lower". Give me a moment, I'll put something together for you.

    @UgyBoogie Here you are: https://drive.google.com/open?id=0Bzg5Egy_d-RoQkx0Y2FVd1JXX00
    Use the notetags <ShiftX: n> and <ShiftY: n> in the enemy notebox to move the enemy around by n pixels.

    Works exactly how I wanted, thank you SO much for your time and effort, I really appreciate it! :kaojoy:
    Now I just have to fiddle around to make it compatible with Yanfly's "Battle Engine Core" script :unsure: So the displayed EnemyName get shifted beyond the limit as well. Then it would be perfect!
    42ce873fa6.png
  7. UgyBoogie said:
    Now I just have to fiddle around to make it compatible with Yanfly's "Battle Engine Core" script :unsure: So the displayed EnemyName get shifted beyond the limit as well. Then it would be perfect!
    Download the file again, I think I fixed it ;) Or just open the js file in a text editor and add these lines:
    Code:
    if (Imported.YEP_BattleEngineCore) {
       Window_EnemyVisualSelect.prototype.makeWindowBoundaries = function() {
           if (!this._requestRefresh) return;
           this._minX = -1 * this.standardPadding();
           this._maxX = Graphics.boxWidth - this.width + this.standardPadding();
           this._minY = -1 * this.standardPadding();
           this._maxY = Graphics.boxHeight - this.height + this.standardPadding();
       };
    }
  8. Works like a charm! :kaojoy:
    You helped me out big time. Thank you very much :cutesmile::thumbsup-right:
  9. You're welcome :)
  10. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.