Bonjours a tous,
je voudrais regrouper les hommes et arnor en une faction ( pas trés dur il me faut juste changer quelques commandset )
mais en plus j'aimerai faire des menu deroulant pour chaque batiments divisés en deux catégories arnor/hommes
donc la je test sur bfm 2 sans l'add on ( il bug je le réinstalerai demain )
je veux donc faire sur le même principe des menus déroulants
ainsi je met ceci dans mon commandset
- Code:
-
CommandSet GondorBarracksCommandSet
// Main Menu
1 = Command_SelectRevivablesMenUnits
2 = Command_SelectUpgradesMenBarracks
3 = Command_Sell
// Units Menu
4 = Command_ConstructGondorFighterHorde
5 = Command_ConstructGondorTowerShieldGuardHorde
6 = Command_RadialBack
// Upgrads Menu
7 = Command_PurchaseTechnologyGondorBasicTraining ; ;
8 = Command_PurchaseUpgradeGondorBarracksLevel2 ; ;
9 = Command_RadialBack
End
et ceci dans mon commandbutton
- Code:
-
CommandButton Command_SelectUpgradesMenBarracks
Command = PUSH_VISIBLE_COMMAND_RANGE
TextLabel = CONTROLBAR:SelectUpgradesMenFortress
ButtonImage = UCCommon_UpgradeStructureNew
ButtonBorderType = SYSTEM
DescriptLabel = CONTROLBAR:ToolTipCommandSelectUpgradesMenFortress
Radial = Yes
CommandRangeStart = 3
CommandRangeCount = 4
End
CommandButton Command_SelectRevivablesMenUnits
Command = PUSH_VISIBLE_COMMAND_RANGE
TextLabel = CONTROLBAR:SelectRevivablesMenFortress
ButtonImage = UCCommon_GoodHeroes
ButtonBorderType = SYSTEM
DescriptLabel = CONTROLBAR:ToolTipCommandSelectRevivablesMenFortress
Radial = Yes
CommandRangeStart = 6
CommandRangeCount = 7
End
n'ayant pas le temps de tester ce midi je vous demande juste de me dire si vous pensez que cela marchera ou pas
merci