So, title should be pretty selfexplanatory, how to do it?
I've added the button to all three barracks entries (for all 3 levels) in commandset ini, i've done this too in buttons ini but it is not working. The dude is there ofc but can be built at lvl 1. I could do a poor man's workaround and simply make the button available at lvl 3 only but that reeks of peasantdom.
What am i missing?
CommandButton Command_ConstructEntTreeBeard
Command = UNIT_BUILD
Object = RohanTreeBerd
Options = CANCELABLE
TextLabel = CONTROLBAR:ConstructTreeBeard
ButtonImage = HITreebeard
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildTreeBeard
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
NeededUpgrade = Upgrade_GondorBarracksLevel3
; UnitSpecificSound = GondorArcherVoiceBuy
End
Thanks for any answers.
#edit: nvm figured it out, under options you need to put NEED_UPGRADE and CANCELABLE and it's greyed out at lvl 1 and 2.
A follow up question, the requirement isn't written in the tooltip, ie Requires level 3 to build......do i need to change the tooltips for that?
Another follow up question, i couldn't add Treebeard to Men fort hero build menu, i edited the commandset to include generic revive slot#8 but when i put RohanTreebeard or RohanTreeberd in playertemplate it just doesn't work. Any clues?
Edited by RoccoTheStiff, 25 November 2017 - 05:02 PM.