SDI title
 

 
  News:
  » Current News
  » Archive News

  Features:
  » Tutorials
  » Downloads

  Community:
  » Forum




  Random Tip:
  » View All Tips



  Site:
  » Staff
  » Contact Us

  Affiliates:
  » Atomic Wiener Dog
  » CNC Reneclips
  » GenDev
  » Project Perfect Mod
  » The Finest Hour
  » Warhammer40k: DoW SDI
  » YR Argentina
 

How to create multiple Military Briefings for your maps

Title: How to create multiple Military Briefings for your maps
Difficulty: Novice AI Scripter
Author(s): SDI Team
Game Type: Both Regular Generals and Zero Hour


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









SDI
SDI is part of the Revora Creative Network.
Orange Block design created by Detail © 2004 Revora Creative Network.
Content © Revora Creative Network 2004 - 2008