PDA

View Full Version : Hardcoded map limits?



shaggy1973
04-08-2006, 17:24
Playing about tyring to make large maps.

i notice that the largets maps people have been able to implement have been 1021 wide. I note that there is a txt file named descr_world_map in which there is an entry:-

dimensions
{
width 1021
height 800
}

are these dimensions a coincidence?

i have searched through the forums both here and at the twc, and nobody seems to have found out what this file does and what happens when this figure is modded.

if anybody has a huge map with dimesnions larger than 1021 wide, could they please try to implement it and mod this text file, see if it has any effect? I would do this myself but creating a huge map just to test a quick theory seems a potentially huge waste of time :)

anyway i hope this info helps one of the mappers here

Bwian
04-08-2006, 20:24
Those dimensions need to match the sizes of the map actually being used. As far as I recall, you can make a map ANY size, but the dimensions must be entered in the text file to match the map dimension.

The problem with really big maps is the length of time the game will spend on each turn! Big maps run slower...especially if you have a lot of extra territories.

It's all a question of practicality!

Makanyane
04-08-2006, 20:50
It is the descr_terrain.txt file that has to be changed to match the regions.tga being used, the unmodded rtw data folder has

descr_world_map in which there is an entry:-

dimensions
{
width 1021
height 800
}

which does not tie up with the rtw map sizes!?

shaggy1973
04-08-2006, 23:50
yup that is right, the original rtw is nowhere near 1021 pixels wide.

im modding a mod which uses a map which is "as big as can be made" according to the mod guides, not a pixle larger.

i just find it coincidental that this size corrseponds exactly with the dimensions found in this file.

As i mentioned this text file wasnt included in the mod i downloaded so this file is unchanged from standard rtw.