; ---------------------------------------------------------------------
; place.ini

; ---------------------------------------------------------------------
; Note that filename portion of texture pathnames found in meshes
; (both wrl and sqg) will be treated (or looked up) as resources.

[GeometryResources]

; textures: waterTex grassTex metalTex
propMesh_1=Gground.wrl

; Fish meshes
fm01=fm01.wrl
fm02=fm02.wrl
fm03=fm03.wrl
fm04=fm04.wrl
fm05=fm05.wrl
fm06=fm06.wrl
fm07=fm07.wrl
fm08=fm08.wrl
fm09=fm09.wrl
fm10=fm10.wrl
fm11=fm11.wrl
fm12=fm12.wrl
fm13=fm13.wrl
fm14=fm14.wrl
fm15=fm15.wrl
fm16=fm16.wrl
fm17=fm17.wrl

fspl01=fspl01.wrl
fspl02=fspl02.wrl
fspl03=fspl03.wrl
fspl04=fspl04.wrl
fspl05=fspl05.wrl
fspl06=fspl06.wrl
fspl07=fspl07.wrl
fspl08=fspl08.wrl

; Snake Meshes
Gsnak001=Gsnak001.wrl
Gsnak002=Gsnak002.wrl
Gsnak003=Gsnak003.wrl
Gsnak004=Gsnak004.wrl
Gsnak005=Gsnak005.wrl
Gsnak006=Gsnak006.wrl
Gsnak007=Gsnak007.wrl
Gsnak008=Gsnak008.wrl
Gsnak009=Gsnak009.wrl
Gsnak010=Gsnak010.wrl
Gsnak011=Gsnak011.wrl
Gsnak012=Gsnak012.wrl
Gsnak013=Gsnak013.wrl
Gsnak014=Gsnak014.wrl
Gsnak015=Gsnak015.wrl
Gsnak016=Gsnak016.wrl
Gsnak017=Gsnak017.wrl
Gsnak018=Gsnak018.wrl
Gsnak019=Gsnak019.wrl
Gsnak020=Gsnak020.wrl
Gsnak021=Gsnak021.wrl
Gsnak022=Gsnak022.wrl
Gsnak023=Gsnak023.wrl
Gsnak024=Gsnak024.wrl
Gsnak025=Gsnak025.wrl
Gsnak026=Gsnak026.wrl
Gsnak027=Gsnak027.wrl

Gtung001=Gtung001.wrl
Gtung002=Gtung002.wrl
Gtung003=Gtung003.wrl

; vulture meshes
v01=v01.wrl
v02=v02.wrl
v03=v03.wrl
v04=v04.wrl
v05=v05.wrl
v06=v06.wrl
v07=v07.wrl
v08=v08.wrl
v09=v09.wrl
v10=v10.wrl
v11=v11.wrl
v12=v12.wrl
v13=v13.wrl
v14=v14.wrl
v15=v15.wrl
v16=v16.wrl
v17=v17.wrl
v18=v18.wrl
v19=v19.wrl

[TextureResources]
grassTex=regions\common\Tgengras.gif
waterTex=regions\common\Tgenwatr.gif
metalTex=regions\common\Tpbase.gif
feather=feather.gif
eye=eye.gif
talon=talon.gif
yellows=yellows.gif
scales=scales.gif
lips=lips.gif
face=face.gif
;belly=belly.gif
belly=scales.gif
gullet=gullet.gif
;teeth=teeth.gif
teeth=talon.gif
;chest=chest.gif
chest=scales.gif
;Fish Texs
fins=fins.gif

; ---------------------------------------------------------------------
[Defaults]

; The file with level data
LevelFile=place.lvl

; The prefix for warps
WarpPrefix=regions\river\place04\t05aw

; The nav Mesh
NavMesh=Gnav.nav

SurfaceFile=place.nat

; ---------------------------------------------------------------------
[FunctionList]
1=BeginFishDeath
2=EndFishDeath
3=EndFishDeathSound
4=BeginHawkDeath
5=EndHawkDeath
6=EndHawkDeathSound

7=ButtonHandler

8=CheckHawk
9=CheckFish
10=CheckSnake
11=BeginSnakeDeath
12=EndSnakeDeath
13=EndSnakeDeathSound
14=EndSnakeDeathSound2

[BeginFishDeath]
Class=function
1=SetMotionSpeed 0.0
2=SetSpeed 0.0 0.0 -2.5 -8.0 0.0 0.0
3=RenderDelayedExecute 15 EndFishDeath
4=CreatePropAtSqueezilPosition FishCycle 0 0 -1 0 1 0
5=RenderDelayedExecute 15 EndFishDeathSound

[EndFishDeath]
Class=function
1=SetSpeed 0.0 0.0 2.5 8.0 0.0 0.0
2=KillSqueezil
3=SetSurfaceType fish Normal

[EndFishDeathSound]
Class=function
1=PlayAudioEffect fishDeathEffect

