YnAMP - Yet (not) Another Maps Pack

YnAMP - Development thread Civ6

Possible bug due to spelling mistake.

GreatestEarthMap/Map.xml
Line 100
CIVILIZATION_CAP_TOWN
instead of
CIVILIZATION_CAPE_TOWN

I don't know where to submit these possible bugs, so here seems as
good a place as any.

Thanks. Corrected it with Notepad++

It's line 101, actually.
 
Possible bug due to spelling mistake.

GreatestEarthMap/Map.xml
Line 100
CIVILIZATION_CAP_TOWN
instead of
CIVILIZATION_CAPE_TOWN

I don't know where to submit these possible bugs, so here seems as
good a place as any.
Thanks.

It's easier for me to track bugs from the Bug Reports subforum, but a simple report like this one that doesn't require an answer or providing support can go here.

Fixed on GitHub. Also, the best place to report would probably still be in the bug report forum, but no harm done nonetheless.
Thanks, merged and GitHub updated with my current changes for next version too
Code:
- Remove Barbarian scout from the map until turn 7 (can be changed in advanced setup)
- Ludicrous Size (temporary ?) changed from 230x115 to 200x100 for Summer Patch (the Largest Earth is still at 230x116 and won't load on most PC)
- Fix City Name position for alternate Capitals on Greatest Earth and Largest Earth that were registered for Giant Earth (causing duplicate names on Giant Earth)
- Add Auckland, Antananarivo, Armagh, Granada, Muscat, Palenque positions on Greatest Earth Map
- Fix for Culturally linked start when the game can't attribute a starting position to a Civilization(too many civs for a map)
 
i opened the World Builder and was able to load the Giant Map into the WB...and was able to make some changes to Terrain and resources...and tried to start the game with my new custom map based on the Giant Earth Map...but what i have to do now ? Because ingame my changes are not there. i just want to make some small changes to the map and then use it for personal use...thanks for any help
 
i opened the World Builder and was able to load the Giant Map into the WB...and was able to make some changes to Terrain and resources...and tried to start the game with my new custom map based on the Giant Earth Map...but what i have to do now ? Because ingame my changes are not there. i just want to make some small changes to the map and then use it for personal use...thanks for any help
I've not tried to load civ6 saved map, so I won't be able to help if it's what you try to do (but there is a template mod available IIRC)

If you don't have a lot of changes to do, you can follow those instructions.

If you want to save your changes from the worldbuilder to the YnAMP Giant Map, that would be a bit more complex, I still need to write a tutorial on how to convert/ create a map script for YnAMP, but here is the part to replace an existing map of the same size:

Basically, after having loaded the Giant Earth and edited the part you want, you'll have to run the code below to export the civ6 map data while in the WB using firetuner (from GameCore_Tuner lua context or a mod's gameplayscript context)

Code:
    local iPlotCount = Map.GetPlotCount();
    for iPlotLoop = 0, iPlotCount-1, 1 do
        local bData = false
        local plot = Map.GetPlotByIndex(iPlotLoop)
        local NEOfCliff = 0
        local WOfCliff = 0
        local NWOfCliff = 0
        if plot:IsNEOfCliff() then NEOfCliff = 1 end
        if plot:IsWOfCliff() then WOfCliff = 1 end
        if plot:IsNWOfCliff() then NWOfCliff = 1 end
        local NEOfRiver = 0
        local WOfRiver = 0
        local NWOfRiver = 0
        if plot:IsNEOfRiver() then NEOfRiver = 1 end -- GetRiverSWFlowDirection()
        if plot:IsWOfRiver() then WOfRiver = 1 end -- GetRiverEFlowDirection()
        if plot:IsNWOfRiver() then NWOfRiver = 1 end -- GetRiverSEFlowDirection()
        print("MapToConvert["..plot:GetX().."]["..plot:GetY().."]={"..plot:GetTerrainType()..","..plot:GetFeatureType()..","..plot:GetContinentType()..",{{"..NEOfRiver..","..plot:GetRiverSWFlowDirection().. "},{"..WOfRiver..","..plot:GetRiverEFlowDirection().."},{"..NWOfRiver..","..plot:GetRiverSEFlowDirection().."}},{"..plot:GetResourceType(-1)..","..tostring(1).."},{"..NEOfCliff..","..WOfCliff..","..NWOfCliff.."}}")
    end

Then replace all the lines in GiantEarth.lua looking like that
Code:
MapToConvert[179][93]={4,0,-1,1,{{0,-1},{0,-1},{0,-1}},{-1,0}}
by the similar code generated in the Lua.log (removing all the text before "MapToConvert" on each line, I use Notepad++ to select everything before using Alt+Shift)

