Hi,
I'm trying to create a timed ability.
Effect:
While ability is active infantry based units spawn with level 10 (In this case: Uruks, Pikes, Xbows and Berserkers).
To save some time for creating the modules etc. I used the CallTheHorde Template from mordor.
I edited the sciences etc. and the ability shows up at the proper point and also works, I tested this first before modifying the ability itself.
I changed the behavior in system.ini from:
; Behavior = ProductionSpeedBonus ModuleTag_CalltheHorde SpecialPowerTemplate = SpellBookCalltheHorde NumberOfFrames = 1200 ;1800 SpeedMulitplier = 20.0 ; 12x speedup BALANCE Type = MordorFighterHorde MordorArcherHorde GoblinFighterHorde GoblinArcherHorde GoblinFighterHorde_FromDefectedLair GoblinArcherHorde_FromDefectedLair AvailableAtStart = No RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC End
to:
Behavior = LevelUpUpgrade ModuleTag_CalltheHorde SpecialPowerTemplate = SpellBookCalltheHorde NumberOfFrames = 1200 ;1800 LevelsToGain = 10 Type = IsengardFighterHorde IsengardPikemanHorde IsengardBerserker IsengardUrukCrossbowHorde AvailableAtStart = No RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC End
However, I get a game dat error. So, the game seems to not know how to handle a level up module tag. I also tried this:
Behavior = ExperienceLevelCreate ModuleTag_MordorCalltheHorde SpecialPowerTemplate = SpellBookMordorCalltheHorde NumberOfFrames = 180 ;1800 LevelToGrant = 10 Type = IsengardFighterHorde IsengardCrossbowHorde IsengardBeserker IsengardPikemenHorde AvailableAtStart = No RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC End
Question is how I can realize the effect
activate ability -> troop construction level 10 for the duration
Are there alternatives?
Edit:
Question 2 (unrelated to question 1):
Is it possible to modify the research time of upgrades?
Example:
upgrade X reduces teching time of other abilities by 50% (like personal forged blades)
So when upgrade X has been researched all units that can upgrade forged blades can equip them 50% faster.
Can this be done?
Edited by dArCReAvEr, 08 April 2017 - 07:47 PM.