I've successfully implemented a civilization using Kael's guide (not without some work), but I've run into two things that I have completely stumped me and I can't find anything in the forums on it.
1. I implemented a unique building for the new civ and it shows up correctly in the civ selection screen and in the civalopedia, down to the description text and gameplay details. But it doesn't replace the temple in the technology tree or build options, so I still can't use it. The code for the building is below:
2. I can't get the dawn of man image to work. It simply crashes as soon as it brings up the DOM screen and gives an error about reading the file. I've already made sure to check the box to import it into the VFS. I've even successfully uploaded and used an icon using Kael's methods (plus the import to VFS change), but the DOM still won't work. I think it might be an issue with the particular file. It's a .dds file created in Gimp and it's 1024x768 pixels.
Thanks for any help you can offer.
1. I implemented a unique building for the new civ and it shows up correctly in the civ selection screen and in the civalopedia, down to the description text and gameplay details. But it doesn't replace the temple in the technology tree or build options, so I still can't use it. The code for the building is below:
Spoiler :
<GameData>
<Buildings>
<Row>
<Type>BUILDING_ACADEMY</Type>
<BuildingClass>BUILDINGCLASS_TEMPLE</BuildingClass>
<FreeStartEra>ERA_INDUSTRIAL</FreeStartEra>
<Cost>120</Cost>
<GoldMaintenance>2</GoldMaintenance>
<PrereqTech>TECH_PHILOSOPHY</PrereqTech>
<Help>TXT_KEY_BUILDING_ACADEMY_HELP</Help>
<Description>TXT_KEY_BUILDING_ACADEMY_DESC</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDING_ACADEMY_PEDIA</Civilopedia>
<Strategy>TXT_KEY_BUILDING_ACADEMY_STRATEGY</Strategy>
<ArtDefineTag>TEMPLE</ArtDefineTag>
<SpecialistType>SPECIALIST_SCIENTIST</SpecialistType>
<SpecialistCount>1</SpecialistCount>
<MinAreaSize>-1</MinAreaSize>
<Culture>4</Culture>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<NeverCapture>true</NeverCapture>
<PortraitIndex>39</PortraitIndex>
</Row>
</Buildings>
<Building_Flavors>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>30</Flavor>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<Flavor>30</Flavor>
</Row>
</Building_Flavors>
<Building_ResourceCultureChanges>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_SILK</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_COTTON</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_FUR</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_DYE</ResourceType>
<CultureChange>1</CultureChange>
</Row>
</Building_ResourceCultureChanges>
<Building_ClassesNeededInCity>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<BuildingClassType>BUILDINGCLASS_MONUMENT</BuildingClassType>
</Row>
</Building_ClassesNeededInCity>
</GameData>
<Buildings>
<Row>
<Type>BUILDING_ACADEMY</Type>
<BuildingClass>BUILDINGCLASS_TEMPLE</BuildingClass>
<FreeStartEra>ERA_INDUSTRIAL</FreeStartEra>
<Cost>120</Cost>
<GoldMaintenance>2</GoldMaintenance>
<PrereqTech>TECH_PHILOSOPHY</PrereqTech>
<Help>TXT_KEY_BUILDING_ACADEMY_HELP</Help>
<Description>TXT_KEY_BUILDING_ACADEMY_DESC</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDING_ACADEMY_PEDIA</Civilopedia>
<Strategy>TXT_KEY_BUILDING_ACADEMY_STRATEGY</Strategy>
<ArtDefineTag>TEMPLE</ArtDefineTag>
<SpecialistType>SPECIALIST_SCIENTIST</SpecialistType>
<SpecialistCount>1</SpecialistCount>
<MinAreaSize>-1</MinAreaSize>
<Culture>4</Culture>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<NeverCapture>true</NeverCapture>
<PortraitIndex>39</PortraitIndex>
</Row>
</Buildings>
<Building_Flavors>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>30</Flavor>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<Flavor>30</Flavor>
</Row>
</Building_Flavors>
<Building_ResourceCultureChanges>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_SILK</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_COTTON</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_FUR</ResourceType>
<CultureChange>1</CultureChange>
</Row>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<ResourceType>RESOURCE_DYE</ResourceType>
<CultureChange>1</CultureChange>
</Row>
</Building_ResourceCultureChanges>
<Building_ClassesNeededInCity>
<Row>
<BuildingType>BUILDING_ACADEMY</BuildingType>
<BuildingClassType>BUILDINGCLASS_MONUMENT</BuildingClassType>
</Row>
</Building_ClassesNeededInCity>
</GameData>
2. I can't get the dawn of man image to work. It simply crashes as soon as it brings up the DOM screen and gives an error about reading the file. I've already made sure to check the box to import it into the VFS. I've even successfully uploaded and used an icon using Kael's methods (plus the import to VFS change), but the DOM still won't work. I think it might be an issue with the particular file. It's a .dds file created in Gimp and it's 1024x768 pixels.
Thanks for any help you can offer.