Where in the xml do I find the logo pictures for the corporations ?

LoneTraveller

Warlord
Joined
Apr 30, 2008
Messages
283
Location
Montreal, Quebec
I'm looking for them cause I wanna switched "Cereal Mills" for a rounded IG Farben logo. I have modified the portions for the .nif and the button tags in the CIV4ArtDefines_Building.xml in the following fashion :

Spoiler :
<BuildingArtInfo>
<Type>ART_DEF_BUILDING_CORPORATION_3</Type>
<LSystem>LSYSTEM_2x2</LSystem>
<bAnimated>1</bAnimated>
<fScale>0.25</fScale>
<fInterfaceScale>0.45</fInterfaceScale>
<NIF>Art/Structures/Buildings/CorporationHQ/CorporationHQ_Cereal.nif</NIF>
<KFM/>
<Button>Art/interface/buttons/Corporation/IGFarben_HQ.dds</Button>
</BuildingArtInfo>


Just in case here is the CIV4BuildingInfos.xml :

Spoiler :
<BuildingInfo>
<BuildingClass>BUILDINGCLASS_CORPORATION_3</BuildingClass>
<Type>BUILDING_CORPORATION_3</Type>
<SpecialBuildingType>NONE</SpecialBuildingType>
<Description>TXT_KEY_CORPORATION_3</Description>
<Civilopedia>TXT_KEY_CORPORATION_3_PEDIA</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CORPORATION_3_STRATEGY</Strategy>
<Advisor>ADVISOR_ECONOMY</Advisor>
<ArtDefineTag>ART_DEF_BUILDING_CORPORATION_3</ArtDefineTag>
<MovieDefineTag>NONE</MovieDefineTag>
<HolyCity>NONE</HolyCity>
<ReligionType>NONE</ReligionType>
<StateReligion>NONE</StateReligion>
<bStateReligion>0</bStateReligion>
<PrereqReligion>NONE</PrereqReligion>
<PrereqCorporation>NONE</PrereqCorporation>
<FoundsCorporation>CORPORATION_3</FoundsCorporation>
<GlobalReligionCommerce>NONE</GlobalReligionCommerce>
<GlobalCorporationCommerce>CORPORATION_3</GlobalCorporationCommerce>
<VictoryPrereq>NONE</VictoryPrereq>
<FreeStartEra>NONE</FreeStartEra>
<MaxStartEra>NONE</MaxStartEra>
<ObsoleteTech>NONE</ObsoleteTech>
<PrereqTech>NONE</PrereqTech>
<TechTypes/>
<Bonus>NONE</Bonus>
<PrereqBonuses/>
<ProductionTraits/>
<HappinessTraits/>
<NoBonus>NONE</NoBonus>
<PowerBonus>NONE</PowerBonus>
<FreeBonus>NONE</FreeBonus>
<iNumFreeBonuses>0</iNumFreeBonuses>
<FreeBuilding>NONE</FreeBuilding>
<FreePromotion>NONE</FreePromotion>
<CivicOption>NONE</CivicOption>
<GreatPeopleUnitClass>UNITCLASS_SCIENTIST</GreatPeopleUnitClass>
<iGreatPeopleRateChange>1</iGreatPeopleRateChange>
<iHurryAngerModifier>0</iHurryAngerModifier>
<bBorderObstacle>0</bBorderObstacle>
<bTeamShare>0</bTeamShare>
<bWater>0</bWater>
<bRiver>0</bRiver>
<bPower>0</bPower>
<bDirtyPower>0</bDirtyPower>
<bAreaCleanPower>0</bAreaCleanPower>
<DiploVoteType>NONE</DiploVoteType>
<bForceTeamVoteEligible>0</bForceTeamVoteEligible>
<bCapital>0</bCapital>
<bGovernmentCenter>0</bGovernmentCenter>
<bGoldenAge>0</bGoldenAge>
<bAllowsNukes>0</bAllowsNukes>
<bMapCentering>0</bMapCentering>
<bNoUnhappiness>0</bNoUnhappiness>
<bNoUnhealthyPopulation>0</bNoUnhealthyPopulation>
<bBuildingOnlyHealthy>0</bBuildingOnlyHealthy>
<bNeverCapture>0</bNeverCapture>
<bNukeImmune>1</bNukeImmune>
<bPrereqReligion>0</bPrereqReligion>
<bCenterInCity>0</bCenterInCity>
<iAIWeight>0</iAIWeight>
<iCost>-1</iCost>
<iHurryCostModifier>0</iHurryCostModifier>
<iAdvancedStartCost>-1</iAdvancedStartCost>
<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
<iMinAreaSize>-1</iMinAreaSize>
<iConquestProb>100</iConquestProb>
<iCitiesPrereq>0</iCitiesPrereq>
<iTeamsPrereq>0</iTeamsPrereq>
<iLevelPrereq>0</iLevelPrereq>
<iMinLatitude>0</iMinLatitude>
<iMaxLatitude>90</iMaxLatitude>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iGlobalGreatPeopleRateModifier>0</iGlobalGreatPeopleRateModifier>
<iAnarchyModifier>0</iAnarchyModifier>
<iGoldenAgeModifier>0</iGoldenAgeModifier>
<iGlobalHurryModifier>0</iGlobalHurryModifier>
<iExperience>0</iExperience>
<iGlobalExperience>0</iGlobalExperience>
<iFoodKept>0</iFoodKept>
<iAirlift>0</iAirlift>
<iAirModifier>0</iAirModifier>
<iAirUnitCapacity>0</iAirUnitCapacity>
<iNukeModifier>0</iNukeModifier>
<iNukeExplosionRand>0</iNukeExplosionRand>
<iFreeSpecialist>0</iFreeSpecialist>
<iAreaFreeSpecialist>0</iAreaFreeSpecialist>
<iGlobalFreeSpecialist>0</iGlobalFreeSpecialist>
<iMaintenanceModifier>0</iMaintenanceModifier>
<iWarWearinessModifier>0</iWarWearinessModifier>
<iGlobalWarWearinessModifier>0</iGlobalWarWearinessModifier>
<iEnemyWarWearinessModifier>0</iEnemyWarWearinessModifier>
<iHealRateChange>0</iHealRateChange>
<iHealth>0</iHealth>
<iAreaHealth>0</iAreaHealth>
<iGlobalHealth>0</iGlobalHealth>
<iHappiness>0</iHappiness>
<iAreaHappiness>0</iAreaHappiness>
<iGlobalHappiness>0</iGlobalHappiness>
<iStateReligionHappiness>0</iStateReligionHappiness>
<iWorkerSpeedModifier>0</iWorkerSpeedModifier>
<iMilitaryProductionModifier>0</iMilitaryProductionModifier>
<iSpaceProductionModifier>0</iSpaceProductionModifier>
<iGlobalSpaceProductionModifier>0</iGlobalSpaceProductionModifier>
<iTradeRoutes>0</iTradeRoutes>
<iCoastalTradeRoutes>0</iCoastalTradeRoutes>
<iGlobalTradeRoutes>0</iGlobalTradeRoutes>
<iTradeRouteModifier>0</iTradeRouteModifier>
<iForeignTradeRouteModifier>0</iForeignTradeRouteModifier>
<iGlobalPopulationChange>0</iGlobalPopulationChange>
<iFreeTechs>0</iFreeTechs>
<iDefense>0</iDefense>
<iBombardDefense>0</iBombardDefense>
<iAllCityDefense>0</iAllCityDefense>
<iEspionageDefense>0</iEspionageDefense>
<iAsset>8</iAsset>
<iPower>0</iPower>
<fVisibilityPriority>1.0</fVisibilityPriority>
<SeaPlotYieldChanges/>
<RiverPlotYieldChanges/>
<GlobalSeaPlotYieldChanges/>
<YieldChanges/>
<CommerceChanges/>
<ObsoleteSafeCommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>2</iCommerce>
</ObsoleteSafeCommerceChanges>
<CommerceChangeDoubleTimes>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>1000</iCommerce>
</CommerceChangeDoubleTimes>
<CommerceModifiers/>
<GlobalCommerceModifiers/>
<SpecialistExtraCommerces/>
<StateReligionCommerces/>
<CommerceHappinesses/>
<ReligionChanges/>
<SpecialistCounts/>
<FreeSpecialistCounts/>
<CommerceFlexibles/>
<CommerceChangeOriginalOwners>
<bCommerceChangeOriginalOwner>0</bCommerceChangeOriginalOwner>
<bCommerceChangeOriginalOwner>0</bCommerceChangeOriginalOwner>
<bCommerceChangeOriginalOwner>1</bCommerceChangeOriginalOwner>
</CommerceChangeOriginalOwners>
<ConstructSound>AS2D_BUILD_BANK</ConstructSound>
<BonusHealthChanges/>
<BonusHappinessChanges/>
<BonusProductionModifiers/>
<UnitCombatFreeExperiences/>
<DomainFreeExperiences/>
<DomainProductionModifiers/>
<BuildingHappinessChanges/>
<PrereqBuildingClasses/>
<BuildingClassNeededs/>
<SpecialistYieldChanges/>
<BonusYieldModifiers/>
<ImprovementFreeSpecialists/>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_GOLD</FlavorType>
<iFlavor>10</iFlavor>
</Flavor>
</Flavors>
<HotKey/>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
</BuildingInfo>


