Example Zone Def
The following is an example setup for a Zone Def file to better demonstrate how to
put the above information into practice. Use the same format and fill in the appropriate
values given the information contained throughout the various documents to create a "Zone" for an HCGE game.
In this example, assume that Text 0 is used by a Status Script that will display the
level's name, and that Texts 1-3 are used by Command calls to load level data that are
stored in the Zone 1 folder under the "mettrix" game folder. They don't
necessarily have to be set up this way.
;;;;;;;;;;;;;;;;;;;;
; Example Zone Def ;
;;;;;;;;;;;;;;;;;;;;
Zone Font File: NONE
Number of Texts: 4
Text 0: Level Name
Text 1: mettrix\zone01\1.lev
Text 2: mettrix\zone01\1.til
Text 3: mettrix\zone01\1.itm
Zone Music Def File: music.def
Zone Sound Effect Def File: NONE
Zone Object Def File: objects.def
Number of Zone Status Objects: 0
Number of Total Zone Funcs: 2
Number of Zone Func Files: 1
Function File 0: ZoneFunc.def
;0- Act 0 Init
;1- Act 1 End Boundary Event
Number of Acts: 1
Act 0- Init Func: Z0 ;Act1 Init
Act Font File: NONE
Zone Music Def File: NONE
Zone Sound Effect Def File: NONE
Act Object Def File: NONE
Number of Act Status Objects: 0
Number of Total Act Funcs: 0
Number of Act Func Files: 0
Number of Boundary Events: 1
Event 0- Boundary X1: 8728
Boundary Y1:-2147483647 ;Lowest possible position value
Boundary X2: 9999
Boundary Y2: 2147483647 ;Highest possible position value
Target Object: _BE_Camera
Num Function calls: 2
Function 0- Func ID: Z1 ;Zone Function 1
When To Call: _BE_PerPlayer
Function 1- Func ID: Z2 ;Zone Function 2
When To Call: _BE_PerPlayer
Number of Placeable Debug Objects: 4
Object ID 0: G1
Object ID 1: G2
Object ID 2: Z0
Object ID 3: Z1