3D spaceshooter with online scoreboard, online demos, ship building. Now entirely defunct, but might be resurrected
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
sector/php-server/levels/alpha14test.xml

423 lines
11 KiB

<?xml version="1.0" encoding="UTF-8"?>
<level>
<info>
<title>Alpha 14 test level</title>
<subtitle>Challenge level with bosses</subtitle>
<author>MightyPork</author>
<minv>14</minv>
</info>
<config>
<money>40000</money>
<building>NORMAL</building>
</config>
<discoveries>
<all level="max" />
<discovery name="cannon" level="0" />
</discoveries>
<ship>
<dim x="9" y="9" />
<sys energy="4" shield="2" />
<struct>
<row>
<null />
<null />
<null />
<piece id="w_cannon" level="3" rotate="0" health="1.5" trigger="BTN_DOWN:0" />
<piece id="w_emp" level="1" rotate="0" health="3.0" trigger="BTN_DOWN:1" />
<piece id="w_cannon" level="3" rotate="0" health="1.5" trigger="BTN_DOWN:0" />
<null />
<null />
<null />
</row>
<row>
<null />
<null />
<piece id="w_laser" level="3" rotate="0" health="2.0" trigger="BTN_DOWN:0" />
<piece id="bs_triangle" level="1" rotate="90" health="1.5" />
<piece id="bs_side1" level="1" rotate="180" health="1.5" />
<piece id="bs_triangle" level="1" rotate="0" health="1.5" />
<piece id="w_laser" level="3" rotate="0" health="2.0" trigger="BTN_DOWN:0" />
<null />
<null />
</row>
<row>
<null />
<piece id="w_plasma" level="2" rotate="0" health="4.0" trigger="BTN_DOWN:0" />
<piece id="bs_triangle" level="1" rotate="90" health="1.5" />
<piece id="bs_corner1" level="1" rotate="90" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_corner1" level="1" rotate="0" health="1.5" />
<piece id="bs_triangle" level="1" rotate="0" health="1.5" />
<piece id="w_plasma" level="2" rotate="0" health="4.0" trigger="BTN_DOWN:0" />
<null />
</row>
<row>
<piece id="w_plasma" level="2" rotate="0" health="4.0" trigger="BTN_DOWN:0" />
<piece id="bw_triangle" level="1" rotate="90" health="1.5" />
<piece id="bs_side1" level="1" rotate="270" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_side1" level="1" rotate="90" health="1.5" />
<piece id="bw_triangle" level="1" rotate="0" health="1.5" />
<piece id="w_plasma" level="2" rotate="0" health="4.0" trigger="BTN_DOWN:0" />
</row>
<row>
<piece id="bw_triangle" level="1" rotate="90" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_side1" level="1" rotate="270" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_side1" level="1" rotate="90" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bw_triangle" level="1" rotate="0" health="1.5" />
</row>
<row>
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_side1" level="1" rotate="270" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_side1" level="1" rotate="90" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
</row>
<row>
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
<piece id="bw_triangle" level="1" rotate="270" health="1.5" />
<piece id="bs_triangle" level="1" rotate="180" health="1.5" />
<piece id="bs_corner1" level="1" rotate="180" health="1.5" />
<piece id="bb_cube" level="1" rotate="0" health="1.5" />
<piece id="bs_corner1" level="1" rotate="270" health="1.5" />
<piece id="bs_triangle" level="1" rotate="270" health="1.5" />
<piece id="bw_triangle" level="1" rotate="180" health="1.5" />
<piece id="bw_cube" level="1" rotate="0" health="1.5" />
</row>
<row>
<piece id="bw_triangle" level="1" rotate="270" health="1.5" />
<null />
<null />
<piece id="bs_triangle" level="1" rotate="180" health="1.5" />
<piece id="bs_side1" level="1" rotate="0" health="1.5" />
<piece id="bs_triangle" level="1" rotate="270" health="1.5" />
<null />
<null />
<piece id="bw_triangle" level="1" rotate="180" health="1.5" />
</row>
<row>
<null />
<null />
<null />
<null />
<piece id="engine_ion" level="3" rotate="0" health="4.0" />
<null />
<null />
<null />
<null />
</row>
</struct>
</ship>
<sequence>
<rockshift coord="0;-1" />
<rockgen id="rocks" >
<type num="-1" />
<size range="2-8" />
<speed num="3" />
<rarity num="10" />
<x range="-30-30" />
<z range="100-120" />
</rockgen>
<pause t="2" />
<msg str="Welcome to Sector!" t="3" />
<msg str="Level by MightyPork" t="1" />
<msg str="" t="1" />
<msg str="Enjoy!" t="1.5" />
<pause t="5" />
<shipgen id="mines" >
<entity str="mine" />
<rarity num="60" />
<x range="-10-10" />
<z range="100-120" />
</shipgen>
<shipgen id="fighters" >
<entity str="fighter" />
<rarity num="110" />
<size range="0.5-1" />
<x range="-5-5" />
<z range="100-120" />
<wave str="annoyers" />
</shipgen>
<shipgen id="birds" >
<entity str="bird" />
<rarity num="150" />
<size range="0.5-1" />
<x range="-15:15" />
<z range="100-120" />
<wave str="annoyers" />
</shipgen>
<pause t="5" />
<cycle>
<!-- cleanup -->
<disable gen="birds" />
<disable gen="fighters" />
<wait for="annoyers" />
<!-- SNAKEY -->
<msg str="Snakey!" t="4"/>
<spawn>
<entity str="snake" />
<x range="-20:20" />
<z range="100:110"/>
<wave str="boss" />
<count range="5-7" />
<dist num="2" />
<variant range="0-5" />
<uniform bool="true" />
<artifact bool="true" />
<formation str="snake" />
</spawn>
<wait for="boss" />
<!-- /SNAKEY -->
<!-- SNAKEY -->
<msg str="And snake again!" t="4"/>
<spawn>
<entity str="snake" />
<x range="-20:20" />
<z range="100:110"/>
<wave str="boss" />
<count range="5-7" />
<dist num="2" />
<variant range="0-5" />
<uniform bool="true" />
<artifact bool="true" />
<formation str="snake" />
</spawn>
<wait for="boss" />
<!-- /SNAKEY -->
<!-- BURGERS -->
<pause t="3" />
<enable gen="birds" />
<enable gen="fighters" />
<spawn>
<entity str="burger" />
<driver str="burger_zone" />
<x num="0" />
<z num="100" />
<count num="10" />
<formation str="line" />
<uniform bool="true" />
<dist num="3" />
<wave str="annoyers" />
</spawn>
<pause t="3" />
<disable gen="birds" />
<disable gen="fighters" />
<wait for="annoyers" />
<!-- /BURGERS -->
<!-- Getting ready for SHARK -->
<disable gen="birds" />
<disable gen="fighters" />
<disable gen="mines" />
<msg str="Better reload your shield!" t="3" />
<wait for="annoyers" />
<disable gen="rocks" />
<pause t="10" />
<!-- SHARK -->
<msg str="* Sushi Time *" t="2" />
<msg str="" t="1" />
<msg str="Want some seafood?" t="3" />
<msg str="It's all yours!" t="2" />
<pause t="3" />
<spawn>
<entity str="shark" />
<driver str="shark" />
<x num="0" />
<z num="110" />
<count num="1" />
<artifact bool="true" />
<wave str="boss" />
<health num="2" />
</spawn>
<wait for="boss" />
<!-- /SHARK -->
<!-- Reload shield in some rocks. -->
<enable gen="rocks" />
<pause t="6" />
<disable gen="rocks" />
<pause t="8" />
<!-- FALCONS -->
<msg str="Falcons, oh man!" t="3"/>
<spawn>
<entity str="falcon" />
<driver str="falcon" />
<x range="-10:10" />
<z num="110" />
<count num="3" />
<wave str="boss" />
<formation str="row" />
<dist num="2.5" />
</spawn>
<wait for="boss" />
<!-- /FALCONS -->
<enable gen="rocks" />
<msg str="" t="3"/>
<msg str="Ever played" t="1"/>
<msg str="MINESWEEPER?" t="3"/>
<wait t="10" />
<disable gen="rocks" />
<pause t="7" />
<msg str="WATCH OUT!" t="1.5"/>
<pause t="4" />
<rockshift coord="0;-2.5" />
<repeat i="12">
<spawn>
<entity str="mine" />
<scale num="1.3" />
<x num="0" />
<z range="110" />
<count num="15" />
<wave str="mines" />
<formation str="row" />
<dist num="1.5" />
</spawn>
<pause t="0.08" />
<rockshift coord="-0.3;-2.5" />
<pause t="0.08" />
<rockshift coord="-0.6;-2.5" />
<pause t="0.08" />
<rockshift coord="-0.8;-2.5" />
<pause t="0.08" />
<rockshift coord="-0.6;-2.5" />
<pause t="0.08" />
<rockshift coord="-0.3;-2.5" />
<pause t="0.08" />
<pause t="0.08" />
<rockshift coord="0;-2.5" />
<pause t="0.08" />
<spawn>
<entity str="mine" />
<scale num="1.3" />
<x num="0" />
<z range="110" />
<count num="15" />
<wave str="mines" />
<formation str="row" />
<dist num="1.5" />
</spawn>
<rockshift coord="0.3;-2.5" />
<pause t="0.08" />
<rockshift coord="0.6;-2.5" />
<pause t="0.08" />
<rockshift coord="0.8;-2.5" />
<pause t="0.08" />
<rockshift coord="0.6;-2.5" />
<pause t="0.08" />
<rockshift coord="0.3;-2.5" />
<pause t="0.08" />
<rockshift coord="0;-2.5" />
</repeat>
<wait for="mines" />
<msg str="Wasn't this fun?" t="3"/>
<rockshift coord="0;-1" />
<enable gen="rocks" />
<!-- a bit of rocks & annoyers -->
<msg str="Relax..." t="1.5"/>
<msg str="You're almost there..." t="3"/>
<pause t="10" />
<enable gen="birds" />
<enable gen="fighters" />
<enable gen="mines" />
<pause t="10" />
<disable gen="birds" />
<disable gen="fighters" />
<disable gen="mines" />
<msg str="Congratulations!" t="3" />
<msg str="" t="2" />
<msg str="Welcome to the" t="2" />
<msg str="End of level!" t="3" />
<msg str="" t="2" />
<msg str="[repeat all]" t="1" />
<pause t="14" />
</cycle>
</sequence>
</level>