Changing Advanced Setup Defaults

Cagarustus

Prince
Joined
Mar 9, 2017
Messages
386
Hi all,

I'm wanting to change Advanced Settings Defaults to specifications that I prefer. I find it annoying having to continually select these options all the time (first-world problem). I have created a Mod for doing this, but have had only partial success.

UPDATE Parameters SET DefaultValue='Pangaea.lua'
WHERE ParameterId='Map' AND SupportsInternetMultiplayer='0';

UPDATE Parameters SET DefaultValue='GAMESPEED_ONLINE'
WHERE ParameterId='GameSpeeds' AND SupportsInternetMultiplayer='0';

UPDATE Parameters SET DefaultValue='1'
WHERE ParameterId='NoTeams';

UPDATE Parameters SET DefaultValue='1'
WHERE ParameterId='StartPosition' AND SupportsInternetMultiplayer='0';
--
I managed to get the 'StartPosition' to work (I have set it to Balanced), and the 'NoTeams' to work (by checking the box). However, I would like to have the Map Default set to Pangaea, not Continents, and the GameSpeed set to Online instead of Standard.

Also, how would I change the Turn Limits drop-down to be defaulted to 'No Turn Limits'?

Cheers
 
What you see at the end is post I've writen parallel to updating my own file. But as I started game I realized it has the same effect you get (only some values being updated).
Howewer the database IS updated and values as default map and speed are included.
Orginally I was thinking that no full effect on game is because you used mod for main menu but seems you've done it right.
Conclusion: Your changes as well as updating turnlimit are right (and required) steps to achieve desired effect but not only ones. Game lacks some connections on actually updating settings from parameters table. I bet we will need to create new ConfigurationUpdateQueries, Queries etc. (starts at 136th line of SetupParameters.xml) to make it work.
Will let you know if I get to something.


What I was about to post before checking if it works:
I have created a Mod for doing this
:sniper:Miss.
Change original game file (and repeat after every patch).
\Sid Meier's Civilization VI\Base\Assets\Configuration\Data\SetupParameters.xml
As for turn limit: its 34th line of file. Change TURNLIMIT_GAMESPEED to TURNLIMIT_NONE.
 
\Sid Meier's Civilization VI\Base\Assets\UI\Scripts\SetupParameters.lua
\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\PlayerSetupLogic.lua
handles setup but for now I cannot get any function to work via tuner.
 
Last edited:
Back
Top Bottom