Guild of the nine

hafensaengerx

Chieftain
Joined
Jul 7, 2006
Messages
25
Hello everybody!

I have had an idea regarding the Guild of the Nine. I think it could be interesting to change it from worldwonder to a nationalwonder, so that every civ can produce mercenaries.

Please can anybody tell me how to change this!? Unfortunately I ve got no experiences in modding.

An alternative could be, that every civ could produce mercenarys with currency-tech and the tavern-Building. Guild of the Nine as a worldwonder could just reduce the costs for hiring mercenaries. How could i change this?

thx
 
Good idea.
First way is easy to do,you find this file \Assets\XML\Buildings\CIV4BuildingClassInfos.xml in FFH2 mod document
find this code
Code:
        <BuildingClassInfo>
            <Type>BUILDINGCLASS_GUILD_OF_THE_NINE</Type>
            <Description>TXT_KEY_BUILDING_GUILD_OF_THE_NINE</Description>
            <iMaxGlobalInstances>1</iMaxGlobalInstances>
            <iMaxTeamInstances>-1</iMaxTeamInstances>
            <iMaxPlayerInstances>-1</iMaxPlayerInstances>
            <iExtraPlayerInstances>0</iExtraPlayerInstances>
            <bNoLimit>0</bNoLimit>
            <bMonument>0</bMonument>
            <DefaultBuilding>BUILDING_GUILD_OF_THE_NINE</DefaultBuilding>
            <VictoryThresholds/>
        </BuildingClassInfo>
and change original code <iMaxGlobalInstances>1</iMaxGlobalInstances> to <iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances> to <iMaxPlayerInstances>1</iMaxPlayerInstances>

.like this
Code:
        <BuildingClassInfo>
            <Type>BUILDINGCLASS_GUILD_OF_THE_NINE</Type>
            <Description>TXT_KEY_BUILDING_GUILD_OF_THE_NINE</Description>
            <iMaxGlobalInstances>-1</iMaxGlobalInstances>
            <iMaxTeamInstances>-1</iMaxTeamInstances>
            <iMaxPlayerInstances>1</iMaxPlayerInstances>
            <iExtraPlayerInstances>0</iExtraPlayerInstances>
            <bNoLimit>0</bNoLimit>
            <bMonument>0</bMonument>
            <DefaultBuilding>BUILDING_GUILD_OF_THE_NINE</DefaultBuilding>
            <VictoryThresholds/>
        </BuildingClassInfo>
Second way perhaps need python code change,which is out of my ability.
 
Top Bottom