From fcb012596b283b7286fe3cdc6cc0b4e1ebbab527 Mon Sep 17 00:00:00 2001 From: Arvid Norlander Date: Mon, 4 Dec 2006 20:17:05 +0000 Subject: [PATCH] Small fixes to underconstruction.stl SVN-Revision: 4451 --- data/levels/world2/underconstruction.stl | 404 +++++++++++++++---------------- 1 file changed, 200 insertions(+), 204 deletions(-) diff --git a/data/levels/world2/underconstruction.stl b/data/levels/world2/underconstruction.stl index 6fa623e39..95bd0e4e6 100644 --- a/data/levels/world2/underconstruction.stl +++ b/data/levels/world2/underconstruction.stl @@ -10,6 +10,152 @@ AIRHINT.set_action(\"outline\"); EARTHHINT.set_action(\"outline\"); WOODHINT.set_action(\"outline\");") (ambient-light 1 1 1) + (spawnpoint + (name "main") + (x 96) + (y 608) + ) + (door + (sector "Backstage") + (spawnpoint "main") + (x 0) + (y 604) + ) + (platform + (name "door1") + (running #f) + (sprite "images/objects/platforms/vertical-wood.sprite") + (path + (node + (x 800) + (y 576) + ) + (node + (x 800) + (y 448) + ) + ) + ) + (platform + (name "PLATFORM") + (running #f) + (sprite "images/objects/flying_platform/flying_platform.sprite") + (path + (node + (x 1408) + (y 640) + (time 3) + ) + (node + (x 1408) + (y 384) + (time 3) + ) + (node + (x 1824) + (y 384) + (time 3) + ) + ) + ) + (scriptedobject + (name "EARTHHINT") + (z-pos 101) + (visible #t) + (physic-enabled #f) + (solid #f) + (x 2144) + (y 416) + (sprite "images/objects/keys/key_earth.sprite") + ) + (scriptedobject + (name "WOODHINT") + (visible #t) + (physic-enabled #f) + (solid #f) + (x 760) + (y 600) + (sprite "images/objects/keys/key_wood.sprite") + ) + (scriptedobject + (name "AIRHINT") + (visible #t) + (physic-enabled #f) + (solid #f) + (x 1472) + (y 576) + (sprite "images/objects/keys/key_air.sprite") + ) + (sequencetrigger + (sequence "endsequence") + (width 32) + (height 488) + (x 3520) + (y -12) + ) + (scripttrigger + (script "if(state.world2_keys.wood) { + if( ! (\"woodopen\" in this)) { + play_sound(\"sounds/turnkey.ogg\"); // make key sound... + wait(1); + WOODHINT.set_action(\"display\"); + wait(2); + door1.goto_node(1); + this.woodopen <- true; + } +} else { + play_sound(\"sounds/locked.ogg\"); + // play meep +}") + (button #f) + (width 60) + (height 124) + (x 736) + (y 576) + ) + (scripttrigger + (script "if(state.world2_keys.air) { + if(!(\"airopen\" in this)){ + play_sound(\"sounds/turnkey.ogg\"); + wait(1); + AIRHINT.set_action(\"display\"); + wait(2); + PLATFORM.start_moving(); + this.airopen <-true; + } +} else { + play_sound(\"sounds/locked.ogg\"); + // play zonk sound +}") + (button #f) + (width 92) + (height 60) + (x 1440) + (y 576) + ) + (scripttrigger + (script "if(state.world2_keys.earth) { + if(!(\"earthopen\" in this)){ + play_sound(\"sounds/turnkey.ogg\"); // make key sound... + wait(1); + EARTHHINT.set_action(\"display\"); + LAVA.goto_node(1); + this.earthopen <- true; + } +} else { + play_sound(\"sounds/locked.ogg\"); // play zonk sound +}") + (button #f) + (width 92) + (height 40) + (x 2112) + (y 372) + ) + (particles-clouds + ) + (camera + (mode "normal") + ) (gradient (top_color 0.02131685 0 0.4536355) (bottom_color 0.7644312 0.312993 0) @@ -92,11 +238,11 @@ WOODHINT.set_action(\"outline\");") 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1058 1005 1006 1057 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1056 1061 0 0 0 1012 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1009 1015 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1012 1013 1014 1 1 1 1013 1014 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1013 1013 1013 1013 1013 1020 1021 1022 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1026 1027 1028 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1058 1065 1066 1001 1002 1034 1013 1013 1009 1009 1009 1013 1013 1013 1013 1013 1013 1009 1011 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1008 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1070 1005 1006 1040 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1009 1015 1725 1724 1725 1724 1725 1724 1725 1724 1725 1724 1725 1724 1725 1724 1725 1724 1725 1012 1 1 1009 1010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 - 1013 1013 1013 1013 1013 1026 1027 1028 1013 1013 1020 1021 1022 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1009 1010 1012 1013 1009 1013 1013 1013 1009 1013 1014 1013 1013 1013 1009 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1 1 1 1013 1014 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 - 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1013 1014 1014 1014 1014 1014 1014 1014 1014 1014 1013 1014 1014 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1008 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 + 1013 1013 1013 1013 1013 1026 1027 1028 1013 1013 1020 1021 1022 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1009 1010 1009 1013 1009 1013 1013 1013 1009 1013 1014 1013 1013 1013 1009 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1013 1014 1 1 1 1013 1014 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 + 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1013 1014 1014 1014 1014 1014 1014 1014 1014 1014 1013 1014 1014 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1009 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1026 1027 1028 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1013 1013 1009 1009 1009 1013 1013 1013 1013 1013 1014 1009 1009 1014 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1 1 0 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1013 1013 1013 1013 1013 1013 1020 1021 1022 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1009 1009 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1013 1013 1013 1014 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 - 1013 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1009 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1013 1013 1013 1013 1013 1013 1014 1013 1013 1 1 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 1 1 + 1013 1013 1013 1013 1013 1013 1023 1024 1025 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1009 1013 1013 1013 1013 1013 1013 1013 1009 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1013 1013 1013 1013 1013 1013 1014 1013 1013 1 1 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 1 1 1013 1013 1013 1013 1013 1013 1026 1027 1028 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1009 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1014 1014 1014 1013 1013 1013 1 1 1 0 0 0 0 0 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1014 1014 1014 1014 1014 1014 1014 1014 1014 1014 1014 1014 1014 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1 1 1 1 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1013 1009 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 @@ -203,161 +349,74 @@ WOODHINT.set_action(\"outline\");") 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1705 1705 1700 1700 1705 1700 1705 1705 1705 1700 1705 1705 1705 1705 1700 1705 1705 1700 1705 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ) ) - (camera - (mode "normal") - ) - (mriceblock - (x 3776) - (y 608) - ) + ) + (sector + (name "Backstage") + (init-script "import(\"levels/world2/default.nut\");") + (ambient-light 1 1 1) (spawnpoint (name "main") - (x 96) - (y 608) + (x 32) + (y 192) ) (door - (sector "Backstage") + (sector "main") (spawnpoint "main") - (x 0) - (y 608) - ) - (platform - (name "door1") - (running #f) - (sprite "images/objects/platforms/vertical-wood.sprite") - (path - (node - (x 800) - (y 576) - ) - (node - (x 800) - (y 448) - ) - ) + (x 704) + (y 448) ) - (platform - (name "PLATFORM") - (running #f) - (sprite "images/objects/flying_platform/flying_platform.sprite") - (path - (node - (x 1408) - (y 640) - (time 3) - ) - (node - (x 1408) - (y 384) - (time 3) - ) - (node - (x 1824) - (y 384) - (time 3) - ) - ) + (infoblock + (message (_ "#For testing only. Remove this sector and the door leading here for release.")) + (x 96) + (y 192) ) - (scriptedobject - (name "EARTHHINT") - (z-pos 101) - (visible #t) - (physic-enabled #f) - (solid #f) - (x 2144) - (y 416) + (powerup + (script "add_key(\"earth\");") + (disable-physics #t) + (x 544) + (y 128) (sprite "images/objects/keys/key_earth.sprite") ) - (scriptedobject - (name "WOODHINT") - (visible #t) - (physic-enabled #f) - (solid #f) - (x 760) - (y 600) - (sprite "images/objects/keys/key_wood.sprite") + (powerup + (script "add_key(\"fire\");") + (disable-physics #t) + (x 256) + (y 448) + (sprite "images/objects/keys/key_fire.sprite") ) - (scriptedobject - (name "AIRHINT") - (visible #t) - (physic-enabled #f) - (solid #f) - (x 1472) - (y 576) - (sprite "images/objects/keys/key_air.sprite") + (powerup + (script "add_key(\"water\");") + (disable-physics #t) + (x 416) + (y 448) + (sprite "images/objects/keys/key_water.sprite") ) - (sequencetrigger - (sequence "endsequence") - (width 32) - (height 488) - (x 3520) - (y -12) + (powerup + (script "add_key(\"wood\");") + (disable-physics #t) + (x 352) + (y 128) + (sprite "images/objects/keys/key_wood.sprite") ) - (scripttrigger - (script "if(state.world2_keys.wood) { - if( ! (\"woodopen\" in this)) { - play_sound(\"sounds/turnkey.ogg\"); // make key sound... - wait(1); - WOODHINT.set_action(\"display\"); - wait(2); - door1.goto_node(1); - this.woodopen <- true; - } -} else { - play_sound(\"sounds/locked.ogg\"); - // play meep -}") - (button #f) - (width 60) - (height 124) - (x 736) - (y 576) + (powerup + (script "add_key(\"air\");") + (disable-physics #t) + (x 224) + (y 128) + (sprite "images/objects/keys/key_air.sprite") ) - (scripttrigger - (script "if(state.world2_keys.air) { - if(!(\"airopen\" in this)){ - play_sound(\"sounds/turnkey.ogg\"); - wait(1); - AIRHINT.set_action(\"display\"); - wait(2); - PLATFORM.start_moving(); - this.airopen <-true; - } -} else { - play_sound(\"sounds/locked.ogg\"); - // play zonk sound -}") - (button #f) + (wind + (speed-x 30) + (speed-y 30) + (acceleration 0) (width 92) (height 60) - (x 1440) - (y 576) - ) - (scripttrigger - (script "if(state.world2_keys.earth) { - if(!(\"earthopen\" in this)){ - play_sound(\"sounds/turnkey.ogg\"); // make key sound... - wait(1); - EARTHHINT.set_action(\"display\"); - LAVA.goto_node(1); - this.earthopen <- true; - } -} else { - play_sound(\"sounds/locked.ogg\"); // play zonk sound -}") - (button #f) - (width 92) - (height 40) - (x 2112) - (y 372) + (x 224) + (y 96) ) - (particles-clouds + (camera + (mode "normal") ) - ) - (sector - (name "Backstage") - (init-script "import(\"levels/world2/default.nut\");") - (ambient-light 1 1 1) (tilemap (z-pos -100) (solid #f) @@ -445,68 +504,5 @@ WOODHINT.set_action(\"outline\");") 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ) ) - (camera - (mode "normal") - ) - (spawnpoint - (name "main") - (x 32) - (y 192) - ) - (door - (sector "main") - (spawnpoint "main") - (x 704) - (y 448) - ) - (infoblock - (message (_ "#For testing only. Remove this sector and the door leading here for release.")) - (x 96) - (y 192) - ) - (powerup - (script "add_key(\"earth\");") - (disable-physics #t) - (x 544) - (y 128) - (sprite "images/objects/keys/key_earth.sprite") - ) - (powerup - (script "add_key(\"fire\");") - (disable-physics #t) - (x 256) - (y 448) - (sprite "images/objects/keys/key_fire.sprite") - ) - (powerup - (script "add_key(\"water\");") - (disable-physics #t) - (x 416) - (y 448) - (sprite "images/objects/keys/key_water.sprite") - ) - (powerup - (script "add_key(\"wood\");") - (disable-physics #t) - (x 352) - (y 128) - (sprite "images/objects/keys/key_wood.sprite") - ) - (powerup - (script "add_key(\"air\");") - (disable-physics #t) - (x 224) - (y 128) - (sprite "images/objects/keys/key_air.sprite") - ) - (wind - (speed-x 30) - (speed-y 30) - (acceleration 0) - (width 92) - (height 60) - (x 224) - (y 96) - ) ) ) -- 2.11.0