(Meta (Name "z4-hold") (levelPath "levels\z4-hold.txt") (levelId z4-hold) (Type "normal") (exitForward "z4-gardens-out.txt") (exitBack "z4-gardens-out.txt") (miniGame1Path "levels\z4-hold-mini1.txt") (miniGame2Path "levels\z4-hold-mini2.txt") (miniGame3Path "levels\z4-hold-mini3.txt") (miniGame4Path "levels\z4-hold-mini4.txt") (miniGame5Path "levels\z4-hold-mini5.txt") (miniGame6Path "levels\z4-hold-mini6.txt") ) (Objects (GameAnim (POSI (position 0 0) ) (SPRT (file gfx\backgrounds\z4-hold\bkg.ani) (zOrder 10)) (Data (enabled 0)(fadeOnEnable 1) (enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) (visName "background") ) (GameButtonX (POSI (position 0 0) ) (Data (enabled 0)(disableFlag "dialog2_killed")(enableDelay 3) (enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (enableDialog "menus\tutorials\z4-hold\msg2.txt") ) (visName "dialog2") ) ###################################################################### (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) ) ) #####hiden objects###### (MapPiece (POSI(position 649 607) ) (SPRT(file gfx\objects\hold_mappiece1.ani)(zOrder 20)) (regionFromSprite idle) (Data (enabled 0)(fadeOnEnable 1)(disableFlag "hold_mappiece1_killed")(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) (visName "hold_mappiece1") ) (MapPiece (POSI(position 160 35) ) (SPRT(file gfx\objects\hold_mappiece2.ani)(zOrder 20)) (regionFromSprite idle) (Data (enabled 0)(fadeOnEnable 1)(disableFlag "hold_mappiece2_killed")(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) (visName "hold_mappiece2") ) (MapPiece (POSI(position 102 501) ) (SPRT(file gfx\objects\hold_mappiece2.ani)(zOrder 20)) (regionFromSprite idle) (Data (enabled 0)(fadeOnEnable 1)(disableFlag "hold_mappiece3_killed")(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) (visName "hold_mappiece3") ) (GameHiddenObject (POSI(position 155 357) ) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani)(animName "glyphstone_metalbarE")(zOrder 100)) (regionFromSprite glyphstone_metalbarE) (Data (enableGlobalFlag "z6-acropolis:dialog1_killed")(enabled 0)(disableFlag "glyphstone_metalbarE_killed")) (visName "glyphstone_metalbarE") ) (GameHiddenObject (POSI(position 948 480) ) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani)(animName "glyphstone_metalbarF")(zOrder 100)) (regionFromSprite glyphstone_metalbarF) (Data (enableGlobalFlag "z6-acropolis:dialog1_killed")(enabled 0)(disableFlag "glyphstone_metalbarF_killed")) (visName "glyphstone_metalbarF") ) ########mini-games ################## (GameButtonX (POSI (position 0 211)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal1_off) (zOrder 1) ) (Data (clickEvent STG1) (showHighlightEffect 1) (disableFlag "minigame1_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal1) (regionFromSprite crystal1_off) ) (GameAnim (POSI (position 0 161)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal1_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame1_completed")(fadeOnEnable 1)(disableFlag )) (visName crystal1_on) ) (GameButtonX (POSI (position 889 181)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal2_off) (zOrder 1) ) (Data (clickEvent STG2) (showHighlightEffect 1) (disableFlag "minigame2_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal2) (regionFromSprite crystal2_off) ) (GameAnim (POSI (position 853 154)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal2_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame2_completed")(fadeOnEnable 1)) (visName crystal2_on) ) (GameButtonX (POSI (position 232 187)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal3_off) (zOrder 1) ) (Data (clickEvent STG3) (showHighlightEffect 1) (disableFlag "minigame3_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal3) (regionFromSprite crystal3_off) ) (GameAnim (POSI (position 149 108)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal3_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame3_completed")(fadeOnEnable 1)) (visName crystal3_on) ) (GameButtonX (POSI (position 732 182)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal4_off) (zOrder 1) ) (Data (clickEvent STG4) (showHighlightEffect 1) (disableFlag "minigame4_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal4) (regionFromSprite crystal4_off) ) (GameAnim (POSI (position 720 116)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal4_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame4_completed")(fadeOnEnable 1)) (visName crystal4_on) ) (GameButtonX (POSI (position 319 178)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal5_off) (zOrder 1) ) (Data (clickEvent STG5) (showHighlightEffect 1) (disableFlag "minigame5_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal5) (regionFromSprite crystal5_off) ) (GameAnim (POSI (position 285 111)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal5_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame5_completed")(fadeOnEnable 1)) (visName crystal5_on) ) (GameButtonX (POSI (position 669 181)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal6_off) (zOrder 1) ) (Data (clickEvent STG6) (showHighlightEffect 1) (disableFlag "minigame6_completed")(fadeOnDisable 1)(killOnDisable 1) ) (visName crystal6) (regionFromSprite crystal6_off) ) (GameAnim (POSI (position 665 139)) (SPRT (file gfx\backgrounds\z4-hold\objects2.ani) (animName crystal6_on) (zOrder 1) ) (Data (enabled 0)(enableFlag "minigame6_completed")(fadeOnEnable 1)) (visName crystal6_on) ) ########mini-game 2################## (GameHiddenObject (POSI(position 143 366) ) (SPRT(file gfx\objects\hold_itemA1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemA1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 436 308)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemA1_slot)) (COLI (left 20) (right 40) (top 20) (bottom 40) ) (Data (activator "hold_itemA1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemA1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemA1_slot) ) ############################ (GameHiddenObject (POSI(position 796 21) ) (SPRT(file gfx\objects\hold_itemB1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemB1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 367 422)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemB1_slot)) (COLI (left 20) (right 90) (top 30) (bottom 80) ) (Data (activator "hold_itemB1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemB1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemB1_slot) ) ############################ (GameHiddenObject (POSI(position 953 282) ) (SPRT(file gfx\objects\hold_itemC1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemC1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 318 210)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemC1_slot)) (COLI (left 11) (right 70) (top 180) (bottom 300) ) (Data (activator "hold_itemC1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemC1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemC1_slot) ) ############################ (GameHiddenObject (POSI(position 319 636) ) (SPRT(file gfx\objects\hold_itemD1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemD1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 235 435)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemD1_slot)) (COLI (left 0) (right 70) (top 0) (bottom 100) ) (Data (activator "hold_itemD1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemD1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemD1_slot) ) ############################ (GameHiddenObject (POSI(position 317 320) ) (SPRT(file gfx\objects\hold_itemE1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemE1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 265 553)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemE1_slot)) (COLI (left 0) (right 70) (top 0) (bottom 70) ) (Data (activator "hold_itemE1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemE1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemE1_slot) ) ############################ (GameHiddenObject (POSI(position 218 132) ) (SPRT(file gfx\objects\hold_itemF1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemF1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 543 462)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemF1_slot)) (COLI (left 0) (right 70) (top 0) (bottom 70) ) (Data (activator "hold_itemF1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemF1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemF1_slot) ) ############################ (GameHiddenObject (POSI(position 696 0) ) (SPRT(file gfx\objects\hold_itemG1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemG1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 790 209)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemG1_slot)) (COLI (left -20) (right 40) (top 100) (bottom 200) ) (Data (activator "hold_itemG1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemG1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemG1_slot) ) ############################ (GameHiddenObject (POSI(position 51 91) ) (SPRT(file gfx\objects\hold_itemH1.ani)(zOrder 100)) (regionFromSprite idle) (visName "hold_itemH1") (Data (enabled 0)(fadeOnEnable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed")) ) (GameButtonX (POSI (position 716 456)) (SPRT(file gfx\backgrounds\z4-hold\objects1.ani )(zOrder 100)(animName hold_itemH1_slot)) (COLI (left 30) (right 120) (top 0) (bottom 100) ) (Data (activator "hold_itemH1") (killOnClick 1)(showHighlightEffect 1)(fadeOnEnable 1)(disableFlag "hold_itemH1_slot_killed")(fadeOnDisable 1)(killOnDisable 1)(enableFlag "minigame1_completed" "minigame2_completed" "minigame3_completed" "minigame4_completed" "minigame5_completed" "minigame6_completed") (disableSound "statue_build") (disableFx (fx "gfx/fx/object_hili.prt" 0 0) ) ) (visName hold_itemH1_slot) ) ###quest1#### (CollectObjectsQuest (Data (objects crystal1 crystal2 crystal3 crystal4 crystal5 crystal6) (completeEvent "ADDE") ) (visName Quest1) (KEYB) ) ###quest2#### (CollectObjectsQuest (Data (objects hold_itemA1_slot hold_itemB1_slot hold_itemC1_slot hold_itemD1_slot hold_itemE1_slot hold_itemF1_slot hold_itemG1_slot hold_itemH1_slot) (completeEvent "ADDE") ) (visName Quest2) (KEYB) ) (GameButtonX (POSI (position 0 0) ) (Data (enabled 0)(disableFlag "dialog3_killed") (enableDelay 1)(enableFlag "Quest2_killed") (enableDialog "menus\tutorials\z4-hold\msg3.txt") ) (visName "dialog3") ) #####anims########## ######exit####### (GameButtonX (POSI (position 400 600)) (COLI (left 0 ) (right 200) (top 0) (bottom 75) ) (Data (enabled 1)(clickEvent "NEXT")(exitArrow "exit_down") (showHighlightEffect 1) ) (visName exit2_top) ) ############init dialogs######################### (GameModalDialog (visName "dialog1") (Data (fileName "menus\tutorials\z4-hold\msg1.txt") (disableFlag "dialog1_killed")) ) ######################fadein##########################################