J'ai voulus ajouter l'armory rohan au gondor pour voir si le model est utilisable.
Il l'est seulement l'image apparait mais on ne peut pas la construire j'ignore pourquoi.
Alors je suis allez dans le commandbutton de l'armory :
J'ai donc changé :
- Code:
-
CommandButton Command_ConstructRohanArmory
Command = FOUNDATION_CONSTRUCT
Object = RohanArmory
TextLabel = CONTROLBAR:ConstructRohanArmory
ButtonImage = BRArmory
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipRohanArmory
Radial = Yes
Par
- Code:
-
CommandButton Command_ConstructRohanArmory
Command = DOZER_CONSTRUCT
Object = RohanArmory
TextLabel = CONTROLBAR:ConstructRohanArmory
ButtonImage = BRArmory
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipRohanArmory
Radial = Yes
En remplacant par
- Code:
-
DOZER_CONSTRUCT
je n'ai jamais eu de souci de construction de n'importe quel object avec lui.
J'ignore pourquoi :
- Code:
-
FOUNDATION_CONSTRUCT
pose problème dans la mesure que ce code est utilisé pour toute les factions du biens.