hi
i need help in the upgrades
i make new units need blacksmith upgrade (level 2 or 3)
but in the game when i trying to train the unit i cant
i do the blacksmith upgrades but i cant train the unit
9 replies to this topic
#1
Posted 30 August 2012 - 07:11 PM
#2
Posted 30 August 2012 - 07:25 PM
Did you make commandbuttons for your units?
Did you add the commandbuttons into the blacksmithcommandset (inclusive Level 2 and 3)?
Could you please show these Codes maybe we'll find the failure... but without them it's difficult
Did you add the commandbuttons into the blacksmithcommandset (inclusive Level 2 and 3)?
Could you please show these Codes maybe we'll find the failure... but without them it's difficult
#3
Posted 31 August 2012 - 05:07 AM
CommandButton Command_ConstructMordorHaradrimRiderHorde
Command = UNIT_BUILD
Object = MordorHaradrimRiderHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel2
TextLabel = CONTROLBAR:ConstructMordorHaradrimRiderHorde
ButtonImage = BMHaradCalvaryIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildMordorHaradrimRiderHorde
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
; UnitSpecificSound = GondorArcherVoiceBuy
End
CommandButton Command_ConstructHaradRidersArchersHorde ; Added for BFME2 Expansion
Command = UNIT_BUILD
Object = HaradRidersArchersHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel3
TextLabel = CONTROLBAR:BuildElvenRivendellArchers
ButtonImage = BEGreenPasture_RivendellArcherIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildElvenRivendellArchers
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
End
This is the black smith commandset
CommandSet HaradForgeCommandSet
1 = Command_PurchaseUpgradeGondorForgeLevel2
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel2
1 = Command_PurchaseUpgradeGondorForgeLevel3
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel3
1 = Command_PurchaseUpgradeHaradForgeLevel4
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel4
1 = Command_PurchaseUpgradeHaradForgeLevel5
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel5
6 = Command_Sell
End
Command = UNIT_BUILD
Object = MordorHaradrimRiderHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel2
TextLabel = CONTROLBAR:ConstructMordorHaradrimRiderHorde
ButtonImage = BMHaradCalvaryIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildMordorHaradrimRiderHorde
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
; UnitSpecificSound = GondorArcherVoiceBuy
End
CommandButton Command_ConstructHaradRidersArchersHorde ; Added for BFME2 Expansion
Command = UNIT_BUILD
Object = HaradRidersArchersHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel3
TextLabel = CONTROLBAR:BuildElvenRivendellArchers
ButtonImage = BEGreenPasture_RivendellArcherIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildElvenRivendellArchers
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
End
This is the black smith commandset
CommandSet HaradForgeCommandSet
1 = Command_PurchaseUpgradeGondorForgeLevel2
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel2
1 = Command_PurchaseUpgradeGondorForgeLevel3
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel3
1 = Command_PurchaseUpgradeHaradForgeLevel4
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel4
1 = Command_PurchaseUpgradeHaradForgeLevel5
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel5
6 = Command_Sell
End
#4
Posted 31 August 2012 - 06:40 AM
You forgot to add them into the commandsets...
You'll have to add following marked entries
CommandSet HaradForgeCommandSet
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeGondorForgeLevel2
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel2
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeGondorForgeLevel3
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel3
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeHaradForgeLevel4
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel4
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeHaradForgeLevel5
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel5
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
6 = Command_Sell
End
You'll have to add following marked entries
CommandSet HaradForgeCommandSet
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeGondorForgeLevel2
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel2
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeGondorForgeLevel3
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel3
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeHaradForgeLevel4
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel4
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
3 = Command_PurchaseUpgradeHaradForgeLevel5
6 = Command_Sell
End
CommandSet HaradForgeCommandSetLevel5
1 = Command_ConstructHaradRidersArchersHorde
2 = Command_ConstructMordorHaradrimRiderHorde
6 = Command_Sell
End
#5
Posted 31 August 2012 - 07:45 AM
ahhh thx
#6
Posted 31 August 2012 - 08:18 AM
i do like this but they are trainable only in the forge
is there a way to let them trainable only at the barracks ?
is there a way to let them trainable only at the barracks ?
#7
Posted 31 August 2012 - 10:46 AM
Add the command buttons to the barracks' command set and remove them from the forge.
Defender of the Lawful Evil
#8
Posted 31 August 2012 - 02:17 PM
like this i cant train them
#9
Posted 31 August 2012 - 03:53 PM
What do you exactly mean with: 'like this i cant train them' ?
What is the exact problem...
don't you see the buttons where you can train you units in the barracks?
Are the Buttons of them grey? Even if you bought the level2 or 3 upgrade for the barrack?
If that's the problem you have to change the following marked entries
CommandButton Command_ConstructMordorHaradrimRiderHorde
Command = UNIT_BUILD
Object = MordorHaradrimRiderHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel2
TextLabel = CONTROLBAR:ConstructMordorHaradrimRiderHorde
ButtonImage = BMHaradCalvaryIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildMordorHaradrimRiderHorde
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
; UnitSpecificSound = GondorArcherVoiceBuy
End
CommandButton Command_ConstructHaradRidersArchersHorde ; Added for BFME2 Expansion
Command = UNIT_BUILD
Object = HaradRidersArchersHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel3
TextLabel = CONTROLBAR:BuildElvenRivendellArchers
ButtonImage = BEGreenPasture_RivendellArcherIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildElvenRivendellArchers
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
End
I also don't know what barracks you use for them... and what upgrades it has...
If you're also using the version of gondor, you have to replace the marked entries with Upgrade_GondorBarracksLevel2 or Upgrade_GondorBarracksLevel3
What is the exact problem...
don't you see the buttons where you can train you units in the barracks?
Are the Buttons of them grey? Even if you bought the level2 or 3 upgrade for the barrack?
If that's the problem you have to change the following marked entries
CommandButton Command_ConstructMordorHaradrimRiderHorde
Command = UNIT_BUILD
Object = MordorHaradrimRiderHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel2
TextLabel = CONTROLBAR:ConstructMordorHaradrimRiderHorde
ButtonImage = BMHaradCalvaryIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildMordorHaradrimRiderHorde
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
; UnitSpecificSound = GondorArcherVoiceBuy
End
CommandButton Command_ConstructHaradRidersArchersHorde ; Added for BFME2 Expansion
Command = UNIT_BUILD
Object = HaradRidersArchersHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_GondorForgeLevel3
TextLabel = CONTROLBAR:BuildElvenRivendellArchers
ButtonImage = BEGreenPasture_RivendellArcherIcon
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildElvenRivendellArchers
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
End
I also don't know what barracks you use for them... and what upgrades it has...
If you're also using the version of gondor, you have to replace the marked entries with Upgrade_GondorBarracksLevel2 or Upgrade_GondorBarracksLevel3
#10
Posted 31 August 2012 - 04:03 PM
Just to be sure about this: The upgrades you're using, "Upgrade_GondorForgeLevel2" and the like, they are Type = PLAYER? Not maybe Type = OBJECT, are they? If so, they'll only affect the unit/structure which builds them, but you need them to be delivered also to the barracks.
Defender of the Lawful Evil
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users