MegaGlest Forum

Modding and game content creation => Maps, tilesets and scenarios => Topic started by: Botjer on 21 March 2008, 07:53:15

Title: maximum size
Post by: Botjer on 21 March 2008, 07:53:15
how large maps are possible?
im interested in modding this game, but i would like to do as large maps possible.
Title:
Post by: BrainDamaged on 21 March 2008, 11:20:05
hi,
you can make 256x256 maps. larger maps i didnt test. but 128x128 is large enough. 128x256 is possible too.
Title:
Post by: Duke on 21 March 2008, 12:58:27
You can use any length that is a power of two.
Otherwise I'm not even sure if it has a limit at all. I think I have seen a 1024 one, but that would be realy HUGE.
Title:
Post by: Botjer on 22 March 2008, 01:40:17
well thats what im looking for... REALLY huge maps.
i dont think i could use anything with four numbers. ie 999 X 999 is the largest
Title:
Post by: Duke on 22 March 2008, 11:23:28
Well certainly not, computers work a bit different. It is actually compareably hard to let them work with decimals, because they are based on binarys.

So 1024 is a very common number. 999 will definately not work, and the next lower is 512.
Title:
Post by: Botjer on 23 March 2008, 04:04:07
i believe i did write 1024 in the editor and it crashed, while writing 999 was fine...
ill take a look at it later...
and yes i do know about the binary, english just isnt my primary language so sometimes its a bit hard to express concepts.

what i was trying to say is that it didnt seem to like 4 digits/numbers.

999 is the last three digit number.

anyways too late to add anything intelligent right now...

im really interested in modding this engine... with the skills i allready have in modding i'd probably get quite far on my own.
Title:
Post by: ZaggyDad on 23 March 2008, 15:03:47
The engine itself is the thing that refuses anything but powers of 2. It'll crash if you do 999, unless I'm wrong.

~Zaggy
Title:
Post by: wciow on 25 March 2008, 16:56:31
Quote from: "Botjer"
i believe i did write 1024 in the editor and it crashed, while writing 999 was fine...


I just tried both values. The mapper will accept ANY combination of values (the highest I tried was 1024) and they don't need to be power of 2 (34x700 is acceptable :O )

However I don't think the game would actually play a map which isn't a power of 2 value.
Title:
Post by: orion on 26 March 2008, 11:25:45
Quote
However I don't think the game would actually play a map which isn't a power of 2 value.


You're right. While you are able to create a 34 x 700 (for example) in the map editor, Glest will crash when you start the game.
Title:
Post by: ZaggyDad on 26 March 2008, 14:31:34
Exactly what I said. :P

~Zaggy
Title:
Post by: Alestance on 26 April 2008, 01:54:09
max size is 1024 x 1024
Title:
Post by: erandur on 6 May 2008, 19:35:03
I had the idea of a giant map, got sick after filling 500 pixels in... 1.000.000 to go!  Might be fun if you have a lot of time on your hands...
Title:
Post by: ZaggyDad on 7 May 2008, 00:33:32
Well, the AI isn't really made to handle long distance attacks. They usually have their army spread way out in a line, so you can kill them one at a time. The AI needs to be made to regroup when it's near the place it's about to attack. Then it probably would work to make big maps.

~Zaggy