• Welcome to SC4 Devotion Forum Archives.

Help Ltext description separation between stats

Started by supercity4, September 17, 2014, 09:44:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

supercity4

Greetings, I am modifying and creating new .lot with Reader.
My problem is how to create a line break in LTEXT, I tested leprop, sc4 tools and still do not get it.

I would like to stay in the description eg

Monthly Cost: X
Capacity: X
Coverage: X


and my result is:


Monthly Cost: X

Capacity: X

Coverage: X


I searched all over the internet and this forum without a clear explanation, I tried unsuccessfully to insert unicode elements.

Copying some LTEXT of any person, I managed to make it visually on a website, but changing any letter or number again separated.

We appreciate any help as I try to create a great mod for sc4.

Tropod

LTEXT reference for SC4: http://www.wiki.sc4devotion.com/index.php?title=LTEXT

If I recall correctly......

Due to nature of ltext some programs (ie ilive reader, sc4reader) don't handle/display it correctly/fully. Additionally ltext can accept normal text but also html/tags, depending on the context in which it is used which can also have a bearing on layout (ie GUI).

For example;
A single line break for text in hex would be 0x0A. So 0x0A0A would look like your post (double line break). Using html/tag a single line break would be "<  br  >" in text (without quotes & spaces). However if the UI you're using (or embedding) this on is not wide/big enough (&/or depending on text format) SC4 may display it different to how editing programs display it.