[SDK MOD} More Map Sizes

Ive been away for awhile awaiting the sdk to make this mod the best that it could be. I have sucessfully tested the the Xhuge and Giant Mod with some changes in the sdk on the terra map. I will be adding an additional six map sizes. With the possibilty of increasing the max number of civs that can be played at one time. The current number is 18. :goodjob:
 
dlordmagic said:
To all would be Map Scripters, I have found out something interesting while trying to make my version 1 mod compatible with all map types. There is a limited number of map sizes which can be used with certain map scripts. They are as follows:
-1 = NO_WORLDSIZE
0 = WORLDSIZE_DUEL
1 = WORLDSIZE_TINY
2 = WORLDSIZE_SMALL
3 = WORLDSIZE_STANDARD
4 = WORLDSIZE_LARGE
5 = WORLDSIZE_HUGE
6 = NUM_WORLDSIZE_TYPES

When using the Def getGridSize the syntax is

def getGridSize(argsList):
"Enlarge the grids! According to Soren, Earth-type maps are usually huge anyway."
grid_sizes = {
WorldSizeTypes.WORLDSIZE_DUEL: (13,8),
WorldSizeTypes.WORLDSIZE_TINY: (16,10),
WorldSizeTypes.WORLDSIZE_SMALL: (21,13),
WorldSizeTypes.WORLDSIZE_STANDARD: (26,16),
WorldSizeTypes.WORLDSIZE_LARGE: (32,20),
WorldSizeTypes.WORLDSIZE_HUGE: (38,24),
WorldSizeTypes.NUM_WORLDSIZE_TYPES: (38,24),
}

The last entry will correspond to any extra map entry in the Worldinfo XML . This change would have to be made to every Map script(copied and renamed is preferred) that contains this definition. :D

I utterly hate that they did it this way. They should have had the mod pass the map an expected number of land (and maybe coast) tiles, and let the map script dynamically determine the size of the map from that information. Then you could add as many map size types as you want to a mod, and none of the map scripts would need to care.

I'm updating SmartMap to be compatible with this mod.
 
I want to add the sdksixmapsizes mod to another mod so I can run them together. I don't know the files or lines to edit. Could you tell me what I need to do?
 
goodyhut said:
I want to add the sdksixmapsizes mod to another mod so I can run them together. I don't know the files or lines to edit. Could you tell me what I need to do?

I agree. Please post the source so it can be combined with other SDK mods.

Roger Bacon
 
Um. How do you install these? (Newbie at this)
Woops didn't notice the blatent COPY INSTRUCTIONS in the zip file! XD
Frig I did get a runtime error when trying to start a map on Godsize.
 
Nimai_R said:
Um. How do you install these? (Newbie at this)
Woops didn't notice the blatent COPY INSTRUCTIONS in the zip file! XD
Frig I did get a runtime error when trying to start a map on Godsize.

How much Ram do you have and which map script did you use? Have you upgraded to Civs 1.61 patch?

P.S Been watching the NBA playoffs so havent been online much.
 
goodyhut said:
I want to add the sdksixmapsizes mod to another mod so I can run them together. I don't know the files or lines to edit. Could you tell me what I need to do?

You will need to have the SDK(I assume you do). I have added the source to the main post. If these files are not in the other Mods source just copy and recompile. If they are present you'll need to add the changes manually so as not to change the integrity of the other mods design. There's one listing in each file so do a Find word search(In the Edit sub Menu entitled Find) type worldsize will take you right to where you need to be. Anything under Huge is all you need to copy. Make sure eveything is lined up as extra blank spaces can cause a program error.
 
Sorry to necro this thread and hopefully someone will see this but the Pangea script isn't working when I load the mod. The game crashes as soon as it starts to generate the map.
 
Back
Top Bottom