Behavior = ArmorUpgrade ArmorUpgradeModuleTag TriggeredBy = Upgrade_MountainTrollVeterancy ArmorSetFlag = PLAYER_UPGRADE End
with
Behavior = ArmorUpgrade ArmorUpgradeModuleTag TriggeredBy = Upgrade_MordorTrollArmor ArmorSetFlag = PLAYER_UPGRADE End
and this:
Behavior = WeaponSetUpgrade ModuleTag_WeaponsetUpgrade TriggeredBy = Upgrade_MountainTrollVeterancy End
with
Behavior = WeaponSetUpgrade ModuleTag_WeaponsetUpgrade TriggeredBy = Upgrade_MordorTrollArmor End
in evilfactionunits.ini,
then enter this:
Upgrade Upgrade_TechnologyMordorTrollArmor DisplayName = UPGRADE:MordorTrollArmor Tooltip = TOOLTIP:MordorTrollArmor Type = PLAYER BuildCost = 500 BuildTime = ISENGARD_TECH_HEAVY_ARMOR_BUILDTIME ResearchSound = OrcPorterHeavyArmorVoiceSalute End
Upgrade Upgrade_MordorTrollArmor DisplayName = UPGRADE:MordorTrollArmor Type = OBJECT Tooltip = TOOLTIP:MordorTrollArmor BuildCost = 600 BuildTime = ISENGARD_PERSONAL_HEAVY_ARMOR_BUILDTIME ResearchSound = UpgradeHeavyArmor UpgradeFX = FX_PorterDeliverHeavyArmor End
into upgrade.ini while adding the corresponding .csf entries,
and enter this:
CommandButton Command_PurchaseTechnologyMordorTrollArmor Command = PLAYER_UPGRADE Upgrade = Upgrade_TechnologyMordorTrollArmor NeededUpgrade = Upgrade_StructureLevel2 Options = NEED_UPGRADE CANCELABLE TextLabel = CONTROLBAR:PurchaseTechnologyMordorTrollArmor ButtonImage = UPMordor_AttackTroll ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyMordorTrollArmor Radial = Yes InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackLevel2TrollCageTrollArmor End
CommandButton Command_PurchaseUpgradeMordorTrollArmor Command = OBJECT_UPGRADE Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE Upgrade = Upgrade_MordorTrollArmor NeededUpgrade = Upgrade_TechnologyMordorTrollArmor TextLabel = CONTROLBAR:PurchaseUpgradeMordorTrollArmor ButtonImage = UPMordor_AttackTroll ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseUpgradeMordorTrollArmor InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackMordorTrollArmor End
into commandbutton.ini, and finally adding the respective commands into the troll cage's and the nountain troll's commandsets in commandset.ini. However, when I played it ingame, the purchase button on the mountain troll's palantir was greyed out, and I could not purchase it even after buying the technology from the troll cage. Could anyone tell me why this is so?
Edited by window-reader, 11 November 2007 - 11:57 AM.