So i am trying to add the ability for native civs to have a levy style big button in the mold of Hausa’s Songhai levy raiders tech
I have made it so that the button works, have the cost and spawn units at the TC
but…
there is no cooldown for some reason even though i effectively copied how songhai button works
Techtree
<tech name="BigIroquoisWarAssembly" type="Normal">
<dbid>11014</dbid>
<displaynameid>45723</displaynameid>
<cost resourcetype="Food">600.0000</cost>
<cost resourcetype="Wood">600.0000</cost>
<cost resourcetype="Gold">600.0000</cost>
<researchpoints>10.0000</researchpoints>
<status>UNOBTAINABLE</status>
<icon>resources\images\icons\techs\native\Dance3.png</icon>
<iconwpf>resources\images\icons\techs\native_big_button\native_21.png</iconwpf>
<rollovertextid>45722</rollovertextid>
<flag>Shadow</flag>
<prereqs>
<techstatus status="Active">Industrialize</techstatus>
<techstatus status="Active">BigIroquoisWarParty</techstatus>
<techstatus status="Active">DEHCOldWaysUNI</techstatus>
</prereqs>
</tech>
powersmod
<powersmod>
<power mergeMode='add' name="deBigIroquoisWarAssembly" type="GeneralEffect">
<placement mergeMode='add' forceonmap="1">LOSDontCare</placement>
<allowduringnorush mergeMode='add'>1</allowduringnorush>
</power>
</powersmod>
Abilitiesmod
<abilitiesmod>
<towncenter>
<ability mergeMode='add'>deBigIroquoisWarAssembly<rof>160</rof><nevershowingrid>true</nevershowingrid><alwaysdisabledingrid>false</alwaysdisabledingrid></ability>
</towncenter>
</abilitiesmod>
Protomod
<unit id="294" name="TownCenter">
<command mergeMode= 'add' page="0" column="2">deBigIroquoisWarAssem</command>
</unit>
Protounitcommandsmod
<protounitcommandmods>
<protounitcommand mergeMode='add'>
<name>deBigIroquoisWarAssem</name>
<icon>resources\images\icons\techs\native_big_button\native_21.png</icon>
<spawncommand>
</spawncommand>
<unittype>xpTomahawk</unittype>
<amount>15</amount>
<associatedtech>BigIroquoisWarAssembly</associatedtech>
<associatedpower>deBigIroquoisWarAssembly</associatedpower>
<rollovertextid>45722</rollovertextid>
<usemultiple>
</usemultiple>
<usebigbutton>
</usebigbutton>
</protounitcommand>
</protounitcommandmods>
Am I missing something??
Also from what I can tell these only allow you to spawn 1 kind of unit, if anyone knows how to make it so that it spawns like a group of units pls let me know ( i guess kinda like how banner armies work)