• Civ7 is already available! Happy playing :).

World Builder - Natural Wonders & DLC City-states

BlackEmperor

Chieftain
Joined
Jan 7, 2017
Messages
82
Hello,

I've been creating a map using the World Builder and so far, most things work.
I have problems with a few things though and hope someone can help me.
Firstly, I have problems with some Natural Wonders. In particular, Torres del Paine and Great Barrier Reef. While I can place Torres del Paine on the map, once I save and reload the map or start a game, it is gone for some reason. My problem with Great Barrier Reef is that I can't place it at all. When I started my map, I was able to place it on a coastal area, but it disappeared after I put a river too close to it and now I can't place it anywhere at all. Does anyone know what's wrong?
Finally, all DLC Natural Wonders don't appear in the game where I have placed them. Is there a limit on how many Natural Wonders can appear on the map? I'm using the Larger Worlds mod and used the Enormous map as a base, which has 8 Natural Wonders defined, but 10 of those I've placed appear in the game, so the limit is exceeded.

My seond problem is about the DLC city-states. Once I place one on the map, for example Auckland, the game crashes when starting a game on the map. Are they not supported?
 
Small update here.

I tinkered around myself and found a fix for Torres del Paine and Great Barrier Reef.
Torres del Paine disappeared because of a hill tile that bordered both tiles to the north. I put it there because the wonder would always be built diagonally instead of horizontally and the hill aligned the wonder correctly, but once I saved the wonder simply disappeared. I took a look at Features.xml and saw that the wonder can't be adjacent to a mountain tile, so I turned the hill tile in question back into flat land and instead put a mountain tile that bordered the flat tile to the north. This prevented Torres del Paine from turning itself diagonally and it stayed horizontal.

The problem Great Barrier Reef and also the Galapagos Islands had was ice. They may not be "near" these features, with "near" being defined by the map size. I don't know if it's because of the map size I use being modded, but somehow, removing all ice from the southern hemisphere suddenly allowed me to place both wonders in most of the southern hemisphere, but once I got close to the equator I couldn't place it anymore. Removing all ice from the northern hemisphere allowed me to place both wonders practically anywhere their other requirements were met. If someone has similar problems with either of these wonders, try placing them before you place any ice on the map.

EDIT: It seems like placing ice again causes Great Barrier Reef to disappear. The Galapagos Islands stay, however.

The DLC wonders still don't appear and the DLC city-states still crash the game, though. It's not a matter of too many city-states being on the map, since replacing them with non-DLC city-states fixes the crash. I'm pretty sure it's because they're, well, DLC and not in the base vanilla game. But it would be nice to know how to enable them. YnAMP for example shows them ingame, but I have no idea how to do it.
 
Last edited:
YnAMP is using scripts to load the maps, which allows better control on when the features are placed during the map generation, while the civ6map are loaded using the game engine in a strict order with strict rules.
 
So in order to get the natural wonders from DLC, I'd have to create a lua script that places them on set positions?

I have another question. I tried to bypass the city state problem by replacing Auckland and Muscat with Hong Kong and Amsterdam while changing both Hong Kong's and Amsterdam's suzerain bonuses to the ones of Auckland and Muscat. However, it doesn't seem to work. I created an SQL file and put the following content into it:
Code:
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId)
   VALUES ('MINOR_CIV_HONG_KONG_UNIQUE_INFLUENCE_BONUS_INDUSTRIAL', 'MODIFIER_ALL_PLAYERS_ATTACH_MODIFIER', 'PLAYER_IS_SUZERAIN'),
          ('MINOR_CIV_AMSTERDAM_AMENITIES', 'MODIFIER_PLAYER_CITIES_ADJUST_CITY_AMENITIES_FROM_CITY_STATES', 'CITY_HAS_COMMERCIAL_HUB'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_BASE', 'MODIFIER_PLAYER_ADJUST_PLOT_YIELD', 'PLOT_HAS_SHALLOW_WATER'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_INDUSTRIAL', 'MODIFIER_PLAYER_ADJUST_PLOT_YIELD', 'PLOT_HAS_SHALLOW_WATER_AND_INDUSTRIAL');

UPDATE ModifierArguments SET Value='MINOR_CIV_AMSTERDAM_AMENITIES' WHERE ModifierId='MINOR_CIV_AMSTERDAM_UNIQUE_INFLUENCE_BONUS';
UPDATE ModifierArguments SET Value='MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_BASE' WHERE ModifierId='MINOR_CIV_HONG_KONG_UNIQUE_INFLUENCE_BONUS';