Edit: you could also directly edit the lines in the GiantEarth.lua, following the format
Code:
MapToConvert[x][y] = {civ6TerrainType, civ6FeatureTypes, civ6ContinentType, {{IsNEOfRiver, flowType}, {IsWOfRiver, flowType}, {IsNWOfRiver, flowType}}, {Civ6ResourceType, num}, {IsNEOfCliff, IsWOfCliff, IsNWOfCliff} }
 
Last edited:
The freezes I encounter between turns are half-freezes, since the music continues and the cursor is moving when shoving my mouse around.

Until now haven't experienced any freezes when loading a save. I need to load saves quite regularly since I still lose partial sound after having roamed around Greenland.

The long loads between turns are completely random. I started some 15 new games in the past 12 hours, doing around 30 turns in each and whatever settings I use, it's hit and miss. Five out of fifteen games had the long loads between turns, the other ten games had around 20 seconds between turns.

Then I added some more mods and I was screwed. Took over ten minutes for the game to start after Mr. Bean's talk and my beard grew two millimeter between each turn. Had a shave and did away with the newly added mods and all was fine again.

I am now getting regular freezes within the first 30 turns with the
github version (Beta6) of Largest Earth, ludicrous size.

The Beta5 version works beautifully; all civs (including Nubia); no
barbarians. Only mods are Add-Ons: specifically Closer Cities, Dover
Cliffs, More CS for World, and Resources Tweak.

I don't have music on nor Bean's narration. Both annoy me.
 
@Gedemon thanks it is solved !!! THank you very much i used the TZ template found in the thread "how to Launch the ingame Worldbuilder" in the comments section
 
I've noticed one strange issue on the LargestEarth ludicrous size maps.

Several times with Beta5 and Beta 6 there were enormous quantities of diamonds
on Indian or other South East Asian rainforest tiles.

For example, nearly all rainforest tiles in the lower part of India had diamonds.
Surely that is not working as intended?

Screenshots available if that would help.
 
I am sure this has been asked before, but I am unable to find it in the 100 pages of discussion; which maps support TSL for which civs? That is, (for example) which Civs have TSLs for the Play Europe Again? Same with the other maps besides the entire Earth map. I am curious, so I can do some set up for the proper Civ on the maps. Also, might it be possible to shoehorn in some rainforest on the Europe map, so wonders like Chichen Itza can be built.

If this has been posted, just send a link or PM.

Thank you for the great maps,
W
 
I am sure this has been asked before, but I am unable to find it in the 100 pages of discussion; which maps support TSL for which civs? That is, (for example) which Civs have TSLs for the Play Europe Again? Same with the other maps besides the entire Earth map. I am curious, so I can do some set up for the proper Civ on the maps. Also, might it be possible to shoehorn in some rainforest on the Europe map, so wonders like Chichen Itza can be built.

If this has been posted, just send a link or PM.

Thank you for the great maps,
W
see https://forums.civfanatics.com/threads/play-europe-again.619066/

and the other map's specific threads in the YnAMP forum
 
I must admit TSL for every map would be great
yes all of us can try to do it by themselves according to the procedure above but this is something I won't do to avoid any corruption of my files
 
It would be great yes.

Won't be done by me alone, it's time consuming and I prefer to spend it on my other mods until they're polished enough to give me the motivation to actually play the game...

But that's something that could be done collectively, for example if you're afraid to modify your files (even if technically you don't need to modify any file, just add one), just start by a few civs, post the code in one of the map's thread and ask for people to try it, I hope that if there is enough interest in those maps you'll get answer/help, but someone need to start.
 
What are the chances of getting a scenario pack to YnAMP similar to civ 5 with the world and all its leaders? can you make air craft upgrades?
 
Is it even possible to create scenarios at the moment? I was under the impression it was not.
 
It's planned with the 60+ simple civs mod.
 
General question: which features are you expecting from a terra map script?
 
New update on gitHub
Code:
- Add a kind of Terra Map script
- Fix typo in Resource.xml (RESOURCE_WHALES)
- Allow 62 players in hotseat

Let me know if it works, and I'll update the CFC and Steam version, TIA :)

edit: the starting position are not specific to a terra map yet, I need to code that...
 
New update on gitHub
Code:
- Add a kind of Terra Map script
- Fix typo in Resource.xml (RESOURCE_WHALES)
- Allow 62 players in hotseat

Let me know if it works, and I'll update the CFC and Steam version, TIA :)

edit: the starting position are not specific to a terra map yet, I need to code that...

Terra (ludicrous size) loads and plays Ok under Win7.
It also works with the Linux Civ6 version (released yesterday) under Linux
Mint 17.3, after a few changes to the .lua files that have been outlined
elsewhere on cfc.

I did notice a few glitches in the Win 7 version.

No Wonders are created (but that might be deliberate).

Sometimes, when choosing abundant resources, no luxuries were created.
Standard luxuries works fine.
 
Back
Top Bottom