Hi,everyone,I've got the issue for hours and havn't solved yet.
Like the title,if I don't add the buildings.xml into action,it'll be ok.But when I add some new buildings, things went bad. I have taken sevral hours to discover what problem was, but I don't get the idea yet. Now the situation is very strange. Sometimes it works normally, but sometimes it doesn't. Feeling like the same xml code sometimes work normally, sometimes not, what's wrong?
I'm a beginner making Mods, and this is my first time to write here,so any suggestions is accepted.
Update: I have uploaded my mod, I'm very eager for your help.
Moderator Action: Welcome to CivFanatics. Moved thread to main C&C forum as that is the best place for questions to be seen. Best of luck with your modding. leif
Like the title,if I don't add the buildings.xml into action,it'll be ok.But when I add some new buildings, things went bad. I have taken sevral hours to discover what problem was, but I don't get the idea yet. Now the situation is very strange. Sometimes it works normally, but sometimes it doesn't. Feeling like the same xml code sometimes work normally, sometimes not, what's wrong?
I'm a beginner making Mods, and this is my first time to write here,so any suggestions is accepted.
HTML:
<Buildings>
<Row>
<Type>BUILDING_KONGON_REDTEA</Type>
<BuildingClass>BUILDINGCLASS_WINDMILL</BuildingClass>
<Cost>200</Cost>
<GoldMaintenance>1</GoldMaintenance>
<PrereqTech>TECH_ECONOMICS</PrereqTech>
<Description>TXT_KEY_BUILDING_REDTEA</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_REDTEA_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_REDTEA_STRATEGY</Strategy>
<Help>TXT_KEY_BUILDING_REDTEA_HELP</Help>
<Flat>true</Flat>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<SpecialistCount>1</SpecialistCount>
<MinAreaSize>-1</MinAreaSize>
<ConquestProb>66</ConquestProb>
<BuildingProductionModifier>25</BuildingProductionModifier>
<HurryCostModifier>4</HurryCostModifier>
<IconAtlas>BW_KG_1</IconAtlas>
<PortraitIndex>2</PortraitIndex>
<Happiness>4</Happiness>
<GoldenAgeModifier>5</GoldenAgeModifier>
</Row>
</Buildings>
Moderator Action: Welcome to CivFanatics. Moved thread to main C&C forum as that is the best place for questions to be seen. Best of luck with your modding. leif
Attachments
Last edited: