Setup Screen:
- allows YnAMP to use parts of the GamePlay Database in the Setup Screen after launching an initial game (needed for some of the new options below)
- add a "Load Database" button on the Setup Screen to launch a quick game in 2D mode and return to Main Menu
- add a "Ban Leaders for Random Slots" option to set a list of Leaders that will not be selected to fill a random slot. You can still pick them manually for the human or the AI (SP only ATM)
- add "only civilization/CityStates with TSL" option for YnAMP maps with TSL, requires the GamePlay Database to be loaded once.
- add options to chose how to handle the City State selection: fully random, selection+random, only selection, exclusion list
- display the map section dimension when selecting a sub-region of the Giant Earth or the Largest Earth Custom
- add warnings and validation report tool tip on the Setup Screen and lock the Start button in some cases (that can be bypassed by clicking an "ignore" button)
- keep in memory the states of the CityStates selection and Banned Leaders selection even when the option is hidden (note that this is not saved with a configuration file for City States)
- override the GameCore random Civilization/CS selection in all cases by assigning a random Civilization to each open plots using the current setting (duplicate allowed or not, TSL only, etc...)
- add a slider to quickly change the number of Major Civilizations, to prevent UI lag the setting is applied on the next click on the add(+) or remove (x) buttons.
- add some tooltip descriptions to the setup option
- add back the pull down menu for map selection (so much faster), still keeping the button for the detailed screen in case anyone prefer to use it
- raise the max number of players to the absolute maximum of 62 (was 60 for safety)
- bug fix: in some cases a City State Leader was able to be initialized as a Major Civilization Leader
Scenario Generator:
- add a "Minimum City Separation" setting for the Scenario Generator, to spread larger Empire on the map
- add a Southern/Northern Latitude XML setting for City placement for the Scenario Generator on World Maps (or cropped World Maps)
- add a config option to hide a scenario made to be used with a CityMap when selecting a Map without the "Auto City Naming" option
- add a way to preset the general settings of a scenario in the <ScenarioCivilizations> table that will be applied to all Civilizations that don't have their own preset
- detect when a TSL is an alternate start position (and allow auto-renaming in that case), else prevent renaming to use the capital city name
- add and code ExploreAll and MeetAll parameters in <ScenarioCivilizations> table
- add and code Improvement placement parameters in <ScenarioCivilizations> table (fixed number or per city size with ratio and max range from city)
- move YnAMP scenarios config and gameplay to separate files
- bug fix: sometime player:GetCities():Create() can fail when there is a feature on a plot, so manually remove features (except NW) before trying to place a city for Scenarios
- multiple small bug fixes
City Map:
- add Pacific Island section thanks to Mobfire
- add a few names to fill small holes on Giant Earth Map thanks to SeelingCat
- add a few cities needed for Scenario placement with custom modern Civilizations
- fix a few tag names that were using locale name instead of <en_US> (ie "LOC_CITY_NAME_MILANO" now changed to "LOC_CITY_NAME_MILAN") so that City Names from Civilization list can found a match in City Map (those that were corrected were also changed in <ko_KOR>, <pl_PL> and <zh_Hans_CN> localization tables)
- changed a few entries that were using multiple rows with Area=0 for the same city where a single Area=1 would have been enough for auto-naming, allowing a better precision for Scenario placement using the CityMap
- add function to show all the generic names available on a map from the CityMap. To use, load the map in WorldBuilder mode, launch the tuner, go in "WorldBuilderPlotEditor" context and enter "Start()" (without the quotes) in the command line
- bug fix: two entries in the "Play Europe Again" CityMap had managed to set Area = NULL, that was not expected in the code.
- bug fix: use the correct offset when using sections of the largest Earth Map with the GiantEarth Database as reference
Translation:
- added Polish translation, thanks to gitHub user 1e00
- fix a missing tag in ConfigText_ko_KR.xml
General:
- correct a few typo in text files
- add a 'MapScript' column in <StartPosition>, <CityMap> and <ScenarioCivilizations> tables. Those are used to override existing entries when a map reference DB (aka "MapName" like the "GiantEarth" DB used for "Giant Earth Map", "Terra Map" and "Largest Earth Map") is not valid for a specific plot (for example when trying to determine the relative position of a plot on the LargestEarthMap.lua script with the GiantEarth as reference in a region that was heavily modified after the upscale thanks to @Hormigas great work to make good use of the new dimensions)
- clean unnecessary output to the Lua.log (don't worry, the scenario generator still spam a lot)
- format some output to the Lua.log for easier reading
- add Map Statistics in the lua.log when entering a game (all maps, not just YnAMP's)
- remove the MainMenu override as I've realized we can change Logos and intro Movies for Scenarios with the Database since the September patch
WorldBuilder
- restore the "Restart" button in WorldBuilder.
- activate some Game parameters on the WorldBuilder Setup Screen to load a scenario test faster
Modding:
- add a query to QueryParameters so that filtering unsupported DomainValues in the Setup Screen can be used with MapScript
- add a check to allow a setup parameter to be dependent of a Mod/DLC
Compatibility
- while still not technically compatible with "Sukritact's Civ Selection Screen", YnAMP now include its own AdvancedSetup.xml which should fix the broken Setup Screen by correctly overriding Sukritact's version.
Giant Earth Map:
- add new preset sections: "Africa", "Large Asia", "South-East Asia", "Pacific"
- add alternate start positions for Russia (Vladivostok), Canada (Vancouver) to allow using those Civilizations on more sections of the map (America is already set to use San Francisco in some cases)
Largest Earth Map:
- add all preset sections that are also available for the Giant Earth Map
- add missing river section above Saint Petersburg
- change one plot from Mountain to Hills to allow the placement of Anadyr (Eastern Russia) for scenarios.
Greatest Earth Map:
- hide the AutoCityNaming option as it's still a very early W.I.P. on that map and would mislead users to use it with scenarios requiring a near-complete CityMap.
- bug fix: use the "CONTINENT_EUROPE" type instead of its ID (that seems to have been changed by the game at some point)
Terra Map:
- add "TSL Replacement Range" option to prevent Civilization to be placed too far from their relative TSL
- add "More Land around TSL" option to raise the probability of land in the area of the relative TSL of the active Civilizations
- add "Real Land/Sea Blending" option to blend the real world shape over the selected scripts
- add "Allows Island" option that can be unchecked to prevent the islands generated between the Old and New World so it can't be discovered before Oceanic Travel is researched.
- add multiple new parameters for the Fractal function, allowing the selected scripts to use different values based on map sizes, to lower the occurrences when the script was generating extremely rifted areas where a continent was expected.
- add description to the various custom scripts
- tweak 2:1 map sizes to be relative to the Giant Earth map for better rescaling
- bug fix: don't prevent a Civilization to be placed because another Civilization is too close when TSL are used (but still don't allow placement under the minimum city distance)
- use the Giant Earth Map table instead of the Largest Earth, as we use also the Giant Earth Map database for TSL and NW.
- add option to remove the asymmetric limit for Tundra/Snow latitude and use the default map generator value
- add option to remove the north/south landmass buffer preventing land tiles blocking circumnavigation
- add options to import the reference map Terrain types and Features types where possible