Jump to content

[Fix] Colored text breaking quest lines, as well as max quest textline length being shorter than default questwindow width.


Recommended Posts

  • Honorable Member

This one is pretty stupid.

By default, the max amount of text allowed per line within the questwindow is shorter than the default width of the questwindow itself, also, although the color codes get embedded in the color they represent, they still count towards the text length for each character of the color code itself, despite not "being there" anymore.

E.g: 

"|cffffff00The sun is bright!|r"

Will just become a yellow-colored "The sun is bright!", but every character used in that string will still count towards the length of the window, making it break early when used after some text.

 

Fix:

This is the hidden content, please

90 Is the perfect default for the normal questwindow, if you have a different one, maybe with a background, you may change it accordingly.

 

Before, and after:

.png.png

Edited by Syreldar
added small explanation.
  • Metin2 Dev 67
  • Good 7
  • muscle 1
  • Love 23

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.