(Meta (Name "z1-puzzlegate") (levelPath "levels\z1-puzzlegate.txt") (Type "normal") (exitForward "z1-barrow-out.txt") (exitBack "z1-quicksand.txt") (miniGame1Path "levels\crystals1.txt") (miniGame2Path "levels\puzzle1.txt") ) (Objects (Background (POSI (position 0 0) ) (SPRT (file gfx/backgrounds/puzzlegate.ani) (zOrder 0) (alphaBlend 1) ) ) # (GameButtonX # (POSI (position 76 227)) # (COLI # (left 0) # (right 140) # (top 0) # (bottom 318) # ) # # (visName "dialog2") # (Data (tutorialButton 1)(disableFlag "dialog2_killed")(clickMessage "menus\tutorials\ChamberDoor\msg2.txt")(killOnClick 1)) # ) (GameButtonX (POSI (position 76 227)) (COLI (left 0) (right 140) (top 0) (bottom 318) ) (Data (clickEvent "STG1") (disableFlag "minigame1_completed")(showHighlightEffect 1) (overFx (fx "gfx/fx/object_hili.prt" 146 322) (fx "gfx/fx/object_hili.prt" 174 366) (fx "gfx/fx/object_hili.prt" 148 422) (fx "gfx/fx/object_hili.prt" 171 484) ) ) (visName "startGame1_button") ) (GameAnim (POSI (position 76 227)) (SPRT(file gfx\backgrounds\crystals_complete.ani )) (Data (enableFlag "minigame1_completed")(enabled 0)(fadeOnEnable 1) ) (visName "CrystalAnim") ) (GameAnim (POSI (position 153 435)) (SPRT(file gfx\backgrounds\puzzlegate_glow_blue.ani )(alphaBlend 2)(blending 1)(zOrder 100)) (Data (enableFlag "minigame1_completed")(enabled 0)(fadeOnEnable 1)(killOnDisable 1) (disableFlag "minigame2_completed") (fadeOnDisable 1) ) (visName "puzzlegate_glow_blue") ) (GameButtonX (visName dialog2) (Data (enableDelay 3)(enableFlag "minigame1_completed")(disableFlag "dialog2_killed")(enableDialog "menus\tutorials\ChamberDoor\msg2.txt")(enabled 0)(killOnDisable 1)) ) (GameButtonX (visName dialog3) (Data (enableDelay 3)(enableFlag "minigame2_completed")(disableFlag "dialog3_killed")(enableDialog "menus\tutorials\ChamberDoor\msg3.txt")(enabled 0)(killOnDisable 1)) ) (GameButtonX (POSI (position 350 551)) (COLI (left 0) (right 350) (top 0) (bottom 109) ) (Data (clickEvent "STG2")(enabled 0)(enableFlag "dialog2_killed")(disableFlag "minigame2_completed") (showHighlightEffect 1)(killOnDisable 1) (overFx (fx "gfx/fx/object_hili.prt" 296 588) (fx "gfx/fx/object_hili.prt" 448 537) (fx "gfx/fx/object_hili.prt" 696 555) (fx "gfx/fx/object_hili.prt" 617 626) (fx "gfx/fx/object_hili.prt" 447 589) (fx "gfx/fx/object_hili.prt" 503 608) (fx "gfx/fx/object_hili.prt" 497 568) (fx "gfx/fx/object_hili.prt" 551 563) (fx "gfx/fx/object_hili.prt" 394 584) (fx "gfx/fx/object_hili.prt" 596 575) ) ) (visName "startGame2_button") ) (GameAnim (POSI (position 295 551)) (SPRT(file gfx\backgrounds\puzzlegate_puzzle.ani)) (Data (enableFlag "minigame2_completed")(enabled 0)(fadeOnEnable 1) ) (visName "PuzzleAnim") ) (SequenceAnimObject (POSI (position 89 236)) (SPRT (file gfx/objects/crystals.ani )(animName "blue")(blending 1)(alphaBlend 2)) (Data (sequenceId 0)) ) (SequenceAnimObject (POSI (position 160 276)) (SPRT (file gfx/objects/crystals.ani )(animName "red")(blending 1)(alphaBlend 2) ) (Data (sequenceId 1)) ) (SequenceAnimObject (POSI (position 61 259)) (SPRT (file gfx/objects/crystals.ani )(animName "yellow")(blending 1)(alphaBlend 2) ) (Data (sequenceId 2)) ) (SequenceAnimObject (POSI (position 151 322)) (SPRT (file gfx/objects/crystals.ani )(animName "yellow")(blending 1)(alphaBlend 2)) (Data (sequenceId 3)) ) (SequenceAnimObject (POSI (position 67 318)) (SPRT (file gfx/objects/crystals.ani )(animName "green")(blending 1)(alphaBlend 2)) (Data (sequenceId 4)) ) (SequenceAnimObject (POSI (position 136 246)) (SPRT (file gfx/objects/crystals.ani )(animName "green")(blending 1)(alphaBlend 2)) (Data (sequenceId 5)) ) (SequenceAnimObject (POSI (position 74 383)) (SPRT (file gfx/objects/crystals.ani ) (animName "red")(blending 1)(alphaBlend 2)) (Data (sequenceId 6)) ) (SequenceAnimObject (POSI (position 141 385)) (SPRT (file gfx/objects/crystals.ani )(animName "blue")(blending 1)(alphaBlend 2)) (Data (sequenceId 7)) ) (SequenceAnimMngr (KEYB) (Data (disableFlag "minigame1_completed" ))) #hidden objects (GameHiddenObject (POSI(position 278 525) ) (SPRT(file gfx\objects\blue_crystal.ani)) (regionFromSprite idle) (visName "blue_crystal") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 809 91)) (SPRT(file gfx\objects\blue_crystal2.ani)) (regionFromSprite idle) (visName "blue_crystal2") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 129 8) ) (SPRT(file gfx\objects\green_crystal.ani)) (regionFromSprite idle) (visName "green_crystal") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 874 238) ) (SPRT(file gfx\objects\green_crystal2.ani)) (regionFromSprite idle) (visName "green_crystal2") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 928 136) ) (SPRT(file gfx\objects\yellow_crystal.ani)) (regionFromSprite idle) (visName "yellow_crystal") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 413 216) ) (SPRT(file gfx\objects\yellow_crystal2.ani)) (regionFromSprite idle) (visName "yellow_crystal2") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 838 430) ) (SPRT(file gfx\objects\red_crystal.ani)) (regionFromSprite idle) (visName "red_crystal") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 471 137) ) (SPRT(file gfx\objects\red_crystal2.ani)) (regionFromSprite idle) (visName "red_crystal2") (Data (clickSoundName "crystal_pick")) ) (GameHiddenObject (POSI(position 769 51) ) (SPRT(file gfx\objects\kurosian_crystal1.ani)) (regionFromSprite idle) (visName "kurosian_crystal1") (Data (enabled 0)(enableGlobalFlag "z1-barrow-out:dialog3_killed")(clickSoundName "crystal_pick")(disableFlag "kurosian_crystal1_killed")) ) (GameHiddenObject (POSI(position 362 209) ) (SPRT(file gfx\objects\seed1.ani)) (regionFromSprite idle) (Data (enabled 0)(enableGlobalFlag "z1-barrow-out:dialog3_killed")(disableFlag "seed1_killed")) (visName "seed1") ) (GameHiddenObject (POSI(position 828 210) ) (SPRT(file gfx\objects\seed2.ani)) (regionFromSprite idle) (Data (enabled 0)(enableGlobalFlag "z1-barrow-out:dialog3_killed")(disableFlag "seed2_killed")) (visName "seed2") ) (GameHiddenObject (POSI(position 425 80) ) (SPRT(file gfx\objects\seed3.ani)) (regionFromSprite idle) (Data (enabled 0)(enableGlobalFlag "z1-barrow-out:dialog3_killed")(disableFlag "seed3_killed")) (visName "seed3") ) (GamePermanentObject (POSI(position 327 355) ) (SPRT(file gfx\objects\chromatic_lens1.ani)) (regionFromSprite idle) (visName "chromatic_lens1") ) (GameHiddenObject (POSI(position 557 190) ) (SPRT(file gfx\objects\glyphstone_mashroomE.ani)(zOrder 100)) (regionFromSprite idle) (Data (enableGlobalFlag "z6-acropolis:dialog1_killed")(enabled 0)(disableFlag "glyphstone_mashroomE_killed")) (visName "glyphstone_mashroomE") ) #map pieces (MapPiece (POSI(position 621 489) ) (SPRT(file gfx\objects\puzzlegate_mappiece1.ani)(zOrder 100)) (regionFromSprite idle) (visName "puzzlegate_mappiece1") (Data (enableFlag "minigame2_completed")(enabled 0)(enableDelay 1.5)(fadeOnEnable 1) ) ) #exit (GameAnim (POSI (position 443 157)) (SPRT(file gfx\backgrounds\puzzlegate_door.ani)) (Data (enableFlag "minigame2_completed")(enabled 0)(fadeOnEnable 1)(enableSound "giant_door_open") ) (visName "DoorAnim") ) (GameButtonX (POSI (position 0 0)) (Data (enabled 0)(enableDelay 3) (enableFlag "puzzlegate_mappiece1_killed") (disableFlag "dialog5_killed")(enableDialog "menus\tutorials\ChamberDoor\msg5.txt")) (visName "dialog5") ) (GameButtonX (POSI (position 443 157)) (COLI (left 100) (right 340) (top 100) (bottom 324) ) (Data (clickEvent QMAP)(enableFlag "dialog5_killed")(enabled 0) (exitArrow "exit_up_map") (showHighlightEffect 1) ) (visName "exitButton") ) (GameButtonX (POSI (position 950 600)) (COLI (left -40) (right 80) (top -324) (bottom 24) ) (Data (clickEvent "PREV")(exitArrow "exit_right")(showHighlightEffect 1) ) (visName "prevButton") ) (GameButtonX (POSI (position 0 0)) (Data (enabled 0)(killOnDisable 1)(enableDelay 1) (enableFlag "dialog1_killed") (disableFlag "dialog4_killed")(enableDialog "menus\tutorials\ChamberDoor\msg4.txt")) (visName "dialog4") ) ###################################################################### (UIMusic (Data (file snd/music/track1.ogg snd/music/track2.ogg snd/music/track3.ogg snd/music/track4.ogg snd/music/track5.ogg snd/music/track6.ogg snd/music/track7.ogg snd/music/track8.ogg snd/music/track9.ogg snd/music/track10.ogg) ) ) ############init dialogs######################### (GameModalDialog (visName "dialog1") (Data (fileName "menus\tutorials\ChamberDoor\msg1.txt") (delay 0.5) ) ) )