Why, oh Why isnt there a mod for this?

Sir Betti

Chieftain
Joined
Sep 24, 2010
Messages
53
Have been playing the "Yet another Earth Mod" that really enlarges to map to beyond huge proportions. But, getting a little tired of the familiar continents layout. Why is there not a Map script to allow random beyond huge map creation?

Yes, it slows down end game but there are a few computers that can handle that. If one could change game files, where and how and what would one dl to open such a file?
 
I am jealous if you have the system to handle such a game. I can barely handle a large map.
 
The max map size is 131,044 hexes, or 362 by 362 hexes. You can modify that and get something like a 255 x 510 map, but no map can have over 131,044 hexes. That is unfortunate, as to get a better amount of scale I would like a map about 100 times larger. Then one can simulate urban sprawl and so on.

Even a low-end system should be able to handle such a map. CiV though has such a poorly coded engine that anything short of a supercomputer would die and explode with my (dream) map size.
 
The max map size is 131,044 hexes, or 362 by 362 hexes. You can modify that and get something like a 255 x 510 map, but no map can have over 131,044 hexes. That is unfortunate, as to get a better amount of scale I would like a map about 100 times larger. Then one can simulate urban sprawl and so on.

Even a low-end system should be able to handle such a map. CiV though has such a poorly coded engine that anything short of a supercomputer would die and explode with my (dream) map size.

Thanks! Now please tell me/us how to go about the process of doing it. What folder is the proper file in, what program to use to open such a folder if any, what obscure parts would one need to modify? And who out there might develop a map script for such as players as myself?
 
The max map size is 131,044 hexes, or 362 by 362 hexes. You can modify that and get something like a 255 x 510 map, but no map can have over 131,044 hexes. That is unfortunate, as to get a better amount of scale I would like a map about 100 times larger. Then one can simulate urban sprawl and so on.

Even a low-end system should be able to handle such a map. CiV though has such a poorly coded engine that anything short of a supercomputer would die and explode with my (dream) map size.

Why is that the max size? Can the code be changed?
 
The max map size is 131,044 hexes, or 362 by 362 hexes. You can modify that and get something like a 255 x 510 map, but no map can have over 131,044 hexes. That is unfortunate, as to get a better amount of scale I would like a map about 100 times larger. Then one can simulate urban sprawl and so on.

Even a low-end system should be able to handle such a map. CiV though has such a poorly coded engine that anything short of a supercomputer would die and explode with my (dream) map size.

so you manage to launch map larger than 186x96 ? :confused:

edit: there was a thread discussing how to change some script map size, but I can't find it.

basically you can make a mod using a copy of normal script map, some of them have the size encoded in the script like that:

Code:
function GetMapInitData(worldSize)
	-- This function can reset map grid sizes or world wrap settings.
	--
	-- Lakes is a world without oceans, so use grid sizes two levels below normal.
	local worldsizes = {
		[GameInfo.Worlds.WORLDSIZE_DUEL.ID] = {52, 32},
		[GameInfo.Worlds.WORLDSIZE_TINY.ID] = {64, 40},
		[GameInfo.Worlds.WORLDSIZE_SMALL.ID] = {84, 52},
		[GameInfo.Worlds.WORLDSIZE_STANDARD.ID] = {104, 64},
		[GameInfo.Worlds.WORLDSIZE_LARGE.ID] = {128, 80},
		[GameInfo.Worlds.WORLDSIZE_HUGE.ID] = {152, 96}
		}
	local grid_size = worldsizes[worldSize];
	--
	local world = GameInfo.Worlds[worldSize];
	if(world ~= nil) then
	return {
		Width = grid_size[1],
		Height = grid_size[2],
		WrapX = true,
	};      
     end
end

that's from the terra script, note that large use the normal huge size (128x80), and huge is even bigger.
 
Have been playing the "Yet another Earth Mod" that really enlarges to map to beyond huge proportions. But, getting a little tired of the familiar continents layout. Why is there not a Map script to allow random beyond huge map creation?

Yes, it slows down end game but there are a few computers that can handle that. If one could change game files, where and how and what would one dl to open such a file?

Do you have a link for this Earth mod please.
 
Thank you kindly, But if the script that show map sizes is a LUA script, I cannot open it nor find a link online that shows any program that is able to open it. And is this something to have to do each time one starts a game?

What I understand is that if I change the "huge" setting to one of my own settings the game generates the map from there in a normal way? For instance 200x100. Is it that easy?

