Optional
Deity
This small tutorial is meant to show you how you can edit your PangaeaPlus or ContinentsPlus mapscript to deliver a normal City State placement.
Firaxis' mapscripts make sure the CS's get placed on the islands, but players mostly like these scripts for the added islands, not for the insular City State placement.
This can be helped! By deleting the part of the mapscript that deals with CS placement you will make the game fall back on generic CS placement.
If you do anything to a mapscript, it's best to first backup the original. Actually, you don't even need to touch the original. You can just copy it, then edit it, and put the edited version next to your original mapscript. Under a new name, of course, to prevent overwriting and for you and the game to tell the edited version apart from the original.
I cannot upload my own edited script here, that would be the easiest thing to do, but then you can play these mapscripts without having the Explorers map pack and this would constitute a legal issue. So you need to do your own editing.
Where can I find the original script?
The PangaeaPlus and ContinentsPlus mapscripts can be found in C:\program files\steam\steamapps\common\sid meier's civilization v\assets\DLC\DLC_SP_Maps\Maps
Alternative way of finding them is simply use the search function on your comp. That's probably easier with such a long file path.
If you have found the file, you can open it with a simple text editing program like notepad. Best make a copy of the file, rename it, only then start to edit.
How to edit it?
You need to look for the bit you need to cut out. It's way down the file, almost at the bottom. Look for this bit:
It's not the 'function AddFeatures()' bit you need to cut out, it's where that bit ends you start to cut. I only included it here to help you find the bit you want. You can start cutting between the two dotted lines you see in the above bit.
It's a long bit you need to remove, all the way until the next dotted line:
The word 'end' is the last bit you'll cut out.
Cutting this out is a matter of scrolling down with the left mouse bit pushed down and the 'Ctrl' pushed in at the same time to select it all. Then right click with the mouse to bring up the 'cut' command.
For both mapscripts it's very much the same procedure.
To make sure your edited mapscript has a unique name in-game, it is also recommendable to make an edit right at the top of the mapscript, where the in-game name gets determined:
The purple bit is the bit you need to change to give the map a unique name in-game, different from the original PangaeaPlus.
If you then rename your edited text files to, for example, 'ContinentsPlusEdit' or 'PangaeaPlusEdit', and you would put these together with the original ones, they would be selectable in-game and you can play Continents and Pangaea with island chains, but with normal CS placement!
Firaxis' mapscripts make sure the CS's get placed on the islands, but players mostly like these scripts for the added islands, not for the insular City State placement.
This can be helped! By deleting the part of the mapscript that deals with CS placement you will make the game fall back on generic CS placement.
If you do anything to a mapscript, it's best to first backup the original. Actually, you don't even need to touch the original. You can just copy it, then edit it, and put the edited version next to your original mapscript. Under a new name, of course, to prevent overwriting and for you and the game to tell the edited version apart from the original.
I cannot upload my own edited script here, that would be the easiest thing to do, but then you can play these mapscripts without having the Explorers map pack and this would constitute a legal issue. So you need to do your own editing.
Where can I find the original script?
The PangaeaPlus and ContinentsPlus mapscripts can be found in C:\program files\steam\steamapps\common\sid meier's civilization v\assets\DLC\DLC_SP_Maps\Maps
Alternative way of finding them is simply use the search function on your comp. That's probably easier with such a long file path.
If you have found the file, you can open it with a simple text editing program like notepad. Best make a copy of the file, rename it, only then start to edit.
How to edit it?
You need to look for the bit you need to cut out. It's way down the file, almost at the bottom. Look for this bit:
Code:
-----------------------------------------------------------------------------
function AddFeatures()
print("Adding Features (Lua Continents) ...");
-- Get Rainfall setting input by user.
local rain = Map.GetCustomOption(3)
if rain == 4 then
rain = 1 + Map.Rand(3, "Random Rainfall - Lua");
end
local args = {rainfall = rain}
local featuregen = FeatureGenerator.Create(args);
featuregen:AddFeatures();
end
------------------------------------------------------------------------------
------------------------------------------------------------------------------
function AssignStartingPlots:AssignCityStatesToRegionsOrToUninhabited(args)
-- Assign all city states away from the main continent.
It's a long bit you need to remove, all the way until the next dotted line:
Code:
end
------------------------------------------------------------------------------
function StartPlotSystem()
Cutting this out is a matter of scrolling down with the left mouse bit pushed down and the 'Ctrl' pushed in at the same time to select it all. Then right click with the mouse to bring up the 'cut' command.
For both mapscripts it's very much the same procedure.
To make sure your edited mapscript has a unique name in-game, it is also recommendable to make an edit right at the top of the mapscript, where the in-game name gets determined:
Code:
------------------------------------------------------------------------------
function GetMapScriptInfo()
local world_age, temperature, rainfall, sea_level, resources = GetCoreMapOptions()
return {
Name = "[COLOR="Purple"]TXT_KEY_MAP_PANGAEA_PLUS[/color]",
Description = "TXT_KEY_MAP_PANGAEA_PLUS_HELP",
IsAdvancedMap = false,
IconIndex = 0,
If you then rename your edited text files to, for example, 'ContinentsPlusEdit' or 'PangaeaPlusEdit', and you would put these together with the original ones, they would be selectable in-game and you can play Continents and Pangaea with island chains, but with normal CS placement!