INSERT INTO ModifierArguments (ModifierId, Name, Value)
   VALUES ('MINOR_CIV_AMSTERDAM_AMENITIES', 'Amount', '1'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_BASE', 'YieldType', 'YIELD_PRODUCTION'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_BASE', 'Amount', '1'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_INDUSTRIAL', 'YieldType', 'YIELD_PRODUCTION'),
          ('MINOR_CIV_HONG_KONG_SHALLOW_WATER_PRODUCTION_INDUSTRIAL', 'Amount', '1');
        
INSERT INTO Requirements (RequirementId, RequirementType)
   VALUES ('REQUIRES_CITY_HAS_COMMERCIAL_HUB', 'REQUIREMENT_CITY_HAS_DISTRICT'),
          ('REQUIRES_PLOT_HAS_SHALLOW_WATER', 'REQUIREMENT_PLOT_TERRAIN_TYPE_MATCHES'),
          ('REQUIRES_PLAYER_IS_INDUSTRIAL_ERA', 'REQUIREMENT_PLAYER_ERA_AT_LEAST');
        
INSERT INTO RequirementSets (RequirementSetId, RequirementSetType)
   VALUES ('CITY_HAS_COMMERCIAL_HUB', 'REQUIREMENTSET_TEST_ALL'),
          ('PLOT_HAS_SHALLOW_WATER', 'REQUIREMENTSET_TEST_ALL'),
          ('PLOT_HAS_SHALLOW_WATER_AND_INDUSTRIAL', 'REQUIREMENTSET_TEST_ALL');
        
INSERT INTO RequirementArguments (RequirementId, Name, Value)
   VALUES ('REQUIRES_CITY_HAS_COMMERCIAL_HUB', 'DistrictType', 'DISTRICT_COMMERCIAL_HUB'),
          ('REQUIRES_PLOT_HAS_SHALLOW_WATER', 'TerrainType', 'TERRAIN_COAST'),
          ('REQUIRES_PLAYER_IS_INDUSTRIAL_ERA', 'EraType', 'ERA_INDUSTRIAL');
        
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId)
   VALUES ('CITY_HAS_COMMERCIAL_HUB', 'REQUIRES_CITY_HAS_COMMERCIAL_HUB'),
          ('PLOT_HAS_SHALLOW_WATER', 'REQUIRES_PLOT_HAS_SHALLOW_WATER'),
          ('PLOT_HAS_SHALLOW_WATER_AND_INDUSTRIAL', 'REQUIRES_PLOT_HAS_SHALLOW_WATER'),
          ('PLOT_HAS_SHALLOW_WATER_AND_INDUSTRIAL', 'REQUIRES_PLAYER_IS_INDUSTRIAL_ERA');
I copied most of the related stuff from the VikingsLandmarks_CityStates.xml file (or rather converted it to sql format) and updated the ModifierArguments for Hong Kong' and Amsterdam's unique bonus. It's pretty much built up just as in the DLC file but yet, when I become suzerain of Hong Kong, my coastal tiles don't get any production. The database.log file doesn't contain any errors, in fact when I remove any INSERT INTO statements, I do get errors that something's missing, so that's not the problem (and it also shows why I had to add these things in the first place. The map doesn't seem to recognize the DLC stuff, once I start a standard Civ 6 Ruleset game, I get unique constraint errors). Do you know what's wrong with the code or what's missing?
 
I finally fixed it.
The problems were caused in the VikingsLandmarks.modinfo file by the <Properties><RuleSet>RULESET_STANDARD</RuleSet></Properties> entries. Since in order to load World Builder maps you have to add a new ruleset for the map (at least in the TZ method), everything from the DLC wouldn't appear or cause a crash in a modded map. Removing these entries makes everything show up correctly.
 
I finally fixed it.
The problems were caused in the VikingsLandmarks.modinfo file by the <Properties><RuleSet>RULESET_STANDARD</RuleSet></Properties> entries. Since in order to load World Builder maps you have to add a new ruleset for the map (at least in the TZ method), everything from the DLC wouldn't appear or cause a crash in a modded map. Removing these entries makes everything show up correctly.

Hi, I'm having problems with the 3 natural wonders from the Vikings Scenario Pack DLC
All other natural wonders appear properly on my custom map, but those 3 always disappear in game (they appear in World Builder).

I did delete those lines in VikingsLandmarks file but they still can't appear in game. Please help! Thanx
 
Hi, I'm having problems with the 3 natural wonders from the Vikings Scenario Pack DLC
All other natural wonders appear properly on my custom map, but those 3 always disappear in game (they appear in World Builder).

I did delete those lines in VikingsLandmarks file but they still can't appear in game. Please help! Thanx
You could try to create a new mod and put everything from the DLC there, then remove these lines from the mod files. Just make sure to change the mod ID to something else. The game might not like playing around with the vanilla DLC files.
Just deactivate that new mod whenever you don't play your map, otherwise it may cause duplicate errors (for some reason it doesn't when I play a custom map).
 
You could try to create a new mod and put everything from the DLC there, then remove these lines from the mod files. Just make sure to change the mod ID to something else. The game might not like playing around with the vanilla DLC files.
Just deactivate that new mod whenever you don't play your map, otherwise it may cause duplicate errors (for some reason it doesn't when I play a custom map).

It worked! :hug:
8C8mO9C.jpg

I also added [ICON_Culture] and [ICON_Food] for the text of Eyjafjallajökull :D
MEVOatR.jpg

I disabled the real DLC and enable only the mod. Will there be any problem? :thumbsup:
 
Last edited:
Great that it works for you!
I don't know if there will be any problems. I suppose not if you copied really everything over, but I can't guarantee.
 
Top Bottom