Game_Addy
Chieftain
- Joined
- Jun 6, 2005
- Messages
- 85
I haven't been able to find a while lot about this topic, so I appologize if it has already been covered.
I've been trying to find where I can modify/edit/add corporations for a mod, and I think I've finally found the place at
...\Beyond the Sword\Assets\XML\GameInfo\CIV4CorporationInfo.XML
Within the spoiler is a section from the above file, which I'm going to be modifying. I want to modify what it takes to produce the corporation, what it gives out, and how many there are in the game(I'm thinking around 15 or so total...more in a bit).
<CorporationInfo>
<Type>CORPORATION_7</Type>
<Description>TXT_KEY_CORPORATION_7</Description>
<Civilopedia>TXT_KEY_CORPORATION_7_PEDIA</Civilopedia>
<TechPrereq>NONE</TechPrereq>
<FreeUnitClass>NONE</FreeUnitClass>
<iSpreadFactor>200</iSpreadFactor>
<iSpreadCost>50</iSpreadCost>
<iMaintenance>100</iMaintenance>
<PrereqBonuses>
<BonusType>BONUS_GOLD</BonusType>
<BonusType>BONUS_SILVER</BonusType>
<BonusType>BONUS_GEMS</BonusType>
</PrereqBonuses>
<HeadquarterCommerces>
<iHeadquarterCommerce>5</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
</HeadquarterCommerces>
<BonusProduced>NONE</BonusProduced>
<CommercesProduced>
<iCommerceProduced>100</iCommerceProduced>
<iCommerceProduced>0</iCommerceProduced>
<iCommerceProduced>400</iCommerceProduced>
</CommercesProduced>
<YieldsProduced>
<iYieldProduced>0</iYieldProduced>
</YieldsProduced>
<Button>,Art/Interface/Buttons/TechTree/Corporation.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,7,6</Button>
<MovieFile>NONE</MovieFile>
<MovieSound>NONE</MovieSound>
<Sound>AS2D_BUILD_BANK</Sound>
</CorporationInfo>
It seems pretty straightforward, but I'm sure there's atleast one more file I'll need to modify.
Now for the part where I say why I want to mess with Civ:
I wanted to mod the game in such a way that mateials can be "manufactured." Say you don't have Iron, but you do have Copper and Tin(or something else), you would create the corporation which converts Copper/tin to Iron. These may be like World Wonders(make it impossible to build an executive), or similar to normal corporations in that they can spread. Is it possible to require a resource AND another, instead of one OR the other? Not all resources would not be buildable, such as Uranium, horses, and a few others. But on the whole, most would be. I believe this will give civs a chance to make a comeback if a certain resource is missing. It also allows corporations to build-upon one another to make resources unavailable otherwise.
My problem is I don't know which files I need to modify. First thoughts would be the 'pedia, and the city-view(though I think it may be best to avoid adding more icons in that box), and finally under the Corporation Advisor window(however, the 7, 6 could indicate the x-y position of the marker). What does iHeadquartersCommerce indicate, and why are there 3 values? Possibly HQ city, foreign and domestic values?
Any help is appreciated!
I've been trying to find where I can modify/edit/add corporations for a mod, and I think I've finally found the place at
...\Beyond the Sword\Assets\XML\GameInfo\CIV4CorporationInfo.XML
Within the spoiler is a section from the above file, which I'm going to be modifying. I want to modify what it takes to produce the corporation, what it gives out, and how many there are in the game(I'm thinking around 15 or so total...more in a bit).
Spoiler :
<CorporationInfo>
<Type>CORPORATION_7</Type>
<Description>TXT_KEY_CORPORATION_7</Description>
<Civilopedia>TXT_KEY_CORPORATION_7_PEDIA</Civilopedia>
<TechPrereq>NONE</TechPrereq>
<FreeUnitClass>NONE</FreeUnitClass>
<iSpreadFactor>200</iSpreadFactor>
<iSpreadCost>50</iSpreadCost>
<iMaintenance>100</iMaintenance>
<PrereqBonuses>
<BonusType>BONUS_GOLD</BonusType>
<BonusType>BONUS_SILVER</BonusType>
<BonusType>BONUS_GEMS</BonusType>
</PrereqBonuses>
<HeadquarterCommerces>
<iHeadquarterCommerce>5</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
<iHeadquarterCommerce>0</iHeadquarterCommerce>
</HeadquarterCommerces>
<BonusProduced>NONE</BonusProduced>
<CommercesProduced>
<iCommerceProduced>100</iCommerceProduced>
<iCommerceProduced>0</iCommerceProduced>
<iCommerceProduced>400</iCommerceProduced>
</CommercesProduced>
<YieldsProduced>
<iYieldProduced>0</iYieldProduced>
</YieldsProduced>
<Button>,Art/Interface/Buttons/TechTree/Corporation.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,7,6</Button>
<MovieFile>NONE</MovieFile>
<MovieSound>NONE</MovieSound>
<Sound>AS2D_BUILD_BANK</Sound>
</CorporationInfo>
It seems pretty straightforward, but I'm sure there's atleast one more file I'll need to modify.
Now for the part where I say why I want to mess with Civ:
I wanted to mod the game in such a way that mateials can be "manufactured." Say you don't have Iron, but you do have Copper and Tin(or something else), you would create the corporation which converts Copper/tin to Iron. These may be like World Wonders(make it impossible to build an executive), or similar to normal corporations in that they can spread. Is it possible to require a resource AND another, instead of one OR the other? Not all resources would not be buildable, such as Uranium, horses, and a few others. But on the whole, most would be. I believe this will give civs a chance to make a comeback if a certain resource is missing. It also allows corporations to build-upon one another to make resources unavailable otherwise.
My problem is I don't know which files I need to modify. First thoughts would be the 'pedia, and the city-view(though I think it may be best to avoid adding more icons in that box), and finally under the Corporation Advisor window(however, the 7, 6 could indicate the x-y position of the marker). What does iHeadquartersCommerce indicate, and why are there 3 values? Possibly HQ city, foreign and domestic values?
Any help is appreciated!