![]() |
Modding question/request
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 |
Re: Modding question/request
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 ] |
Re: Modding question/request
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: ........." |
Re: Modding question/request
Excellent - thanks Johan!
PvK |
All times are GMT -4. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.