Hey all!
I'm writing this because I have been having some problems with the 'build_self' skill/command, and I wondered if any of you could help. I've basiclly done a quick copy job of the stuff posted on the wiki:
<skill>
<type value="build_self"/>
<name value="build_self_skill" />
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="300"/>
<animation path="models/defense_tower_construction.g3d"/>
<sound enabled="false"/>
</skill>
<command>
<type value="build-self"/>
<name value="build_self" tip="under_construction"/>
<display value="false"/>
<image path="images/none.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<build-self-skill value="build_self_skill"/>
</command>
but obviously changing certain parameters to fit my game. I found that the workers started repairing the buildings anyway, and as I had future plans for not allowing repairs (or was dabbling in such a thing), I took out their repair command completely, not noticing the extra parameter that shibboleth used, but that isn't really the problem. The problem is that the buildings are placed down, have 5 HP, and don't do anything....ever. the code I'm using is pretty much like the above, so is there anything I am missing? I tried reusing the be_built skill, but then the workers started building the buildings which wasn't the plan.
what can I do?
thanks.