EmceeProphIt

Villager
Member
Joined
Jul 13, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
Hello, ya'll! I'm experimenting with ways to expand item and skill descriptions in game. Right now I figured out a way to make the descriptions as long as I want, but doing so also expands the text box displaying target names in battle. This can cover more of the screen than I want, and make the visuals less clear in combat.

Basically I want this:
Example text3.PNG

Without also causing this

Example text2.PNG

I altered the text code in the 'rpg_windows' js file to expand the text box, and used the Word Wrap function in Yanfly's message core to carry the text over so it goes to the third line.

I'd like to ideally create a system in which ONLY the mechanical info is displayed in battle (top two lines) and lore/flavor text is reserved for the menu. But barring that, I'd like to at least fix this issue and have finer control of the size of the text box so the target name doesn't take up so much space in battle.
At most, I'd probably use 4-5 lines for the longest item/skill descriptions, and keep the first two lines just for the functional description.

If you need anymore info let me know. Thanks for the time ya'll!
 

Ms Littlefish

Time Traveling Victorian Vampire
Global Mod
Joined
Jan 15, 2014
Messages
8,077
Reaction score
11,709
First Language
English
Primarily Uses
RMMV
I’ve moved this to JavaScript/Plug-in Support, thank you!
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
1,713
Reaction score
1,177
First Language
English
Primarily Uses
RMMV
Since it's the same window handling the item text and enemy name, you'll likely need a plugin to dynamically resize that window based on the text length or create a new separate window for one or the other.

This thread might help. Try substituting your scene and window name:
 
Last edited:

EmceeProphIt

Villager
Member
Joined
Jul 13, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
Since it's the same window handling the item text and enemy name, you'll likely need a plugin to dynamically resize that window based on the text length or create a new separate window for one or the other.

This thread might help. Try substituting your scene and window name:
Thanks! I'll give it a try.
 

Tray

Regular
Regular
Joined
Sep 7, 2018
Messages
50
Reaction score
10
First Language
English
Primarily Uses
RMMV
im not sure what engine your using but for MV. One of yanflys plugins actually does this i don't recall which off the top of my head but it allows you to type a description in on the note box using tags. Which can bypass the 2 lines int he default box provided by the engine and it resizes the box for what's written but for small things like the name the box remains the normal size or w/e its set to
 

Latest Threads

Latest Posts

Latest Profile Posts

Things you can say about your RPG maker project, but not about your partner:
I’m so lucky! Simone got referred to a feline cardiologist and had I not called this morning the moment there was a cancellation the next opening would have been SEVEN months from now! The other heart hospital would have been on the other side of Michigan. Who knew that animal specialty appointments were also terrible to get!?
Scalemail project is one step closer to completion. Ordered scales from a local metalworking company, ordered some split rings... now all I need is to wait. :>
And pray that the split rings will be flexible enough to handle that.
A spooky banner and a spooky pfp for a spooky season.
Spooky-Season.png
Broke: Actually making the stuff you need to make before the game can progress.
Woke: Wasting time instead by making a sidequest where you can recruit an imaginary friend to the party.
1696264391516.png

Forum statistics

Threads
134,994
Messages
1,252,694
Members
177,900
Latest member
LinkIncGames
Top