Hello,
Civ5 modding was so simple compared to Civ6! I'm trying to make my 1st mod on Civ6: for testing, I want to do something very simple: adding a new world size.
I took example upon minimalist mod LockeRussia and made this:
modinfo:
and the sql file:
I activate the mod and create a new game. In the World Size menu, there should be 2 entries named Huge, the 2nd one being the one I created, but there isn't...
What am I doing wrong???
Civ5 modding was so simple compared to Civ6! I'm trying to make my 1st mod on Civ6: for testing, I want to do something very simple: adding a new world size.
I took example upon minimalist mod LockeRussia and made this:
modinfo:
Code:
<Mod id="49300c43-ef9c-47d0-98c6-868f8e6ca9f2" version="1">
<Properties>
<Name>TesMod</Name>
<Teaser>Mod testing</Teaser>
<Description>LOC_DESCRIPTION</Description>
<Authors>Jake</Authors>
<EnabledByDefault>0</EnabledByDefault>
<EnabledAtStartup>0</EnabledAtStartup>
</Properties>
<Components>
<UpdateDatabase id="TESTMOD_MOD>
<Items>
<File>SQL/TestModWorlds.sql</File>
</Items>
</UpdateDatabase>
</Components>
<LocalizedText>
<Text id="LOC_DESCRIPTION">
<en_US>Testing a mod.</en_US>
</Text>
</LocalizedText>
<Files>
<File>SQL/TestModWorlds.sql</File>
</Files>
</Mod>
and the sql file:
Code:
INSERT INTO Worlds(Type, Description, Help, DefaultPlayers, DefaultMinorCivs, FogTilesPerBarbarianCamp, NumNaturalWonders, UnitNameModifier,
TargetNumCities, NumFreeBuildingResources, BuildingClassPrereqModifier, MaxConscriptModifier, GridWidth, GridHeight,
MaxActiveReligions, TerrainGrainChange, FeatureGrainChange, ResearchPercent, NumCitiesUnhappinessPercent,
NumCitiesPolicyCostMod, NumCitiesTechCostMod, AdvancedStartPointsMod, EstimatedNumCities, PortraitIndex, IconAtlas)
VALUES('WORLDSIZE_SUPERHUGE', 'TXT_KEY_WORLD_HUGE', 'TXT_KEY_WORLD_HUGE_HELP', 12, 24, 35, 7, 0, 6, 7, 100, 75,
196, 122, 7, 1, 1, 130, 60, 5, 2.5, 120, 132, 5, 'WORLDSIZE_ATLAS');
I activate the mod and create a new game. In the World Size menu, there should be 2 entries named Huge, the 2nd one being the one I created, but there isn't...

What am I doing wrong???