Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Proper Fire Arrow… Simple Structure B… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
|||||||||||||||||||||||||||||
Register and log in to move these advertisements down In-Game Text: map.str TutorialTutorial for BFME, BFME 2, ROTWK
Writing text in map.str Because you have not done any map.str before, I will explain how to layout text in the map.str file. If you wish to display one line of text in your map, we must write 3 lines of text in the map.str. If you want to show 2 lines of text, 4 lines in the map.str, and so on like that. Writing text in map.str is very simple. You must write an extra 2 lines, for any amount of text you wish to show in game. The first line is the text title, the next amount (depending on how much text you have) is the actual text that will be displayed in the game, and the final, and most important dignifies the end of the text. If you do not have the final line, your game may freeze and you might have to reboot your system. The layout is as follows: SCRIPT: Text_Title "Your text here" End You might have noticed that I have put 'SCRIPT: ' before the text title, this is so that you can find it in worldbuilder. If you do not put this, you will have to type in your text title in worlbuilder manually, and in game it will say @MISSING: Text Title. (It won't say 'text title', it will show what you have named it.) Also, don't put any spaces in your text title, if you require a space use a '_' instead. All of your text, that you wish to show in game, must be enclosed within double speech marks. The speeach marks will not show up when you play your map, but it shows the game what is to be displayed. Do not forget to close the speech marks, because this also may cause your game to crash. If you want to start a new line of text you use the following: \n then you start a new line. For example: Hello, And welcome\n To my map Will be displayed as: Hello, And welcome To my map All text is centered in game. The last line, shows the end of your text, which without, like I said, will game cause your game to freeze and crash. You must type End, with a capital E, after all of your text. To make text show up in the game you need to set up a script like the following: Conditions - Anything you want Actions - Interface/Display Text/Show Text Message to user Show military briefing localized string 'Text title in map.str' for '???' milliseconds. For the ??? bit, that is how long it is displayed on screen. Note that it is in milliseconds, so their are 1000 milliseconds to a second. Therefore, if you choose that option to be 10000 ms, then it will stay on screen for 10 seconds. Links / Downloads
CommentsDisplay order: Newest first Rob38 (Team Chamber Member) - Saturday January 9, 2010 - 12:48 For a better format, try adding
|
|||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |