-
Notifications
You must be signed in to change notification settings - Fork 30
File format: zon
chino edited this page Jan 5, 2013
·
1 revision
Trigger zone format (*.zon):
num_zones : uint16
{
group : uint16
type : uint16 // 0 = ZONE_Sphere, 1 = ZONE_Box, 2 = ZONE_Polygonal
pos( x, y, z ) : all float
half_size( x, y, z ) : all float
if type != ZONE_Sphere
{
num_sides : uint16
{
normal( x, y, z ) : all float
offset : float
}[ num_sides ]
}
when_player_isin : uint16 // index into action table
when_player_enters : uint16 // index into action table
when_player_exits : uint16 // index into action table
when_player_shoots : uint16 // index into action table
when_enemy_isin : uint16 // index into action table
when_enemy_enters : uint16 // index into action table
when_enemy_exits : uint16 // index into action table
when_enemy_shoots : uint16 // index into action table
}[ num_zones ]