The fellow that has made the "Yet not another earth map", would you or anyone familiar with modifying map size please respond with some pointers? I would really appreciate any more info on how to go about this.
 
Perhaps you should try this question in the "Creation & Customization" part of the forum? Changing map scripts is one of the subforums there, and editing Lua scripts and XML files to make mods is the sort of thing they are likely to discuss. And they will have links to tutorials and wiki pages on how to do this.
 
Yeah i'm running an i5-2500k and 8 GB RAM (not incredible but it's a pretty solid gaming build.) with a 4870, and I get gratuitous late game lag even on a standard map size. 10-15 seconds between turns at times, if somebody is fielding a large army. ouch.

I've always assumed it's just poor optimization because I can run most any other game at high+ settings smoothly, even during action sequences.
 
Thank you kindly, But if the script that show map sizes is a LUA script, I cannot open it nor find a link online that shows any program that is able to open it. And is this something to have to do each time one starts a game?

What I understand is that if I change the "huge" setting to one of my own settings the game generates the map from there in a normal way? For instance 200x100. Is it that easy?

The fellow that has made the "Yet not another earth map", would you or anyone familiar with modifying map size please respond with some pointers? I would really appreciate any more info on how to go about this.
Lua file can be opened with any text editor, like notepad.

What I would suggest if you want to make a quick try without making a mod or editing the base file is to copy the lua script you want to test from the "..\Steam\steamapps\common\sid meier's civilization v\Assets\Maps" folder to "\My Documents\My Games\Sid Meier's Civilization 5\Maps", rename it to something else, open it with notepad, find GetMapScriptInfo(), in that function replace the text between double quote starting with "TXT_KEY_MAP_" next to name by something else (like "My Test Mapscript") so you can recognize it from the original, then change the value in the GetMapInitData(worldSize) to your liking (the size is in the form {x, y}, AFAIK x > 184 or y > 96 will crash the game on loading).

If the function GetMapInitData(worldSize) does not exist, copy it after the end of the function GetMapScriptInfo(), here is the terra one as an example:
Spoiler :
Code:
function GetMapInitData(worldSize)
	-- This function can reset map grid sizes or world wrap settings.
	local worldsizes = {
		[GameInfo.Worlds.WORLDSIZE_DUEL.ID] = {52, 32},
		[GameInfo.Worlds.WORLDSIZE_TINY.ID] = {64, 40},
		[GameInfo.Worlds.WORLDSIZE_SMALL.ID] = {84, 52},
		[GameInfo.Worlds.WORLDSIZE_STANDARD.ID] = {104, 64},
		[GameInfo.Worlds.WORLDSIZE_LARGE.ID] = {128, 80},
		[GameInfo.Worlds.WORLDSIZE_HUGE.ID] = {152, 96}
		}
	local grid_size = worldsizes[worldSize];
	--
	local world = GameInfo.Worlds[worldSize];
	if(world ~= nil) then
	return {
		Width = grid_size[1],
		Height = grid_size[2],
		WrapX = true,
	};      
     end
end

Yeah i'm running an i5-2500k and 8 GB RAM (not incredible but it's a pretty solid gaming build.) with a 4870, and I get gratuitous late game lag even on a standard map size. 10-15 seconds between turns at times, if somebody is fielding a large army. ouch.

I've always assumed it's just poor optimization because I can run most any other game at high+ settings smoothly, even during action sequences.

note necessarily a bad optimization, just imagine a chess game with not a 64 cases board but a 10240 cases board, not with 2 players but 36, etc...
 
Just to note, AssignStartingPlots.lua handles the resource generation and if you add a new map size you will also need to edit this file in the 4 or 5 relevent functions.
 
the original mapscripts changing the default size does not need that :think:

I'm using a modified version of continentplus without having changed assignstartingplots, what the problem if I don't ? resources numbers ?
 
I'm using a modified version of continentplus without having changed assignstartingplots, what the problem if I don't ? resources numbers ?

Correct. Bigger maps without changing assignstartingbplots will notice sparser resources. Luxury/Strategic mainly, fish possibly too.
 
Wow! Thank you for the info. It seems scary to probe around in these files,...would anyone with the knowhow make up a larger than "huge" map of random continents as about the size of the "Yet not another earth map" so those of us who want to could copy paste into the correct location?

Or better yet, could we get a mapscript mod for this request?
 
131,044 is the maximum theoretical map size permitted by the engine, not the maximum map size that a mapscript will use. You'd have to make a map that big by hand, unless you find some automated way of making world builder maps.
 
Back
Top Bottom