I nearly finished my mod, only one thing is misssing - but as usual, that seems to be the hardest:
I want to change the Computer Counter Measures from the Nod temple to a real player power with a button on the left side.
But right now, the button apears nowhere, not on the left side nor in the HUD :/
I removed it from UnitAbilityButtonTemplates and added it to PlayerPowerButtonTemplates:
(I changed the IDs of both files)
<PowerButton id="SpecialPowerComputerCounterMeasures"> <State Image="SpecialPowerComputerCounterMeasures" Title="NAME:PlayerPowerComputerCounterMeasures" TypeDescription="TYPE:PlayerPowerComputerCounterMeasures" Description="DESC:PlayerPowerComputerCounterMeasures" /> </PowerButton>
I also added it to logicCommand and Logiccommandset.xml (note: I changed the buttonname):
<LogicCommand Type="SPECIAL_POWER" id="Command_TempleOfNodCounterMeasures"> <SpecialPower>SpecialPowerComputerCounterMeasures</SpecialPower> </LogicCommand> id="NODTempleOfNODCommandSet"> <Cmd>Command_TempleOfNodCounterMeasures</Cmd> id="PlayerSpellBookCommandSet"> <Cmd>Command_TempleOfNodCounterMeasures</Cmd>
and I changed the "CommandButtonName" in the AISpecialPowerUpdate for the tempel...
But It wont show up
What did I wrong?
Edited by Chriz, 14 September 2007 - 11:20 AM.