Skip to content

Several changes.

User Avatar
#12
Auto-translated
Caliostro

Thank you. That's just what I needed. And happy holidays.
Another question: how do I swap the positions of creatures on the recruitment screen? Say, I placed genies in tier 4 and mages in tier 5. How do I make it so that on the recruitment screen genies come before mages? 
this depends not on the creature tier, but on the building tier

the academy buildings are located in \GameMechanics\TownBuildingSharedStats\Academy

for example, the mage tower

<?xml version="1.0" encoding="UTF-8"?>
<TownBuildingSharedStats ObjectRecordID="1000133">
    <NameFileRef href="/Text/Game/TownBuildings/Academy/Dwelling_4/Name.txt"/>
    <DescriptionFileRef href="/Text/Game/TownBuildings/Academy/Dwelling_4/Description.txt"/>
    <Type>TB_DWELLING_4</Type> - this is what determines the position in the recruitment list, as well as in the build queue
    <Upgrade>BLD_UPG_1</Upgrade>
    <Cost>
        <Wood>0</Wood>
        <Ore>10</Ore>
        <Mercury>0</Mercury>
        <Crystal>0</Crystal>
        <Sulfur>10</Sulfur>
        <Gem>5</Gem>
        <Gold>2200</Gold>
    </Cost>
    <ModObjectName>MageTower</ModObjectName>
    <dependencies/>
    <Creature>CREATURE_MAGI</Creature>
    <DevLevelNeeded>6</DevLevelNeeded>
    <UIObjectName>Dwelling_4</UIObjectName>
    <UIStackPosition>0</UIStackPosition>
    <Icon href="/UI/TownHall/academy/128/d5.xdb#xpointer(/Texture)"/>
</TownBuildingSharedStats>

so you need to rewrite this line in both mage dwellings and both genie dwellings

then you need to configure their placement in the recruitment window

\UI\TownBuildNew\Towns
the file academy.(TownBuildDefinition).xdb

find the 2 TB_DWELLING_4 lines and 2 TB_DWELLING_5 lines there, and rewrite them
Мои мини-моды

Мод RTF

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