Ok, I have a mod in progress called 'geoengineering'- idea is that it has some high damage crushing attacks, a wall, a wall destroy, and a teleport; however it currently does not function. The first three abilities load and work just as intended but earth-meld never becomes available for selection, nor any of the abilities after it. I can't see the problem. Edit: Changes have been made; and now DoD crashes hard whenever the mod is loaded! Both XML files validate successfully. SpellDB Code: <spellDB> <spell name="Stone Drop" type="targetfloor" icon="skills/wizard/spell_earth9_32.png"> <requirements mp="10" magPowBonus="0.3" mincost="0" /> <effect type="damage" crushing="2" crushingF="0.8" /> <description text="A little pulse of magic will dislodge a stone from the celing" /> </spell> <spell name="Rain of Boulders" type="template" templateID="10" anchored="0" icon="skills/wizard/spell_earth5_32.png"> <requirements mp="25" magPowBonus="0.3" mincost="5" /> <effect type="damage" crushing="10" crushingF="0.8" /> <effect type="create" turns="22" objectSprite="dungeon/dispenser_rubble.png" self="0" /> <description text="You know whats better then a rock, lots of BIGGER rocks." /> </spell> <spell name="Swallow" type="template" templateID="13" anchored="0" icon="skills/wizard/spell_earth8_32.png" > <requirements mp="35" magPowBonus="0.5" mincost="10" /> <effect type="dot" amount="15" resistable="0" spell="Choke" /> <effect type="lockdown" resistable="0" amount="15" /> <effect type="dig" regengfx="1"/> <description text="You cause the earth to envelop you foes, soffocating them and rooting them in place. Also swallows walls" /> </spell> <spell name="Choke" type="target" icon="skills/wizard/spell_earth8_32.png"> <effect type="damage" asphyxiative="2" asphyxiativeF="0.1" /> <description text="This unit is choking" /> </spell> <spell name="Earthmeld" type="self" icon="skills/wizard/spell_earth2_32.png"> <requirements mp="12" magPowBonus="0.25" mincost="6" /> <buff useTimer="1" time="15" icon="skills/wizard/spell_earth2_64.png" smallicon="skills/wizard/spell_earth2_32.png"> <primarybuff id="10" amount="20"/> <!-- Armour --> </buff> <effect type="lockdown" amount="15" /> <effect type="dot" resistable="0" spell="Earthmelded" amount="15" /> <description text="You meld with the earth, it fills you, makes you whole again, roots you in place...." /> </spell> <spell name="Earthmelded" type="template" templateID="101" icon="skills/wizard/spell_earth8_32.png"> <effect type="heal" amount="4" /> <effect type="spellpoints" amount="4" /> </spell> <spell name="Hydralic Tunnel" type="targetfloor" icon="skills/wizard/spell_earth6_32.png" mineTimer="16" mineSpritePNGSeries="sprites/sfx/impact_ice/impact_ice"> <requirements mp="15" magPowBonus="0.25" mincost="5" /> <effect type="damage" crushing="15" affectscaster="1" /> <effect type="teleport"/> <description text="You wrap the earth around yourself, and shift the earth to a new location- there is a lot of tearing and grinding..." /> </spell> <spell name="Celing Collapse" type="targetfloor" templateID="101" anchored="0" icon="skills/wizard/spell_earth1_32.png"> <requirements mp="50" savvyBonus="0.3" mincost="18" /> <effect type="damage" crushing="20" crushingF="0.8" /> <anim sprite="sprites/sfx/magic_wall/magic_wall" sync="1" frames="11" framerate="80" sfx="earth" centerEffect="0" /> <description text="You put a LOT of magic into it and bring the whole celing down on your foes!" /> </spell> </spellDB> SkillDB Code: <skillDB> <skill name="geoengineering" id="666" type="wizard" description="When surrounded by earth on all sides- he who moves the earth wins"> <art icon="skills/wizard/spell_fire1_64.png" /> </skill> <ability name="geoengineering" icon="skills/wizard/spell_fire1_64.png" skill="666" startSkill="1"> <description text="When surrounded by earth on all sides- he who moves the earth wins" /> </ability> <geoengineeringSkills> <ability name="Stone Drop" icon="skills/wizard/spell_earth9_64.png" skill="666" level="0"> <spell name="Stone Drop" /> <description text="A little pulse of magic here and a pebble from the roof falls" /> </ability> <ability name="Rain of Boulders" icon="skills/wizard/spell_earth5_64.png" skill="666" level="1"> <spell name="Rain of Boulders" /> <description text="With a much more potent investment of magic you can cause those spiky stalagtities to fall" /> </ability> <ability name="Swallow" icon="skills/wizard/spell_earth8_64.png" skill="666" level="2"> <spell name="Swallow" /> <description text="You cause the earth to swallow your foes, and the walls" /> </ability> <ability name="Earthmeld" icon="skills/wizard/spell_earth2_64.png" skill="666" level="3"> <spell name="Earthmeld" /> <description text="You fold the floor in on itself; this also takes out walls." /> </ability> <ability name="Hydralic Tunnel" icon="skills/wizard/spell_earth6_64.png" skill="666" level="4"> <spell name="Hydralic Tunnel" /> <description text="You bore a tunnel from here to where you wan to be and shoot yourself along it with a jet of earth- not recomended for the fragile."/> </ability> <ability name="Celing Collapse" icon="skills/wizard/spell_earth1_64.png" skill="666" level="5"> <spell name="Celing Collapse" /> <description text="You bring the whole house down on top of them!" /> </ability> </geoengineeringSkills> </skillDB>
You need to not have those dashes in front of the xml tags for one. See: http://community.gaslampgames.com/t...s-and-other-quick-references.2335/#post-22772 The validator should help with syntax issues.
The dashes don't actually exist- they are an artifact of the text editor I was using, I have reformatted the skillDB section like the spellDB section so that they look identical. Thank you for pointing out the XML validator I found an error with my buff /buff section. Unfortunately this seems to have made things worse. Now the game crashes hard when I activate the mod and try to run it.