[en] - Modding Corner > General Modding Questions
Farms
KingThranduil:
How to make a builder to build farms of other factions?
For example, a builder of Mordor to build the farm Gondor.
Prinz von Dol Amroth:
You open the commandset of the builder, open the Commandbutton and there you can change the object or you can give your builder a new Commandbutton.
--- Code: ---CommandButton Command_PorterConstructMordorSlaughterHouse
Command = DOZER_CONSTRUCT
Object = MordorSlaughterHouse
TextLabel = CONTROLBAR:ConstructSlaughterHouse
ButtonImage = BCSlaughterHouse
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipFurnace
Radial = Yes
End
--- Ende Code ---
KingThranduil:
1) What is needed to fix this farm?
2) How to replace it with a new model?
KingThranduil:
How in Isengard builds a buildings without the required furnaces?
Prinz von Dol Amroth:
Open the Commandset of the IsengardPorter.
Open the Commandbutton of the building, which you want to change.
--- Code: ---CommandButton Command_PorterConstructIsengardWargPit
Command = DOZER_CONSTRUCT
Options = NEED_UPGRADE
Object = IsengardWargPit
TextLabel = CONTROLBAR:ConstructIsengardWargPit
ButtonImage = BIWargPit
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipIsengardWargPit_Neu
Radial = Yes
NeededUpgrade = Upgrade_AngmarStructureWitcherBuild
End
--- Ende Code ---
There you have to delete the NeededUpgrade and Options line:
--- Code: ---CommandButton Command_PorterConstructIsengardWargPit
Command = DOZER_CONSTRUCT
Object = IsengardWargPit
TextLabel = CONTROLBAR:ConstructIsengardWargPit
ButtonImage = BIWargPit
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipIsengardWargPit_Neu
Radial = Yes
End
--- Ende Code ---
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln