Need help with game settings mod

amayr

Chieftain
Joined
Oct 5, 2003
Messages
2
I recently started modding Civ 6 and it really drives me crazy.
So I'm basically a noob concerning Civ 6 modding, but not when it comes to coding.

I want to add some parameters to the "Create game / advanced setup" screen. I cloned the project of Gedemon, analyzed the config.xml and so on and created my own version. But no matter what I do, there are no new parameters. (I added the files to the modinfo file.)

But the lua script that I use to create additional units at the start of the game works fine.

So my question: Is there a tutorial on how to add new parameters? Or is there some obvious stuff that I could be missing? I added the modinfo file to this thread. I can also upload the other files I have created if they are required.
 

Attachments

try like this, if it doesn't work post the complete mod

Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="e041005f-e883-4446-9461-73279f93804a">
    <Properties>
        <Name>Mitch Jump Start (Beta)</Name>
        <Teaser/>
        <Description>
            Start with more settlers builders and scouts. You can choose the number at the beginning of your game in the configuration screen.
            This is for now based on Mynex More Starting Units Mod.
            Version 0.9
        </Description>
        <Authors>Mitch</Authors>
        <ShowInBrowser>Show</ShowInBrowser>
        <EnabledByDefault>1</EnabledByDefault>
        <EnabledAtStartup>1</EnabledAtStartup>
    </Properties>
    <InGameActions>
        <AddGameplayScripts id="MitchJumpStart">
            <File>Data/Mitch_JumpStart.lua</File>
        </AddGameplayScripts>
    </InGameActions>
    <FrontEndActions>
        <UpdateDatabase id="MIQS_SETTINGS">
            <File>Configuration/Config.xml</File>
        </UpdateDatabase>
        <UpdateText id="MIQS_SETTINGS_TEXTS">
            <File>Configuration/ConfigText.xml</File>
            <File>Configuration/ConfigText_de.xml</File>
        </UpdateText>
    </FrontEndActions>
        
    <Files>
        <File>Data/Mitch_JumpStart.lua</File>
        <File>Configuration/Config.xml</File>
        <File>Configuration/ConfigText.xml</File>
        <File>Configuration/ConfigText_de.xml</File>
    </Files>
</Mod>
 
Now I can finally see the new config fields. They are deactivated though.
Thanks so far!
Is there any information to read about how the config stuff actually works?

Edit: Problem solved.
 
Last edited:
Back
Top Bottom