TAfirehawk
WoC Team Manager
Discussion of Interface modules.
<CorporationInfos>
<CorporationInfo>
<Type>CORPORATION_8</Type>
<Description>TXT_KEY_CORPORATION_8</Description>
<Civilopedia>TXT_KEY_CORPORATION_8_PEDIA</Civilopedia>
<iSpreadFactor>200</iSpreadFactor>
<iSpreadCost>50</iSpreadCost>
<iMaintenance>100</iMaintenance>
[COLOR="Blue"]<iTGAIndex>15</iTGAIndex>[/COLOR]
<PrereqBonuses>
<BonusType>BONUS_SILK</BonusType>
<BonusType>BONUS_DYE</BonusType>
<BonusType>BONUS_FUR</BonusType>
<BonusType>BONUS_COW</BonusType>
</PrereqBonuses>
<HeadquarterCommerces>
<iHeadquarterCommerce>5</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
</HeadquarterCommerces>
<CommercesProduced>
<iCommerceProduced>0</iCommerceProduced>
<iCommerceProduced>0</iCommerceProduced>
<iCommerceProduced>500</iCommerceProduced>
</CommercesProduced>
<YieldsProduced>
<iYieldProduced>0</iYieldProduced>
</YieldsProduced>
<Button>,None,Art/Interface/Buttons/Corporation_Atlas.dds,1,1</Button>
<MovieFile>NONE</MovieFile>
<MovieSound>NONE</MovieSound>
<Sound>AS2D_BUILD_BANK</Sound>
</CorporationInfo>
</CorporationInfos>
<BonusArtInfos>
<BonusArtInfo>
<Type>ART_DEF_BONUS_SAPPHIRE</Type>
<fScale>1.0</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/Terrain/Resources/Sapphires/gems.nif</NIF>
<KFM>Art/Terrain/Resources/Sapphires/gems.kfm</KFM>
<SHADERNIF>Art/Terrain/Resources/Sapphires/gems.nif</SHADERNIF>
<Button>Art/Interface/Buttons/WorldBuilder/sapphire.dds</Button>
[COLOR="SeaGreen"]<FontButtonIndex>60</FontButtonIndex>[/COLOR]
</BonusArtInfo>
</BonusArtInfos>
<Civ4Defines xmlns="x-schema:CIV4GlobalDefinesSchema.xml">
<Define>
<DefineName>GAMEFONT_TGA_RELIGIONS</DefineName>
<iDefineIntVal>8</iDefineIntVal>
</Define>
<Define>
<DefineName>GAMEFONT_TGA_CORPORATIONS</DefineName>
<iDefineIntVal>8</iDefineIntVal>
</Define>
</Civ4Defines>
Unbelievable !
Hm ! If I want something to go along with happiness and health, where must I put the icon ?
Unbelievable !
Hm ! If I want something to go along with happiness and health, where must I put the icon ?
Sorry, I meant where in the Gamefonts and ( more important question ) how do I manage to set the right path in xml ?
This is a very nice fix, but how would I actually implement without having to download the full WoC mod? What is the actual change to the SDK that makes this possible?
Well the actual change in the SDK I do not know. mrgenie did it. The WoC is modular so if you do not like some of the stuff in it you can remove the stuff out of the modules folder. So anyway you could download the file and have nothing in it even and work with it how you wish, but of course it is not completely finish yet.
Well the fact that it is modular means it has a lot of unnecessary features (from my vantage), which normally would not be a problem but that it probably increases download size. Since I try to be a minimalist, I don't include features in my mods that aren't absolutely necessary.
I guess I can wait for the source code and merge it manually, but I'd still need to know what was changed specifically for this...
I am a bit of a "freelance" modder so if that is the case I guess I will just have to deal with the old tga overload method.
Now I am updating where in the SDK changes are made to set the number of religions and corporations recognized by the game. In the CvDefinesModTools.h is two lines that only have to be changed to do this.
Code:#define TGA_RELIGIONS (8) #define TGA_CORPORATIONS (8)
All you have to is change the number from 8 to 9 to increase the area that is set in the TGA's for religions for example.
does this mean that in a mod with the standard DLL (not WoC) you cannot have more than eight religions or eight corporations?