Line breaks in Faction Descriptions

Hello all,

I am editing the FactionText.xml files - adding in descriptions for custom factions in a mod but when I actually open them in the game, there are random line breaks
that look like
this
it is incredibly annoying and looks unprofessional.

 

Has anyone else had this issue and/or does anyone know of a resolution?

Thanks!

9,884 views 7 replies
Reply #1 Top

Make sure your text editor is using the correct line endings (windows /r/n/ versus UNIX style /n)

For this blob of text, it works better not to have any line breaks.

Reply #2 Top

I'm not sure I understand your meaning. My code doesn't have line breaks.

The code looks like this:

<String>A secretive people, little is known of Breen political or social structures. Even the climate of their homeworld remains a mystery to the other galactic powers. All Breen so far encountered wear special climate-controlled bio-suits, to facilitate interaction in alien environments. The Breen are among the most recent powers to emerge on the galactic stage, and have used their relatively peripheral geopolitical standing to their advantage, bending events to their will from a safe distance and at a minimum investment of soldiers and treasure. Of special note are Breen weapons, which are extremely powerful and more than a match for any phaser or disruptor.</String>

 

Reply #3 Top

Quoting rynebrandon, reply 2

I'm not sure I understand your meaning. My code doesn't have line breaks.
End of rynebrandon's quote

He may want a line break

Reply #4 Top

Quoting a0152570, reply 3


Quoting rynebrandon,

I'm not sure I understand your meaning. My code doesn't have line breaks.



He may want a line break

End of a0152570's quote

 

The game is automaticly adding line breaks....where there are none. Thats the issue. I have come across it too.

Reply #5 Top

I have encountered this problem as well. Also, sometimes the strengths and weaknesses text will shoot off to the left corner of the screen on a game startup instead of being beneath the history description.

Reply #6 Top

I kinda solved this issue by "adding" line breaks. The window in the faction editor is (39) (41) 40 characters long so I added a line break to reflect this and it displays alot cleaner.

    <StringTable>
        <Label>FACTION_BORG_Dec</Label>
        <String>Borg 'civilization,' inasmuch one could
        call it that, consists of a collective
        of individual lifeforms called drones
        which receive direction from a
        centralized hivemind through a
        sophisticated subspace network that
        ensures each member is given constant
        supervision and guidance.
        The Collective exists for one purpose:
        to achieve perfection of understanding
        and the elimination of the need for
        biological matter through the mindless
        consumption of worlds and technology
        as well as the aggressive forced
        assimilation of other species. The
        mental energy of the group
        consciousness can help an injured or
        damaged drone heal or regenerate
        damaged body parts or technology.
        The collective consciousness not only
        gives them the ability to share the
        same "thoughts", but also to adapt
        with great speed to defensive tactics
        used against them. With no real
        'culture' to speak of, Borg tourism,
        trade and diplomatic contact is often
        non-existent.</String>
    </StringTable>

Reply #7 Top

Quoting TheHordesman, reply 5

I have encountered this problem as well. Also, sometimes the strengths and weaknesses text will shoot off to the left corner of the screen on a game startup instead of being beneath the history description.
End of TheHordesman's quote

I get that as well and it seems to be when there is too much text for the box, so it pushes that section out and drops it in the top left corner.