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
Showing Timers with map.str This is usually the smallest piece of text in the map.str. A timer can be used to show someting happening, such as the arrival of reinforcements or to show something happening in game. To write the timer in map.str, you use the same layout as before, and don't add the the actual contdown timer. For example, if reinforcements were coming to battle, the map.str text would look like this: SCRIPT: Reinforcements_Timer "Reinforcmenets Arrive in" End To make it show up in game you must set up a simple script in worldbuilder. To do this, follow the instructions below: 1) Open worldbuilder and click the scripts icon 2) Make a new script with the conditions being anything you want. 3) Actions must be Interface/Counters and Timers/Specific Timer - Display Show timer name 'Reinforcements' with localized string 'Timer name in map.str' Then you need to set up another script to make it count down: Condition - the same as the last script Actions - Scripting/Timer/Seconds Countdown Timer - Set Set timer name 'Reinforcements' to expire in '???' You can choose this to be whatever you want. Note that it is in seconds though. Now you need to set up a final script to make the timer dissapear when it has finished: Conditions - Timer 'Reinforcements' has expired Actions - Interface/Counters and Timer/Specific Timer - Hide Hide timer name 'Reinforcments' Because this is a map.str tutorial, I am not going to show you how to spawn reinforcements in the map, you will have to look elsewhere for that. I reccomend using the forums. NOTE: You do not have to call the timer 'Reinforcements' I was just using this as an example. 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. |