LonelyCatfish
Chieftain
- Joined
- Apr 28, 2011
- Messages
- 6
Hi, I'm new to Civ5 modding and things have been going pretty well until I ran into this stumbling block, when I try to run one of my own mods the game simply removes what I want from the production list.
For example, after a couple of my slightly more complex mods failed I tried creating the simplest mod possible:
And the courthouse promptly disappears from my production list and stays unchanged with the civilopedia and tech tree.
Is this a problem with my coding? The actions run pretty much as you'd expect: 'OnModActivated...UpdateDatabase...Courthouse.xml(my filename)
The modinfo goes:
Thanks in advance,
LonelyCatfish
For example, after a couple of my slightly more complex mods failed I tried creating the simplest mod possible:
Code:
<GameData>
<Buildings>
<Update>
<Where Type="BUILDING_COURTHOUSE"/>
<Set GoldMaintenance="2"/>
</Update>
</Buildings>
</GameData>
Is this a problem with my coding? The actions run pretty much as you'd expect: 'OnModActivated...UpdateDatabase...Courthouse.xml(my filename)
The modinfo goes:
Spoiler :
<?xml version="1.0" encoding="utf-8"?>
<Mod id="0959e61f-8dd5-4d9f-af73-8ae1ae067592" version="1">
<Properties>
<Name>Courthouse Mod</Name>
<Stability>Alpha</Stability>
<Teaser>Lowers the maintenance cost of the Courthouse. Aimed at making annexing cities as a viable way of playing the game.</Teaser>
<Description>Lowers the maintenance cost of the Courthouse. Aimed at making annexing cities as a viable way of playing the game.</Description>
<Authors>Edward</Authors>
<HideSetupGame>0</HideSetupGame>
<AffectsSavedGames>1</AffectsSavedGames>
<MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="FB818DB4A1F0439E1289F835B791E5AF" import="0">XML/Buildings/CIV5Buildings.xml</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatabase>CIV5Buildings.xml</UpdateDatabase>
</OnModActivated>
</Actions>
</Mod>
<Mod id="0959e61f-8dd5-4d9f-af73-8ae1ae067592" version="1">
<Properties>
<Name>Courthouse Mod</Name>
<Stability>Alpha</Stability>
<Teaser>Lowers the maintenance cost of the Courthouse. Aimed at making annexing cities as a viable way of playing the game.</Teaser>
<Description>Lowers the maintenance cost of the Courthouse. Aimed at making annexing cities as a viable way of playing the game.</Description>
<Authors>Edward</Authors>
<HideSetupGame>0</HideSetupGame>
<AffectsSavedGames>1</AffectsSavedGames>
<MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="FB818DB4A1F0439E1289F835B791E5AF" import="0">XML/Buildings/CIV5Buildings.xml</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatabase>CIV5Buildings.xml</UpdateDatabase>
</OnModActivated>
</Actions>
</Mod>
Thanks in advance,
LonelyCatfish