I just made my first new units. Now I'm trying to create a god power.
The goal is to turn a unit to stone (as Medusa does) on click, so I had a look at similar powers - like bolt and bronze, etc.
I'm not having much luck with it. The power shows up in the editor, but not when I playtest the game. I set it to invoke as well, but nothing happened. Here's what I have at the moment.
Could somebody help me out?
The goal is to turn a unit to stone (as Medusa does) on click, so I had a look at similar powers - like bolt and bronze, etc.
I'm not having much luck with it. The power shows up in the editor, but not when I playtest the game. I set it to invoke as well, but nothing happened. Here's what I have at the moment.
<?xml version="1.0" encoding="UTF-8"?>
<power name="Gorgon Gaze" type="bolt" techname="Gorgon Gaze">
<placement forceonmap="1" enemy="" matchtype="LogicalTypeValidBoltTarget"> unit< /placement>
<activetime> 0.10< /activetime>
<unitaitype> BoltGodPower< /unitaitype>
<soundset type="StartSound" listenertype="AllExceptCaster"> MedusaStone< /soundset>
<soundset type="StartSound" listenertype="IfOnScreenAll"> MedusaStone< /soundset>
<strikeminoffset> 1.0< /strikeminoffset>
<strikemaxoffset> 1.0< /strikemaxoffset>
<action name="FreezeAttack"> < /action>
<armor>
<sfx> Armor Glow Small< /sfx>
<!-- < sfx> Ragnorok SFX< /sfx> -->
</armor>
<minimapeventtime sendalertto="all"> 5.0< /minimapeventtime>
<icon> special g medusa icon< /icon>
<usedicon> god power spy icon done< /usedicon>
</power>
Could somebody help me out?
[This message has been edited by CSJC (edited 06-03-2020 @ 06:07 AM).]