[BeginHawkDeath]
Class=function
1=SetMotionSpeed 0.0
2=SetSpeed 0 0 -2.5 -8.0
3=RenderDelayedExecute 7 EndHawkDeath
4=RenderDelayedExecute 6 EndHawkDeathSound
5=CreatePropAtSqueezilPosition VultureCycle 0 0 1 0 1 0

[EndHawkDeath]
Class=function
1=SetSpeed 0 0 2.5 8.0
2=KillSqueezil
3=SetSurfaceType hawk Normal

[EndHawkDeathSound]
Class=function
1=PlayAudioEffect birdDeathEffect

[BeginSnakeDeath]
Class=function
1=SetMotionSpeed 0.0
2=SetSpeed 0 0 -2.5 -8.0
3=RenderDelayedExecute 89 EndSnakeDeath
4=RenderDelayedExecute 43 EndSnakeDeathSound
5=RenderDelayedExecute 72 EndSnakeDeathSound
6=RenderDelayedExecute 88 EndSnakeDeathSound2
7=CreatePropAtSqueezilPosition SnakeCycle -1 0 0 0 1 0

[EndSnakeDeath]
Class=function
1=SetSpeed 0 0 2.5 8.0
2=KillSqueezil
3=SetSurfaceType snake Normal

[EndSnakeDeathSound]
Class=function
1=PlayAudioEffect snakeDeathEffect

[EndSnakeDeathSound2]
Class=function
1=PlayAudioEffect cattailTriggerEffect

[ButtonHandler]
Class=function
1=IfOnSurfaceType FishKiller CheckFish
2=IfOnSurfaceType HawkKiller CheckHawk
3=IfOnSurfaceType SnakeKiller CheckSnake

[CheckFish]
Class=function
1=SetSurfaceType fish FishDeathSurf

[CheckHawk]
Class=function
1=SetSurfaceType hawk  HawkDeathSurf

[CheckSnake]
Class=function
1=SetSurfaceType snake SnakeDeathSurf

[SurfaceBindingList]
;left side label (in .nat file) = right side (surface definitions)

ground=Normal
bumpnav=BumpNav
hawk=Normal
snake=Normal
fish=Normal
fishT=FishKiller
hawkT=HawkKiller
snakeT=SnakeKiller

[SurfaceList]

1=BumpNav
2=HawkDeathSurf
3=SnakeDeathSurf
4=FishDeathSurf
5=Normal
6=FishKiller
7=HawkKiller
8=SnakeKiller

[Normal]
Class=surface
Navigable=true

[BumpNav]
Class=surface
Navigable=bounce

[FishDeathSurf]
Class=surface
Navigable=true
Activate=BeginFishDeath

[HawkDeathSurf]
Class=surface
Navigable=true
Activate=BeginHawkDeath

[SnakeDeathSurf]
Class=surface
Navigable=true
Activate=BeginSnakeDeath

[FishKiller]
Class=surface
Navigable=true
Activate=ButtonHandler

[HawkKiller]
Class=surface
Navigable=true
Activate=ButtonHandler

[SnakeKiller]
Class=surface
Navigable=true
Activate=ButtonHandler

; ---------------------------------------------------------------------

[BackstagePropList]
21=v01
22=v02
23=v03
24=v04
25=v05
26=v06
27=v07
28=v08
29=v09
30=v10
31=v11
32=v12
33=v13
34=v14
35=v15
36=v16
37=v17
38=v18
39=v19
40=VultureCycle

50=Gsnak001
51=Gsnak002
52=Gsnak003
53=Gsnak004
54=Gsnak005
55=Gsnak006
56=Gsnak007
57=Gsnak008
58=Gsnak009
59=Gsnak010
60=Gsnak011
61=Gsnak012
62=Gsnak013
63=Gsnak014
64=Gsnak015
65=Gsnak016
66=Gsnak017
67=Gsnak018
68=Gsnak019
69=Gsnak020
70=Gsnak021
71=Gsnak022
72=Gsnak023
73=Gsnak024
74=Gsnak025
75=Gsnak026
76=Gsnak027

77=Gtung001
78=Gtung002
79=Gtung003

80=SnakeCycle

81=GsnaT1014
82=GsnaT2014
83=GsnaT3014
84=GsnaT2013
85=GsnaT3013

86=fm01
87=fm02
88=fm03
89=fm04
90=fm05
91=fm06
92=fm07
93=fm08
94=fm09
95=fm10
96=fm11
97=fm12
98=fm13
99=fm14
100=fm15
101=fm16
102=fm17
103=FishCycle

104=fspl01
105=fspl02
106=fspl03
107=fspl04
108=fspl05
109=fspl06
110=fspl07
111=fspl08

112=f15
113=f16
114=f17

[GsnaT1014]
Type=Prop
ChildCount=2
Child1=Gsnak014
Child2=Gtung001

