Things added to the end of commandbutton.ini (CommandButton Command_PurchaseTechnologyRohanHorseShield was already present)
//Modded stuffCommandButton Command_PurchaseTechnologyGondorKnightShield Command = PLAYER_UPGRADE Options = NEED_UPGRADE CANCELABLE Upgrade = Upgrade_TechnologyGondorKnightShield NeededUpgrade = Upgrade_StructureLevel2 TextLabel = CONTROLBAR:PurchaseTechnologyGondorKnightShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyGondorKnightShield Radial = Yes InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackLevel2StablesEndCommandButton Command_PurchaseUpgradeGondorKnightShield Command = OBJECT_UPGRADE Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE Upgrade = Upgrade_GondorKnightShield NeededUpgrade = Upgrade_TechnologyGondorKnightShield TextLabel = CONTROLBAR:PurchaseUpgradeGondorKnightShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseUpgradeGondorKnightShield InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackGondorKnightShieldCommandButton Command_PurchaseTechnologyArnorKnightShield Command = PLAYER_UPGRADE Options = NEED_UPGRADE CANCELABLE Upgrade = Upgrade_TechnologyArnorKnightShield NeededUpgrade = Upgrade_StructureLevel2 TextLabel = CONTROLBAR:PurchaseTechnologyArnorKnightShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyArnorKnightShield Radial = Yes InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackLevel2StablesEndCommandButton Command_PurchaseUpgradeArnorKnightShield Command = OBJECT_UPGRADE Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE Upgrade = Upgrade_ArnorKnightShield NeededUpgrade = Upgrade_TechnologyArnorKnightShield TextLabel = CONTROLBAR:PurchaseUpgradeArnorKnightShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseUpgradeArnorKnightShield InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackArnorKnightShield CommandButton Command_PurchaseUpgradeRohanHorseShield Command = PLAYER_UPGRADE Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE Upgrade = Upgrade_TechnologyRohanHorseShield NeededUpgrade = Upgrade_TechnologyGondorKnightShield;NeededUpgrade = Upgrade_TechnologyRohanHorseShield TextLabel = CONTROLBAR:PurchaseTechnologyRohanHorseShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyRohanHorseShield Radial = Yes InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackLevel2Stables
Command Sets:
Gondor Stables
CommandSet GondorStablesCommandSet 1 = Command_ConstructGondorKnightHorde 2 = Command_ConstructRohanRohirrimHorde 3 = Command_ConstructGondorKnightsofDolHorde 4 = Command_PurchaseUpgradeGondorStableLevel2 5 = Command_PurchaseTechnologyRohanHorseShield 6 = Command_Sell 7 = Command_PurchaseTechnologyGondorKnightShieldEndCommandSet GondorStablesCommandSetLevel2 1 = Command_ConstructGondorKnightHorde 2 = Command_ConstructRohanRohirrimHorde 3 = Command_ConstructGondorKnightsofDolHorde 4 = Command_PurchaseUpgradeGondorStableLevel3 5 = Command_PurchaseTechnologyRohanHorseShield 6 = Command_Sell 7 = Command_PurchaseTechnologyGondorKnightShieldEndCommandSet GondorStablesCommandSetLevel3 1 = Command_ConstructGondorKnightHorde 2 = Command_ConstructRohanRohirrimHorde 3 = Command_ConstructGondorKnightsofDolHorde 4 = Command_PurchaseTechnologyRohanHorseShield 5 = Command_PurchaseTechnologyGondorKnightShield 6 = Command_Sell
Arnor Stables
CommandSet ArnorStablesCommandSet 1 = Command_ConstructArnorKnightHorde 2 = Command_PurchaseUpgradeArnorStableLevel2 3 = Command_PurchaseTechnologyArnorKnightShield 6 = Command_SellEndCommandSet ArnorStablesCommandSetLevel2 1 = Command_ConstructArnorKnightHorde 2 = Command_PurchaseUpgradeArnorStableLevel3 3 = Command_PurchaseTechnologyArnorKnightShield 6 = Command_SellEndCommandSet ArnorStablesCommandSetLevel3 1 = Command_ConstructArnorKnightHorde 2 = Command_PurchaseTechnologyArnorKnightShield 6 = Command_SellEnd
Gondor Knight horde
CommandSet GondorKnightHordeCommandSet 1 = Command_ToggleStance 2 = Command_PurchaseUpgradeGondorForgedBlades 3 = Command_PurchaseUpgradeGondorHeavyArmor 4 = Command_PurchaseUpgradeGondorBasicTraining 5 = Command_PurchaseUpgradeGondorKnightShield 12 = Command_CaptureBuilding 13 = Command_AttackMove 14 = Command_Stop 16 = Command_SetStanceBattle 17 = Command_SetStanceAggressive 18 = Command_SetStanceHoldGroundEnd
Arnor Knight horde
CommandSet ArnorKnightHordeCommandSet 1 = Command_ToggleStance 2 = Command_PurchaseUpgradeArnorForgedBlades 3 = Command_PurchaseUpgradeArnorHeavyArmor 4 = Command_PurchaseUpgradeArnorBasicTraining 5 = Command_PurchaseUpgradeArnorKnightShield 12 = Command_CaptureBuilding 13 = Command_AttackMove 14 = Command_Stop 16 = Command_SetStanceBattle 17 = Command_SetStanceAggressive 18 = Command_SetStanceHoldGroundEnd
Rohirrim horde
CommandSet RohirrimHordeCommandSet 1 = Command_ToggleStance 2 = Command_ToggleRohirrimWeapon 3 = Command_PurchaseUpgradeRohanForgedBladesForRohirrim 4 = Command_PurchaseUpgradeRohanHeavyArmorForRohirrim 5 = Command_PurchaseUpgradeRohanBasicTraining 6 = Command_PurchaseUpgradeRohanHorseShield 12 = Command_CaptureBuilding 13 = Command_AttackMove 14 = Command_Stop 16 = Command_SetStanceBattle 17 = Command_SetStanceAggressive 18 = Command_SetStanceHoldGroundEndCommandSet RohirrimHordeBowCommandSet 1 = Command_ToggleStance 2 = Command_ToggleRohirrimWeapon 3 = Command_PurchaseUpgradeRohanFireArrows 4 = Command_PurchaseUpgradeRohanHeavyArmorForRohirrim 5 = Command_PurchaseUpgradeRohanBasicTraining 6 = Command_PurchaseUpgradeRohanHorseShield 12 = Command_CaptureBuilding 13 = Command_AttackMove 14 = Command_Stop 16 = Command_SetStanceBattle 17 = Command_SetStanceAggressive 18 = Command_SetStanceHoldGroundEnd
Added to lotr.str
//Modded Stuff//Technology controlbar and tooltips//CONTROLBAR:PurchaseTechnologyGondorKnightShield"Research the Knight Shield upgrade"EndCONTROLBAR:PurchaseTechnologyArnorKnightShield"Research the Knight Shield upgrade"EndCONTROLBAR:PurchaseTechnologyRohanHorseShield"Research the Horse Shield upgrade"EndCONTROLBAR:ToolTipPurchaseTechnologyGondorKnightShield"This upgrade allows you to equip your knights with shields for added protection"EndCONTROLBAR:ToolTipPurchaseTechnologyArnorKnightShield"This upgrade allows you to equip your knights with shields for added protection"EndCONTROLBAR:ToolTipPurchaseTechnologyRohanHorseShield"This upgrade allows you to equip your Rohirrim with shields for added protection"End//Upgrade controlbar and tooltips//CONTROLBAR:PurchaseUpgradeGondorKnightShield"Purchase the Knight Shield upgrade"EndCONTROLBAR:PurchaseUpgradeArnorKnightShield"Purchase the Knight Shield upgrade"EndCONTROLBAR:PurchaseUpgradeRohanHorseShield"Purchase the Horse Shield upgrade"EndCONTROLBAR:ToolTipPurchaseUpgradeGondorKnightShield"Equip your knights with shields for increased protection"EndCONTROLBAR:ToolTipPurchaseUpgradeArnorKnightShield"Equip your knights with shields for increased protection"EndCONTROLBAR:ToolTipPurchaseUpgradeRohanHorseShield"Equip your Rohirrim with shields for increased protection"End
Here's the current error:
The code relevant to this is, the first line of which is 18719
CommandButton Command_PurchaseTechnologyArnorKnightShield Command = PLAYER_UPGRADE Options = NEED_UPGRADE CANCELABLE Upgrade = Upgrade_TechnologyArnorKnightShield NeededUpgrade = Upgrade_StructureLevel2 TextLabel = CONTROLBAR:PurchaseTechnologyArnorKnightShield ButtonImage = BGStables_HorsemanShield ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyArnorKnightShield Radial = Yes InPalantir = Yes LacksPrerequisiteLabel = TOOLTIP:LackLevel2StablesEnd
I tried commenting out that entire section, but the error persisted. This seems strange to me. If someone else could take a look, that would be lovely.
Edit: changed tags from code to codebox as preferred by the forum administration.
Edited by John Doe, 18 March 2007 - 03:14 AM.