Log in

View Full Version : Modding question/request


PvK
May 15th, 2004, 02:56 AM
Is there a way to insert new-line characters into mod strings?

I'm trying to create a good entry for #summary, which for the unmodded nations includes lists with multiple lines:

Race: Humans
Military: Infantry, Trained Farm Animals
Magic: Nature
Priests: ...

But I don't know how to make each line start on a new line, so it doesn't look the same. "\n" didn't do anything special...

Anyone know how?

If there's no way, I'd like to request it.

PvK

Gandalf Parker
May 15th, 2004, 03:21 AM
The same thing came up for the maps description. There was an answer. Something about a unix return instead of a DOS one.

[ May 15, 2004, 03:47: Message edited by: Gandalf Parker ]

Johan K
May 17th, 2004, 12:37 AM
Two 'newline' in a row will make the next word appear on the next row. There must not be any other control characters between these newlines, so make sure to use a Dominions compatible editor like emacs for linux http://forum.shrapnelgames.com/images/icons/tongue.gif . Windows editors often put some extra stuff at the end of each line so beware of those.

It would look like this

".............................

Race: .........

Military: ........."

PvK
May 17th, 2004, 01:50 AM
Excellent - thanks Johan!

PvK