How to create multiple Military Briefings for your maps:
First, create your map as usual in WorldBuilder..
Now go to EDIT/SCRIPTS and put the following in the PlyCivilian folder:
Script name: mapName
*** IF ***
True.
*** THEN ***
Show military briefing String: 'mapName' for 5000 milliseconds.
Set timer 'createdByCountDown' to expire in 5.00 seconds.
Script name: createdBy
*** IF ***
Timer 'createdByCountDown' has expired.
*** THEN ***
Show military briefing String: 'createdBy' for 5000 milliseconds.
Set timer 'qaCountDown' to expire in 5.00 seconds.
Script name: qa
*** IF ***
Timer 'qaCountDown' has expired.
*** THEN ***
Show military briefing String: 'qa' for 6500 milliseconds.
Set timer 'email' to expire in 6.50 seconds.
Script name: email
*** IF ***
Timer 'email' has expired.
*** THEN ***
Show military briefing String: 'email' for 6000 milliseconds.
NOTE: Play with the timings as you wish. Further, all above scripts are Set to Deactivate Once Run and are Evaluated Every Frame until disabled.
Now create a file called "map.str" and put it where your map is. This file is actually a text file and it will look like this (conforming to the above):
mapName
"Cool Map NAME"
End
createdBy
"created by JohnSmith"
End
qa
"questions/comments and other stuf, email me at"
End
email
"JohnSmith@gmail.com"
End
Quick Tutorial - how to create Military Briefings
Started by thudo, May 05 2004 06:10 PM
2 replies to this topic
#1
Posted 05 May 2004 - 06:10 PM
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#2 Guest_candctm_*
Posted 07 May 2004 - 10:34 PM
i do all of that and in the end i get a thing saying missing script 3 if you want the code that i did here it is
1
"Location : Estonia , "
End
2
"Use the units provided to protect the Mobile Construction Vehicle, (MCV). You should then deploy the MCV by double clicking on it. Then you can begin to build up a base. Start with a Power Plant then a barracks. Finally, search out and destroy all enemy Nod units in the surrounding area."
End
3
"Do not destroy any civillian structures"
End
btw 2 is only one line on wordpad, it is also saved as a STR file
1
"Location : Estonia , "
End
2
"Use the units provided to protect the Mobile Construction Vehicle, (MCV). You should then deploy the MCV by double clicking on it. Then you can begin to build up a base. Start with a Power Plant then a barracks. Finally, search out and destroy all enemy Nod units in the surrounding area."
End
3
"Do not destroy any civillian structures"
End
btw 2 is only one line on wordpad, it is also saved as a STR file
#3
Posted 08 May 2004 - 10:02 PM
Wordpad? Does it not screw things up sometimes? Try opening the wordpad made file with notepad and see if there is any stuff that shouldn't be there..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users