I have another question : Why there is a "taoist religion" icon when it's supposed to be the standard ethanol icon in the wiki and in the game ? Here's a picture :

http://i602.photobucket.com/albums/tt103/LoneTraveller1980/Civ4ScreenShot0007.jpg
 
1) CIV4CorporationInfo.XML in the GameInfo folder

2) did you play with the res files or add a corporation?
 
It's the GameFont files in the res folder. All religions and corporations store logos in the same place and the game reads them in order starting with the religions and then the corporations. If you removed a religion from the XML all the corporations would move back one logo with the first corporation then using the last religion logo. (Tao being the last religion logo stored and Cereal Mills the first corporation stored).

You need to manually edit the res file to align with your new religion and corporation XML files.
 
1) CIV4CorporationInfo.XML in the GameInfo folder

Thanks. I should have thought about searching higher in the folder tree :rolleyes:

2) did you play with the res files or add a corporation?

I have just tried to take my new button and scale it down to the size of the icons and paste them in the gamefont.tga and gamefont_75.tga files. I think there is an error when I paste the icons I made over the taoist icons because I can't start the scenario. I have to replace the edited files with the original for the scenario to work.

Is there a way to paste over these icons and format the picture file so that the game core will accept it ? Like pre-prepare the image file before saving ?

Thank you for your time and quick answers :)
 
Ok. I have things worked out. The icons are in working order. Thanks for the thread link zappara.

Now I have something else to figure out : I'm trying to change the logo on the suitcase of the CEO units for my custom Corp. I have looked in the .nif file with 3ds max, have found a file named CEO_Case_64.dds and found the picture CEO_128.dds. But I don't know to which file (or how) is the logo linked to the suitcase. Add to that that I don't know either which file is linked to the logo of the model of the corp. headquarters.

These infos, how to reach them and modify them would be a pleasant thing.

PS: I have version 11.0 Trial so "neener's tut" is kinda vague and I can't find all the things he says.

Thank you for your time
 
Back
Top Bottom