[GS] How to add parameters to your created map?

JordiTK

Chieftain
Joined
Feb 28, 2019
Messages
3
I made a True Start Location map, and all civilizations spawn at their desired locations. However, civilizations that weren't supposed to be playable, like Canada and America, can still be selected when starting a game on this map. The map size, resources, water level etc. can also be adjusted for some reason, even though they have no impact on the map because it's premade.

How can I add fixed parameters to my map like TSL Europe has? When selecting that map, you cannot choose any non-European civilizations and cannot adjust the map size, resources, water level etc. This is what I would like as well.
 
I just made a xml-file with the following lines, equal to the xml-files of Firaxis' TSL maps, but it doesn't seem to do anything:

<GameInfo>
<Maps>
<Row Domain="Maps:Expansion2Maps" File="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map" Name="testEMEA" Description="testEMEAdesc" SortIndex="240"/>
<Row Domain="Maps:Expansion2Maps" File="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" Name="testEMEA_TSL" Description="testEMEA_TSLdesc" RequiresUniqueLeaders="1" SortIndex="250"/>
</Maps>
<MapSizes>
<Row Domain="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map" MapSizeType="MAPSIZE_STANDARD" Name="LOC_MAPSIZE_STANDARD_NAME" Description="LOC_MAPSIZE_STANDARD_DESCRIPTION" MinPlayers="2" MaxPlayers ="16" DefaultPlayers="8" MinCityStates="0" MaxCityStates="12" DefaultCityStates="10" SortIndex="10"/>
<Row Domain="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" MapSizeType="MAPSIZE_STANDARD" Name="LOC_MAPSIZE_STANDARD_NAME" Description="LOC_MAPSIZE_STANDARD_DESCRIPTION" MinPlayers="2" MaxPlayers ="16" DefaultPlayers="8" MinCityStates="12" MaxCityStates="12" DefaultCityStates="12" SortIndex="10"/>
</MapSizes>
<MapDomainOverrides>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map" ParameterId="MapSize" Domain="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map"/>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" ParameterId="MapSize" Domain="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map"/>
</MapDomainOverrides>
<!--Only applies to TSL-->
<MapLeaders>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" LeaderType="RANDOM"/>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" LeaderType="LEADER_ALEXANDER"/>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" LeaderType="LEADER_AMANITORE"/>
...
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" LeaderType="LEADER_ELEANOR_ENGLAND"/>
<Row Map="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map" LeaderType="LEADER_DIDO"/>
</MapLeaders>
<ParameterDependencies>
<Row ParameterId="Resources" ConfigurationGroup="Map" ConfigurationId="MAP_SCRIPT" Operator="NotEquals" ConfigurationValue="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map"/>
<Row ParameterId="StartPosition" ConfigurationGroup="Map" ConfigurationId="MAP_SCRIPT" Operator="NotEquals" ConfigurationValue="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA.Civ6Map"/>
<Row ParameterId="Resources" ConfigurationGroup="Map" ConfigurationId="MAP_SCRIPT" Operator="NotEquals" ConfigurationValue="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map"/>
<Row ParameterId="StartPosition" ConfigurationGroup="Map" ConfigurationId="MAP_SCRIPT" Operator="NotEquals" ConfigurationValue="{05c1a3ea-bc64-46a1-9565-2c30ead0bd37}Maps/EMEA_TSL.Civ6Map"/>
</ParameterDependencies>
</GameInfo>


And this is the modinfo file:

<Mod id="05c1a3ea-bc64-46a1-9565-2c30ead0bd37" version="1">
<Properties>
<Name>Europe, Middle East and Africa</Name>
<Description>...</Description>
<CustomProperties></CustomProperties>
<Teaser>...</Teaser>
<Authors>JordiTK</Authors>
</Properties>
<FrontEndActions>
<AddWorldBuilderMap id="AddEMEA_TSL">
<Properties>
<Description>...</Description>
<Group>Maps:Expansion2Maps</Group>
<Name>...</Name>
</Properties>
<File priority="1">Maps/EMEA_TSL.Civ6Map</File>
</AddWorldBuilderMap>
<AddWorldBuilderMap id="AddEMEA">
<Properties>
<Description>...</Description>
<Group>Maps:Expansion2Maps</Group>
<Name>...</Name>
</Properties>
<File priority="1">Maps/EMEA.Civ6Map</File>
</AddWorldBuilderMap>
<UpdateDatabase id="UseDefaultSettings">
<File>DefaultSettings.xml</File>
</UpdateDatabase>
</FrontEndActions>
<Files>
<File>DefaultSettings.xml</File>
<File>Maps/EMEA.Civ6Map</File>
<File>Maps/EMEA_TSL.Civ6Map</File>
</Files>
</Mod>

Help??? Please?
 
Back
Top Bottom