Here's an example of valid 'maps.txt' file (asserting that you have all the listed maps in 'lava/maps' directory)
- Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--Lava maps list-->
<Maps>
<Map name="cube" phase1="0" phase2="0">
<Source block="ahl" x="39" y="62" z="39" type="" delay="0" />
</Map>
<Map name="island" phase1="0" phase2="0">
<Source block="ahl" x="39" y="63" z="39" type="" delay="0" />
</Map>
<Map name="lava_geyser" phase1="0" phase2="0">
<Source block="ahl" x="0" y="63" z="63" type="" delay="0" />
</Map>
<Map name="bouda_metro" phase1="0" phase2="0">
<Source block="ahl" x="39" y="63" z="39" type="" delay="0" />
</Map>
<Map name="pluto" phase1="0" phase2="0">
<Source block="ahl" x="62" y="62" z="1" type="" delay="0" />
</Map>
<Map name="vulcano" phase1="0" phase2="0">
<Source block="ahl" x="0" y="63" z="0" type="" delay="0" />
</Map>
<Map name="passage" phase1="0" phase2="0">
<Source block="ahl" x="126" y="63" z="7" type="" delay="0" />
</Map>
<Map name="desert_well" phase1="0" phase2="0">
<Source block="ahl" x="0" y="63" z="63" type="" delay="0" />
</Map>
</Maps>
In the newest version you can change a phase1 and phase2 times for each map. If you want the map to last 20minutes, you can set phase1 to 12min and phase2 to 8 minute (leave 0 for the default global value). And in the same time you want the starting block to be 'active_hot_lava' ('ahl' for short) and starting coordinates set to x=0, y=63, z=63, without any delay this how the entry should look like:
- Code: Select all
<Map name='your_map' phase1="12" phase2="8"><Source block="active_hot_lava" x="0" y="63" z="63" type="" delay="0" /></Map>
You can change the starting block to any other block you want, it may be "ahl", "lava_type_a" (lta), "ltb", "ltc", "ltd", "magma", "active_cold_water" etc. You can also add multiple sources that will be triggered at different times. Let's say you want to make the effect of creeping lava, you can set sources that are in vertical line and that are triggered in a sequence one after another.
- Code: Select all
<Map name='your_map' phase1="12" phase2="8">
<Source block="active_hot_lava" x="0" y="31" z="63" type="" delay="0" />
<Source block="active_hot_lava" x="0" y="32" z="63" type="" delay="30" />
<Source block="active_hot_lava" x="0" y="33" z="63" type="" delay="60" />
<Source block="active_hot_lava" x="0" y="34" z="63" type="" delay="90" />
<Source block="active_hot_lava" x="0" y="35" z="63" type="" delay="120" />
<Source block="active_hot_lava" x="0" y="63" z="63" type="" delay="180" />
</Map>
Mind you can add as many sources as you wish, and use different type of block in each one. You can spawn zombies first, then add a water flood and finally lava.
Have fun with testing