accomplice
  • accomplice
  • 80.75% (Honored)
  • Private Topic Starter
16 years ago
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.

UserPostedImage 

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? :)
Sponsor
Drummin
16 years ago
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
accomplice
  • accomplice
  • 80.75% (Honored)
  • Private Topic Starter
16 years ago
Thanks for your reply. After reloading the map into worldbuilder, the briefings worked fine 🙂
Drummin
16 years ago
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.
[RTS]BN+VS*
16 years ago
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
Drummin
16 years ago
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.

[RTS]BN+VS*
16 years ago
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.
[RTS]BN+VS*
16 years ago
I tried that (DisplayName = OBJECT:MyCustomUnit) - but it's not working. I just get "MISSING: OBJECT:MyCustomUnit" ingame ...

Any more suggestions?
Drummin
16 years ago
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.