; ---------------------------------------------------------------------
; snakdeth2.ini

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

[GeometryResources]

; 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

; ---------------------------------------------------------------------
[TextureResources]
; ---------------------------------------------------------------------

eye=eye.gif
scales=scales.gif
lips=lips.gif
face=face.gif
belly=scales.gif
gullet=gullet.gif
teeth=talon.gif
chest=scales.gif

; ---------------------------------------------------------------------
[AudioResources]
; ---------------------------------------------------------------------
snakeDeathEffect=audio\effect\death\snakdeth.wav

; ---------------------------------------------------------------------
[FunctionList]
; ---------------------------------------------------------------------

1101=BeginSnakeDeath
1102=EndSnakeDeath
1103=EndSnakeDeathSound
1104=EndSnakeDeathSound2

; ---------------------------------------------------------------------
; Function Definitions

[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
6=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

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

snakedeath=SnakeDeathSurf

; ---------------------------------------------------------------------
[SurfaceList]
; ---------------------------------------------------------------------

1101=SnakeDeathSurf

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

; ---------------------------------------------------------------------
[BackstagePropList]
; ---------------------------------------------------------------------

1101=Gsnak001
1102=Gsnak002
1103=Gsnak003
1104=Gsnak004
1105=Gsnak005
1106=Gsnak006
1107=Gsnak007
1108=Gsnak008
1109=Gsnak009
1110=Gsnak010
1111=Gsnak011
1112=Gsnak012
1113=Gsnak013
1114=Gsnak014
1115=Gsnak015
1116=Gsnak016
1117=Gsnak017
1118=Gsnak018
1119=Gsnak019
1120=Gsnak020
1121=Gsnak021
1122=Gsnak022
1123=Gsnak023
1124=Gsnak024
1125=Gsnak025
1126=Gsnak026
1127=Gsnak027
1128=Gtung001
1129=Gtung002
1130=Gtung003
1131=SnakeCycle

1132=GsnaT1014
1133=GsnaT2014
1134=GsnaT3014
1135=GsnaT2013
1136=GsnaT3013
; ---------------------------------------------------------------------
; Prop Definitions

[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

[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

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