I tried to make a very simple mod to change the default values for Create Game. The defaults are standard speed and small map, and I always play a large map on epic speed. So I constructed a simple mod to change those, but it doesn't work. See mod code below. If I include code to delete Egypt as a civ, that does work (Cleo disappeared from the list). So the mod is loaded and does activate, just not for the DefaultValues.
What am I doing wrong?
What am I doing wrong?
Spoiler mod code (FinwicklesTuningMod_Config.xml) :
Code includes both the Update and Replace command to see if either works, but they both won't.
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
<!-- Adjust default starting parameters: game difficulty, game speed, map size -->
<!-- origin: Base\Assets\Configuration\Data\SetupParameters.xml -->
<Parameters>
<!-- Game Options -->
<Update>
<Where ParameterId="GameDifficulty" />
<Set DefaultValue="DIFFICULTY_WARLORD" />
</Update>
<Replace ParameterId="MapSize" Name="LOC_MAP_SIZE" Description="" Domain="StandardMapSizes" DefaultValue="MAPSIZE_LARGE" ConfigurationGroup="Map" ConfigurationId="MAP_SIZE" Hash="1" GroupId="MapOptions" SortIndex="220"/>
<Update>
<!-- Sets only single player default game speed -->
<Where ParameterId="GameSpeeds" SupportsLANMultiplayer="0" />
<Set DefaultValue="GAMESPEED_EPIC" />
</Update>
</Parameters>
</GameInfo>
Spoiler modinfo file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="62F89EF8-4F75-C609-F6BB-41D81D4BA6A7" version="1">
<Properties>
<Name>Finwickle's Tuning Mod</Name>
<Teaser>Some tuning adjustments</Teaser>
<Description>Makes several adjustments to the game</Description>
<Authors>Finwickle</Authors>
<SpecialThanks>Gedemon for modinfo guide</SpecialThanks>
<ShowInBrowser>Show</ShowInBrowser>
<EnabledByDefault>1</EnabledByDefault>
<EnabledAtStartup>1</EnabledAtStartup>
</Properties>
<Dependencies />
<References />
<Settings>
<Custom id="FINWICKLE_TUNINGMOD_SETTINGS">
<Items>
<File>FinwicklesTuningMod_Config.xml</File>
</Items>
</Custom>
</Settings>
<Components>
<UpdateDatabase id="FINWICKLE_TUNINGMOD_UPDATE">
<Items>
<File>FinwicklesTuningMod.xml</File>
</Items>
</UpdateDatabase>
</Components>
<Files>
<File>FinwicklesTuningMod_Config.xml</File>
<File>FinwicklesTuningMod.xml</File>
</Files>
</Mod>