Markolainen
Chieftain
- Joined
- Sep 29, 2010
- Messages
- 15
I tried making a mod so the automated workers leave old improvments as well as forests alone. This is pretty simple since there is already an option for this in the Civ5PlayerOptions.xml.
But the mod won't work when I use it.
Here is the info of the files:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 9/29/2010 9:32:25 PM -->
<GameData>
<PlayerOptions>
<Update>
<Set Value="true"/>
<Where Type="PLAYEROPTION_SAFE_AUTOMATION"/>
</Update>
<Update>
<Set Value="true"/>
<Where Type="PLAYEROPTION_LEAVE_FORESTS"/>
</Update>
</PlayerOptions>
</GameData>
<?xml version="1.0" encoding="utf-8"?>
<Mod id="47dbd368-a19a-44be-9185-ef00872559d0" version="1">
<Properties>
<Name>Workers Automated Leave Improvments</Name>
<Stability>Alpha</Stability>
<Description>This mod makes the automated workers leve old improvments as well as forests alone.</Description>
<Authors>Marko</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="339533E8673A260885BC874DADA84BB7">XML/GameInfo/Civ5PlayerOptions.xml</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatabase>XML/GameInfo/Civ5PlayerOptions.xml</UpdateDatabase>
</OnModActivated>
</Actions>
</Mod>
As well as the civ5mod file itself under attached files.
Why won't the mod work? I tried chaning the values to true in the XML in the game directory and it works then but I want to be able to change it quickly.
Thanks in advance,
But the mod won't work when I use it.
Here is the info of the files:
Spoiler Civ5PlayerOptions.xml :
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 9/29/2010 9:32:25 PM -->
<GameData>
<PlayerOptions>
<Update>
<Set Value="true"/>
<Where Type="PLAYEROPTION_SAFE_AUTOMATION"/>
</Update>
<Update>
<Set Value="true"/>
<Where Type="PLAYEROPTION_LEAVE_FORESTS"/>
</Update>
</PlayerOptions>
</GameData>
Spoiler Workers Automated Leave Improvments (v 1).modinfo :
<?xml version="1.0" encoding="utf-8"?>
<Mod id="47dbd368-a19a-44be-9185-ef00872559d0" version="1">
<Properties>
<Name>Workers Automated Leave Improvments</Name>
<Stability>Alpha</Stability>
<Description>This mod makes the automated workers leve old improvments as well as forests alone.</Description>
<Authors>Marko</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="339533E8673A260885BC874DADA84BB7">XML/GameInfo/Civ5PlayerOptions.xml</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatabase>XML/GameInfo/Civ5PlayerOptions.xml</UpdateDatabase>
</OnModActivated>
</Actions>
</Mod>
As well as the civ5mod file itself under attached files.
Why won't the mod work? I tried chaning the values to true in the XML in the game directory and it works then but I want to be able to change it quickly.
Thanks in advance,