home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 April
/
Gamestar_83_2006-04_dvd.iso
/
Dema
/
keepsake_demo_en.exe
/
res
/
puzzles
/
crescentCoastWaterway.camera.tcl
< prev
next >
Wrap
Text File
|
2005-10-30
|
10KB
|
337 lines
proc crescentCoastWaterway.barrel.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
barrel::new waterA -repeat
barrel::new waterB -repeat
setThreadID 0
}
proc crescentCoastWaterway.barrel.leave {} {
setThreadID 4
wq'widget::delete& barrel::waterA
wq'widget::delete& barrel::waterB
setThreadID 0
}
proc crescentCoastWaterway.barrelNoBlock.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
barrel::new waterA -repeat
barrel::new waterB -repeat
setThreadID 0
}
proc crescentCoastWaterway.barrelNoBlock.leave {} {
setThreadID 4
wq'widget::delete& barrel::waterA
wq'widget::delete& barrel::waterB
setThreadID 0
}
proc crescentCoastWaterway.ceiling.enter {} {
setThreadID 4
setAudioEnv "parkinglot"
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r3
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
ceiling::new wheel -repeat
setThreadID 0
}
proc crescentCoastWaterway.ceiling.leave {} {
setThreadID 4
wq'widget::delete& ceiling::wheel
setThreadID 0
}
proc crescentCoastWaterway.doorFrame.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
doorFrame::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.doorFrame.leave {} {
setThreadID 4
wq'widget::delete& doorFrame::waterA
setThreadID 0
}
proc crescentCoastWaterway.forest.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
forest::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.forest.leave {} {
setThreadID 4
wq'widget::delete& forest::waterA
setThreadID 0
}
proc crescentCoastWaterway.gears.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet pzlMillMachineE] == 1} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
gears::new gearsA -repeat
gears::new gearsB -repeat
gears::new gearsC -repeat
}
gears::new wheel -repeat
setThreadID 0
}
proc crescentCoastWaterway.gears.leave {} {
setThreadID 4
wq'widget::delete& gears::gearsA
wq'widget::delete& gears::gearsB
wq'widget::delete& gears::gearsC
wq'widget::delete& gears::wheel
setThreadID 0
}
proc crescentCoastWaterway.millWheel.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
millWheel::new wheel -repeat
setThreadID 0
}
proc crescentCoastWaterway.millWheel.leave {} {
setThreadID 4
wq'widget::delete& millWheel::wheel
setThreadID 0
}
proc crescentCoastWaterway.millWheelNoBlock.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
millWheel::new wheel -repeat
setThreadID 0
}
proc crescentCoastWaterway.millWheelNoBlock.leave {} {
setThreadID 4
wq'widget::delete& millWheel::wheel
setThreadID 0
}
proc crescentCoastWaterway.puzzleMillWeightCloseUp.enter {} {
setThreadID 4
setThreadID 0
}
proc crescentCoastWaterway.puzzleMillWeightCloseUp.leave {} {
setThreadID 4
setThreadID 0
}
proc crescentCoastWaterway.river.enter {} {
setThreadID 4
setAudioEnv "city"
SetAmbient 2d ambiance/waterway "0 0 0" 0 0
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 1
SetAmbient 2d ambiance/forest "0 0 0" 0 1
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 1 0.6
}
if {[ozGet pzlMillMachineE] == 1} {
river::new gearsA -repeat
river::new gearsB -repeat
river::new gearsC -repeat
river::new gearsD -repeat
}
setThreadID 0
}
proc crescentCoastWaterway.river.leave {} {
setThreadID 4
wq'widget::delete& river::gearsA
wq'widget::delete& river::gearsB
wq'widget::delete& river::gearsC
wq'widget::delete& river::gearsD
setThreadID 0
}
proc crescentCoastWaterway.stairs.enter {} {
setThreadID 4
setAudioEnv "parkinglot"
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r2
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
stairs::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.stairs.leave {} {
setThreadID 4
wq'widget::delete& stairs::waterA
setThreadID 0
}
proc crescentCoastWaterway.redTakenStairs.enter {} {
setThreadID 4
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r2
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
stairs::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.redTakenStairs.leave {} {
setThreadID 4
wq'widget::delete& stairs::waterA
setThreadID 0
}
proc crescentCoastWaterway.blueTakenStairs.enter {} {
setThreadID 4
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r2
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
stairs::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.blueTakenStairs.leave {} {
setThreadID 4
wq'widget::delete& stairs::waterA
setThreadID 0
}
proc crescentCoastWaterway.yellowTakenStairs.enter {} {
setThreadID 4
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r2
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
stairs::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.yellowTakenStairs.leave {} {
setThreadID 4
wq'widget::delete& stairs::waterA
setThreadID 0
}
proc crescentCoastWaterway.whiteTakenStairs.enter {} {
setThreadID 4
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r2
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
stairs::new waterA -repeat
setThreadID 0
}
proc crescentCoastWaterway.whiteTakenStairs.leave {} {
setThreadID 4
wq'widget::delete& stairs::waterA
setThreadID 0
}
proc crescentCoastWaterway.underRiver.enter {} {
setThreadID 4
setAudioEnv "parkinglot"
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r4
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
underRiver::new waterA -repeat
underRiver::new wheelB -repeat
setThreadID 0
}
proc crescentCoastWaterway.underRiver.leave {} {
setThreadID 4
wq'widget::delete& underRiver::waterA
wq'widget::delete& underRiver::wheelB
setThreadID 0
}
proc crescentCoastWaterway.dock.enter {} {
setThreadID 4
setAudioEnv "parkinglot"
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r5
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
setThreadID 0
}
proc crescentCoastWaterway.wallCrack.enter {} {
setThreadID 4
setAudioEnv "parkinglot"
SetAmbient 2d ambiance/waterway "0 0 0" 0 1
SetAmbient 2d ambiance/elvandarRiver "0 0 0" 0 0
SetAmbient 2d ambiance/forest "0 0 0" 0 $::config::soundfx::r6
if {[ozGet "puzzleMillWheel"] == "complete"} {
SetAmbient 3d sfx/millGearWorking "610 -19 454" 30 0.5 0.6
}
setThreadID 0
}