excuse the double post, but I'm getting back on-topic now.
Generate command:
I've added a new command, 'generate' to produce non-unit producibles, the producible parameters are embedded in the command xml node, so it looks like this:
<command>
<type value="generate"/>
<name value="produce_5_energy" />
<image path="images/5_energy.bmp"/>
<unit-requirements />
<upgrade-requirements />
<produce-skill value="produce_skill"/>
<produced>
<name value="5_energy"/>
<time value="40"/>
<image path="images/5_energy.bmp"/>
<image-cancel path="../dark_elder/images/dark_magic_cancel.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="50"/>
<resource name="stone" amount="25"/>
<resource name="energy" amount="-5"/>
</resource-requirements>
</produced>
</command>
I changed hailstones xml setup for for transports slightly, the load cap is now specified in the command, not the skill.
I also added a <units-carried> node, so you can limit what units are loadable.
the Skills:
<skill>
<type value="load"/>
<name value="load_skill"/>
<ep-cost value="0"/>
<speed value="120"/>
<anim-speed value="120"/>
<animation path="models/transport_loading.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/transport_load.wav"/>
</sound>
<max-range value="3"/>
</skill>
<skill>
<type value="unload"/>
<name value="unload_skill"/>
<ep-cost value="0"/>
<speed value="120"/>
<anim-speed value="120"/>
<animation path="models/transport_unloading.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/transport_unload.wav"/>
</sound>
<max-range value="2"/>
</skill>
and the Commands:
<command>
<type value="load"/>
<name value="load"/>
<image path="images/transport_load.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<load-skill value="load_skill"/>
<move-skill value="move_skill"/>
<units-carried>
<unit value="infantry"/>
<unit value="marine"/>
<unit value="medic"/>
<unit value="engineer"/>
</units-carried>
<load-capacity value="6" />
</command>
<command>
<type value="unload"/>
<name value="unload"/>
<image path="images/transport_unload.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<unload-skill value="unload_skill"/>
</command>
All the new stuff has been added, we're going to spend a couple of days testing and fixing any bugs, and are hoping to have installers ready to go on the weekend.
Edit:
Also, if you are developing a mod, and textures or models can't be loaded because the files are missing or corrupt or not of a supported format, the game will still load and be playable, the missing textures or models will be replaced with 'place-holders',