Posted by: accomplice - Monday, June 15, 2009 2:35:15 AM
I roughly know how to get custom strings into your map, but I need some further advice on the formatting. So far, I can tell that you need to have a text file called "map.str" in the map folder, which contains the names of the strings as well as their contents. Anyways, I can't figure out how to separate bold title and thin text within that string, currently the strings show completely as bold captions. [url=http://xs.to/xs.php?h=xs140&d=09251&f=mishtext483.jpg][img]http://xs140.xs.to/xs140/09251/mishtext483.jpg.xs.jpg[/img][/url] I tried having new lines in the strings, tried using "\n"... well I'm at my wit's end - does anyone know the correct semantics? :)

Posted by: Drummin - Monday, June 15, 2009 6:38:53 AM
Using \n is the correct way to break the line. Put a space before the break. "I'm the first line \nI'm the second line" End

Posted by: accomplice - Monday, June 15, 2009 1:36:41 PM
Thanks for your reply. After reloading the map into worldbuilder, the briefings worked fine :)

Posted by: Drummin - Monday, June 15, 2009 2:23:08 PM
Yes, many times, especially if you're adding "SCRIPT:" lines to your map.str files you'll need to reload the map and restart the game to see the results. Glad you got it working.

Posted by: [RTS]BN+VS* - Tuesday, June 16, 2009 7:16:52 AM
A somewhat related question I think: When you change the display name of some unitz in map.ini, they will show up in the game when you select/mouse over a unit, but they will be preceded by 'MISSING: '. Which reference is missing exactly? Cheers BN

Posted by: Drummin - Tuesday, June 16, 2009 7:27:41 AM
Well I haven't played with renaming units or map.ini files much so I can't say for sure. Have tried adding the name for your unit. DisplayName = OBJECT:MyCustomUnit This question and my response should be in a separate post.

Posted by: [RTS]BN+VS* - Tuesday, June 16, 2009 11:29:50 AM
Can't you split the topic then? But w/e doesn't matter that much I think xD Thnx for the suggestion, I'll try it out next time I'm working on the map in question.

Posted by: [RTS]BN+VS* - Wednesday, June 17, 2009 3:28:47 AM
I tried that (DisplayName = OBJECT:MyCustomUnit) - but it's not working. I just get "MISSING: OBJECT:MyCustomUnit" ingame ... Any more suggestions?

Posted by: Drummin - Wednesday, June 17, 2009 8:35:24 AM
I would suggest starting your own topic on this matter. Because you jumped in on this topic, your question might not get the attention from Mod experts like it would on its own.