[GsnaT2014]
Type=Prop
ChildCount=2
Child1=Gsnak014
Child2=Gtung002

[GsnaT3014]
Type=Prop
ChildCount=2
Child1=Gsnak014
Child2=Gtung003

[GsnaT2013]
Type=Prop
ChildCount=2
Child1=Gsnak013
Child2=Gtung002

[GsnaT3013]
Type=Prop
ChildCount=2
Child1=Gsnak013
Child2=Gtung003

[f15]
Type=Prop
Prop=fm15
ChildCount=1
Child1=fspl01

[f16]
Type=Prop
Prop=fm16
ChildCount=1
Child1=fspl02

[f17]
Type=Prop
Prop=fm17
ChildCount=1
Child1=fspl03

[SnakeCycle]
Type=Cycle
CycleType=loop
ChildCount=99
Child1=Gsnak001
Child2=Gsnak001
Child3=Gsnak001
Child4=Gsnak002
Child5=Gsnak002
Child6=Gsnak003
Child7=Gsnak003
Child8=Gsnak004
Child9=Gsnak004
Child10=Gsnak005
Child11=Gsnak005
Child12=Gsnak006
Child13=Gsnak006
Child14=Gsnak007
Child15=Gsnak007
Child16=Gsnak007
Child17=Gsnak008
Child18=Gsnak008
Child19=Gsnak009
Child20=Gsnak009
Child21=Gsnak010
Child22=Gsnak010
Child23=Gsnak011
Child24=Gsnak011
Child25=Gsnak012
Child26=Gsnak012
Child27=Gsnak012
Child28=Gsnak013
Child29=Gsnak013
Child30=Gsnak013
Child31=Gsnak013
Child32=Gsnak014
Child33=Gsnak014
Child34=Gsnak014
Child35=Gsnak014
Child36=Gsnak014
Child37=Gsnak014
Child38=Gsnak014
Child39=Gsnak014
Child40=Gsnak014
Child41=Gsnak014
Child42=Gsnak014
Child43=GsnaT1014
;=Gtung001
Child44=GsnaT2014
;=Gtung002
Child45=GsnaT3014
;=Gtung003
Child46=GsnaT3014
;=Gtung003
Child47=GsnaT3013
;=Gtung003
Child48=Gsnak013
Child49=Gsnak013
Child50=Gsnak013
Child51=Gsnak013
Child52=Gsnak013
Child53=Gsnak013
Child54=Gsnak013
Child55=Gsnak014
Child56=Gsnak014
Child57=Gsnak014
Child58=Gsnak014
Child59=Gsnak014
Child60=Gsnak014
Child61=Gsnak014
Child62=Gsnak014
Child63=Gsnak014
Child64=Gsnak014
Child65=Gsnak014
Child66=Gsnak013
Child67=Gsnak013
Child68=Gsnak013
Child69=Gsnak013
Child70=Gsnak013
Child71=Gsnak013
Child72=GsnaT2013
;=Gtung002
Child73=GsnaT1014
;=Gtung001
Child74=GsnaT1014
;=Gtung001
Child75=GsnaT1014
;=Gtung001
Child76=Gsnak014
Child77=Gsnak014
Child78=Gsnak014
Child79=Gsnak014
Child80=Gsnak014
Child81=Gsnak014
Child82=Gsnak014
Child83=Gsnak015
Child84=Gsnak015
Child85=Gsnak016
Child86=Gsnak016
Child87=Gsnak017
Child88=Gsnak018
Child89=Gsnak019
Child90=Gsnak020
Child91=Gsnak021
Child92=Gsnak022
Child93=Gsnak023
Child94=Gsnak024
Child95=Gsnak024
Child96=Gsnak025
Child97=Gsnak025
Child98=Gsnak026
Child99=Gsnak027

[FishCycle]
Type=Cycle
CycleType=static
ChildCount=22
Child1=fm01
Child2=fm02
Child3=fm03
Child4=fm04
Child5=fm05
Child6=fm06
Child7=fm07
Child8=fm08
Child9=fm09
Child10=fm10
Child11=fm11
Child12=fm12
Child13=fm13
Child14=fm14
Child15=f15
Child16=f16
Child17=f17
Child18=fspl04
Child19=fspl05
Child20=fspl06
Child21=fspl07
Child22=fspl08

[VultureCycle]
Type=Cycle
CycleType=loop
ChildCount=19
Child1=v01
Child2=v02
Child3=v03
Child4=v04
Child5=v05
Child6=v06
Child7=v07
Child8=v08
Child9=v09
Child10=v10
Child11=v11
Child12=v12
Child13=v13
Child14=v14
Child15=v15
Child16=v16
Child17=v17
Child18=v18
Child19=v19

; ---------------------------------------------------------------------

[PropList]
1=Prop_001

[Prop_001]
Type=Mesh
Mesh=propMesh_1


; ---------------------------------------------------------------------
