So first add this on Bombandil engineering parameters
;------------Bombandil Forest-----------------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_GlorfindelStarlightEnabler
SpecialPowerTemplate = SpecialAbilityBombandilForest
TriggeredBy = Upgrade_Forest
End
Behavior = OCLSpecialPower ModuleTag_GlorfindelStarlight
StartsPaused = Yes
SpecialPowerTemplate = SpecialAbilityBombandilForest
OCL = OCL_SpawnForest
CreateLocation = CREATE_AT_LOCATION
End
Next go to data\ini\specialpower.ini
And put this:
; -----------------------------------------------------------------------------
SpecialPower SpecialAbilityBombandilForest
Enum = SPECIAL_GENERAL_TARGETLESS_THREE
ReloadTime = 120000
;InitiateAtLocationSound = GlorfindelStarlight
End
If you want to get more or less time change 120000 (this is cooldown time in milliseconds)
Next go to data\ini\objectcreationlist.ini and put this:
;---------------------------------------------------------------------------------------
ObjectCreationList OCL_SpawnForest
CreateObject
ObjectNames = ElvenWoodTreeSeed
End
End
Next go to data\ini\commanbutton.ini and put this:
CommandButton Command_SpecialAbilityBombandilForest
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityBombandilForest
TextLabel = CONTROLBAR:GlorfindelStarlight
DescriptLabel = CONTROLBAR:ToolTipGlorfindelStarlight
ButtonImage = HSGlorfindelStarlight
ButtonBorderType = ACTION
InPalantir = Yes
AutoAbility = No
;UnitSpecificSound = GlorfindelStarlight
End
Next go to data\ini\upgrade.ini and put this:
Upgrade Upgrade_Forest
Type = OBJECT
End
Next go to data\ini\experiencelevels.ini and found Bombandil
My code is:
;----------------- Tom Bombadil ---------------------------
ExperienceLevel TomBombadilLevel10
TargetNames = TomBombadil TomBombadil_Summoned
RequiredExperience = 1
ExperienceAward = 40
Rank = 10
Upgrades = Upgrade_TomBombadilLeadership Upgrade_Forest
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = 70
MaxRadius = 200
MaxSelectedUnits = 40
End
END
And add to Upgrades = Upgrade_Forest like i do this
And finally go to data\ini\commandset.ini and add this:
CommandSet TomBombadilCommandSet
1 = Command_ToggleStance
2 = Command_SpecialAbilitySonicSong
3 = Command_SpecialAbilityBombandilForest
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End
As you see i add number 3 on he commandset
Ok if i remember right, this is all but i dont test this, try and describe
About another powers, build cost,creation time and etc. i help you some time later)
Enjoy!