AmrasKuthalion
Chieftain
- Joined
- Jul 31, 2012
- Messages
- 6
Apologize in advance for being totally new at this...
Anyways, so I'm creating a custom civ (again im really new), and I'm taking it steps at a time. I've got the civ created, and its there in-game (even though its right now practically a duplicate of Austria), and im working on changing the unique building to a building of my own. I created the building (supposed to be a different version of stone-works), heres some code for it:
I have that all in the same XML file just btw.
I've also added it so that its in the "replace buildings" section of the new civ xml thing. heres that portion of code:
Now, when i go in game, i choose my mod, etc etc, and in game setup, i choose to play as my civ, and during the loading screen, when they read the DOM quote, you know, it still has Austria's unique unit (I havent changed that yet), but it actually shows my unique building(the construction camp) rather then Austria's, so its good that far.
Problem is, when i start playing, the tech tree says its just a stone works, I played through a little, and yep, i went to build it, and it really is just the stone works, when i wanted it to be updated to the construction camp.
Help anyone?
Moderator Action: Moved to the main forum.
Because the tutorials subforum is only for tutorials, not for questions .
Anyways, so I'm creating a custom civ (again im really new), and I'm taking it steps at a time. I've got the civ created, and its there in-game (even though its right now practically a duplicate of Austria), and im working on changing the unique building to a building of my own. I created the building (supposed to be a different version of stone-works), heres some code for it:
Spoiler :
<GameData>
<Buildings>
<Row>
<Type>BUILDING_CONSTRUCTION_CAMP</Type>
<BuildingClass>BUILDINGCLASS_STONE_WORKS</BuildingClass>
<Cost>50</Cost>
<GoldMaintenance>0</GoldMaintenance>
<PrereqTech>TECH_CALENDAR</PrereqTech>
<Help>TXT_KEY_BUILDING_CONSTRUCTION_CAMP_HELP</Help>
<Description>TXT_KEY_BUILDING_CONSTRUCTION_CAMP</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CONSTRUCTION_CAMP_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CONSTRUCTION_CAMP_STRATEGY</Strategy>
<ArtDefineTag>ART_DEF_BUILDING_FORGE</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<ConquestProb>66</ConquestProb>
<HurryCostModifier>0</HurryCostModifier>
<IconAtlas>NEW_BLDG_ATLAS2_DLC</IconAtlas>
<PortraitIndex>1</PortraitIndex>
</Row>
</Buildings>
<Building_YieldChanges>
<Row>
<BuildingType>BUILDING_CONSTRUCTION_CAMP</BuildingType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>5</Yield>
</Row>
</Building_YieldChanges>
</GameData>
<Buildings>
<Row>
<Type>BUILDING_CONSTRUCTION_CAMP</Type>
<BuildingClass>BUILDINGCLASS_STONE_WORKS</BuildingClass>
<Cost>50</Cost>
<GoldMaintenance>0</GoldMaintenance>
<PrereqTech>TECH_CALENDAR</PrereqTech>
<Help>TXT_KEY_BUILDING_CONSTRUCTION_CAMP_HELP</Help>
<Description>TXT_KEY_BUILDING_CONSTRUCTION_CAMP</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CONSTRUCTION_CAMP_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CONSTRUCTION_CAMP_STRATEGY</Strategy>
<ArtDefineTag>ART_DEF_BUILDING_FORGE</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<ConquestProb>66</ConquestProb>
<HurryCostModifier>0</HurryCostModifier>
<IconAtlas>NEW_BLDG_ATLAS2_DLC</IconAtlas>
<PortraitIndex>1</PortraitIndex>
</Row>
</Buildings>
<Building_YieldChanges>
<Row>
<BuildingType>BUILDING_CONSTRUCTION_CAMP</BuildingType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>5</Yield>
</Row>
</Building_YieldChanges>
</GameData>
I have that all in the same XML file just btw.
I've also added it so that its in the "replace buildings" section of the new civ xml thing. heres that portion of code:
Spoiler :
<Civilization_BuildingClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_CARDOLAN</CivilizationType>
<BuildingClassType>BUILDINGCLASS_STONEWORKS</BuildingClassType>
<BuildingType>BUILDING_CONSTRUCTION_CAMP</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_CARDOLAN</CivilizationType>
<BuildingClassType>BUILDINGCLASS_STONEWORKS</BuildingClassType>
<BuildingType>BUILDING_CONSTRUCTION_CAMP</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>
Now, when i go in game, i choose my mod, etc etc, and in game setup, i choose to play as my civ, and during the loading screen, when they read the DOM quote, you know, it still has Austria's unique unit (I havent changed that yet), but it actually shows my unique building(the construction camp) rather then Austria's, so its good that far.
Problem is, when i start playing, the tech tree says its just a stone works, I played through a little, and yep, i went to build it, and it really is just the stone works, when i wanted it to be updated to the construction camp.
Help anyone?
Moderator Action: Moved to the main forum.
Because the tutorials subforum is only for tutorials, not for questions .