Skip to content

Posts from How do I properly move buildings within a town? Auto-translated

No ratings yet — be the first to rate!
User Avatar
#1
Auto-translated
I changed the internal structure of the buildings to accommodate the new unit placement (tier 3 to tier 5, tier 5 to tier 6, tier 6 to tier 3). However, the interface still seems to be linked to the original versions. I suspect that I may have achieved the result in the wrong way or that I haven't finished editing a certain file in the UserInterface (I added a link). In general, here I explain what the problem is - Video
Ссылка на мой мод Heroes 5 Armageddons Blade

Ссылка на мои уроки по модостроению в Героях 5

Ссылка на мой Artstation
User Avatar
#2
Auto-translated
Did you modify buildings in GameMechanics/TownBuildingSharedStats?
then in the building files you look for the line:
<UIObjectName>Dwelling_3</UIObjectName>
and change it to the desired one (say, to swap the minotaur dwelling for the witch one, instead of Dwelling_3 make it Dwelling_6)

and in general, it's better to change town maps via UI/TownBuildNew/Towns/, where files like town definition are located, which determine the placement of buildings and arrows on the town map (the building hierarchy, however, still depends on the TownBuildingSharedStats files)
Нет войне.
User Avatar
#3
Auto-translated
The building's appearance changes in \GameMechanics\TownBuildingSharedStats\faction\building\.....
right after the building's cost comes 

    <ModObjectName>maze</ModObjectName>

(this is the minotaur dwelling) this parameter is responsible for the appearance
<UIObjectName>Dwelling_3</UIObjectName>
and this is most likely the identifier for the building menu
Мои мини-моды

Мод RTF

Мои NCF существа