Help with overlapping text

● ARCHIVED · READ-ONLY
Started by rwherndon 15 posts View original ↗
  1. Hello, I'm very new to RPG maker, and I was installing some of Yanfly's scripts when I got this error of the tp and mp cost overlapping the skill name. The skill's name is very long I know, but it's not being compressed at all, and the tp and mp costs overlap other, shorter, skill names as well. Can anyone please help? I'm using RPG Maker VX Ace. and Yanfly's Skill Cost Manager script among others, though I only noticed the problem after installing the Skill Cost Manager script.

  2. First, always put a link to the script's page

    I do think you'd need to shorten that name and/or make the font smaller for the cost... I don't think I'd like that long name even in compressed form if I was a player of your game
  3. Does it usually without the script?
  4. I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


    Have you made any changes to the scripts?


    If you have several imported scripts, you could just try changing the order a bit.
  5. Here is a picture of 0 custom scripts installed.

    http://i100.photobucket.com/albums/m25/Roderick_Herndon/textnoscripts_zps37cb4d80.png

    The text does seem to compress a little, so I'm not entirely sure what could be wrong, if anything is wrong at all. I have a good number of Yanfly's scripts installed I'll try rearranging the order, any suggestions for order?

    Here's the script list:

    Yanfly Engine Ace - Ace Core Engine v1.09

    Yanfly Engine Ace - Ace Message System v1.05

    Yanfly Engine Ace - Ace Message System Add-On: Message Actor Codes v1.01

    Yanfly Engine Ace - Ace Battle Engine v1.22

    Yanfly Engine Ace - Battle Engine Add-On: Elemental Popups v1.00

    Yanfly Engine Ace - Battle Engine Add-On: Enemy HP Bars v1.10

    Yanfly Engine Ace - Enemy Target Info v1.02

    Yanfly Engine Ace - Cast Animations v1.00

    Yanfly Engine Ace - Battle Command List v1.09b

    Yanfly Engine Ace - Combat Log Display v1.02

    Yanfly Engine Ace - Death Common Events v1.01

    Yanfly Engine Ace - Enemy Death Transform v1.01

    Yanfly Engine Ace - State Animations v1.01

    Yanfly Engine Ace - Victory Aftermath v1.04

    Yanfly Engine Ace - Buff & State Manager v1.07

    Yanfly Engine Ace - Input Combo Skills v1.01

    Yanfly Engine Ace - Random Skill Invoke v1.00

    Yanfly Engine Ace - Skill Cost Manager v1.03

    Yanfly Engine Ace - Skill Restrictions v1.02

    Yanfly Engine Ace - Weapon Attack Replace v1.01

    Yanfly Engine Ace - Ace Item Menu v1.02

    Yanfly Engine Ace - Ace Menu Engine v1.07

    Yanfly Engine Ace - Ace Save Engine v1.03

    Yanfly Engine Ace - Menu Cursor v1.00

    Yanfly Engine Ace - System Options v1.00
  6. So it looks like it's move the skill list window down, and changed it to 2 columns instead of 1.


    Try moving the Ace Item Menu up above the Ace Battle Engine and see if it makes a difference.


    Check both first, though, because sometimes the scripts will say "if you use this script with xyz other script, this one has to go above/below it"
  7. Hmm rearranging the order didn't seem to help. Perhaps I could edit the default skill text rectangle width to end before the mp and tp cost text rectangle? If so, how would I go about that?
  8. I don't know how these scripts do it, but normally text is "painted" on the screen at an X and Y position, given in pixels from the top left corner of the screen. 

    If you have changed the resolution of the gamewindow it can be that not all scripts updated the X and Y positions of the text they generate accordingly. That means that where before a value of 300 pixels would be at 75% of the screen now it could be at only 50% of the screen. Causing overlap with other text.

    I am new to RPG Maker so maybe I'm completely wrong here, but it seems from your description that the cost manager script is generating text at the wrong screen-coordinates.

    Try searching that script for an X coordinate and increase it a bit. That should shift the skill cost text to the right and hopefully solve the overlap problem. You can even keep the long name :)

    I hope that this is of some help.

    Edit: I looked at the script and you should look at the end, under the "Window_SkillList" header.

    That is where the script specifies the x coordinate of where it draws the text on the screen.
  9. Messed around with the x coodinate in the Skill Cost Manager Script under the Window_SkillList heading, changing rect.x to different number, for rect.width -= x changed x to various different numbers, no obvious effect other than longer load times :/
  10. Changing the x coordinate should not cause longer load times.
  11. It was only a fraction of a second really, I just mentioned that off-handedly sorry.
  12. In Skill Cost Manager, under Window_SkillList, new method: draw_mp_skill_cost, rect.width -= cx, changed cx to a small integer made the text area for the MP cost smaller, but no text compression occurred and the TP cost overlapped the MP cost.
  13. rwherndon, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    Just edit your last post and add the extra info ;)


    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.