Page 1 of 1

map size question (again)

Posted: Wed Feb 13, 2013 6:24 pm
by Manu
As the megatile has increased from 120 to 192 pixels, I suppose map size has to be a multiple of 192 (and no more 120)? Trying 5CC, I get an information that my map is not a multiple of 120.

RE: map size question (again)

Posted: Wed Feb 13, 2013 7:16 pm
by davidss
when you create a new map there is a drop down menu where you can select which game your map is for.
If you select PitF, then it's 192 per deployment tile.

RE: map size question (again)

Posted: Thu Feb 14, 2013 2:15 pm
by Manu
ok. The message here was the reason of my doubt...



Image

RE: map size question (again)

Posted: Thu Feb 14, 2013 3:15 pm
by davidss
did a test and got the same error message.
... you might want to contact Mafi

RE: map size question (again)

Posted: Thu Feb 14, 2013 7:38 pm
by Cathartes
If you want to convert an older CC map to PitF format, you will have to increase the size of the bgm/tga by a the ratio of the % difference between the old and new pixel format. I don't recall exactly but comes out to a 66 or 67% increase (or maybe it's as simple as 120/192, or 62.5%?). This way you don't have to recode the whole friggin' map and can just scale the next text size accordingly. Think this may solve the tile problem.

RE: map size question (again)

Posted: Thu Feb 14, 2013 8:41 pm
by Manu
thanks Cathartes but in my case I code new maps... ;)

RE: map size question (again)

Posted: Thu Feb 14, 2013 8:46 pm
by SteveMcClaire
40 deployment tiles is the maximum you can have for any one dimension (width or height). I see you're trying 43.  5CC may be failing for this reason but giving you a generic error message for incorrect map size.
 

RE: map size question (again)

Posted: Thu Feb 14, 2013 9:20 pm
by Manu
strange as it doesnt match the real size of my map. Here in photoshop...
the good thing is you have a preview of one of the future Angriff mod map! ;)

Image

RE: map size question (again)

Posted: Fri Feb 15, 2013 2:32 pm
by SteveMcClaire
ORIGINAL: Manu

strange as it doesnt match the real size of my map. Here in photoshop...
the good thing is you have a preview of one of the future Angriff mod map! ;)

The map size (in deployment tiles) should be 4224/192 = 22 x 5184/192 = 27. But the 5CC dialog box says 35 x 43 (which seems to be using 120 pixels per deploy tile). Can you change those values yourself to 22 x 27, so they are correct? Beause the "map size in pixels = 6720x8256" info that it is showing below the Width and Height entries is correct for 192 pixels per deploy tile.

Steve

RE: map size question (again)

Posted: Fri Feb 15, 2013 2:51 pm
by Manu
I can change the values of the tiles but the pixels values will also change. When the graphic is loaded, the map doesn't fill the workscreen.

RE: map size question (again)

Posted: Sat Feb 16, 2013 8:38 pm
by Mafi
ORIGINAL: Manu
As the megatile has increased from 120 to 192 pixels, I suppose map size has to be a multiple of 192 (and no more 120)? Trying 5CC, I get an information that my map is not a multiple of 120.

Hi Manu,
sorry for the trouble, it was a bug of mine, persisting there since one year. Now fixed, new version v1.21 online at http://cc2revival.npage.de/cc2revival.html

Cheers and good luck for your EastFront-project!
Mafi

RE: map size question (again)

Posted: Sat Feb 16, 2013 9:16 pm
by Manu
thanks Mafi and thanks for your tools!!! Without them nothing should be possible!!!

RE: map size question (again)

Posted: Sat Feb 16, 2013 9:26 pm
by Tejszd
THANK YOU MAFI [&o]

RE: map size question (again)

Posted: Wed Feb 20, 2013 6:20 am
by Overkenshin
Manu your map looks great! Cant wait to play your mod!

RE: map size question (again)

Posted: Wed Feb 20, 2013 6:27 am
by Manu
ORIGINAL: Overkenshin

Manu your map looks great! Cant wait to play your mod!

thanks. At least someone who notices it! ;)
Your encouragements are my only wage!

RE: map size question (again)

Posted: Wed Feb 20, 2013 9:41 am
by CSO_Talorgan
That looks like one helluva map!