Page 1 of 1

Featuremap

Posted: 11 Jul 2006, 00:40
by zorbawic
What is the maximum amount of different features per map ?

After problems I have encountered im not sure if that really is 255(6) :?

Posted: 11 Jul 2006, 00:43
by SinbadEV
I don't know, no one seems to want to take responsability for the current version of map conv... it was supposed to be 255 from what mother said before disapearing, and we don't acctually have an official mapconv from the devs that supports features.

Posted: 11 Jul 2006, 00:53
by zorbawic
I have tried to put 32 different features on the map, and actually only 8 ware put on the map after compilation
Creating tiles 2/64512 98%
Creating tiles 2/65536 100%
Saving metal map
Writing 8 features
on the feature map there ware 32 different shades of red starting from 255

Posted: 11 Jul 2006, 00:54
by genblood
I downloaded the latest build of Spring source and found the mapconv source
files with it. I've tried compile it and a no go ... Can someone post what
compiler I should be using to compile it? I used Open Watcom C/C++...

What compiler should I be using?

Posted: 11 Jul 2006, 00:58
by zorbawic
Is any1 capable of fixing this little problem ?

Posted: 11 Jul 2006, 01:35
by genblood
You mean you tried to add 32 custom features and it only says 8 ..
Where added to the finished map?

The most features I've added to a map was 16 ...


When adding your red pixels to your feature map make sure you
only put down one pixel ... for that shade of red ..

As far as I know their isn't a issue with features ... the only problem
I know about is the Geo placement ... problem

Posted: 11 Jul 2006, 02:43
by AF
Use MSVC 2003/7

Posted: 11 Jul 2006, 12:47
by Cheesecan
Well since the features use the red channel theoretically it should support 255 or 256 features in fs.txt.
Mapconv reports how many features it has placed on the map, not how many different entries from the fs.txt. I've seen it write them in the 1000's.
You should probably backtrack and make sure everything is correct, maybe antialiasing in your image software screwed it up.. or something. Make absolutely sure the fs.txt contains no spaces(infront of behind your entries), cuz that can fudge things up as mapconv doesn't seem to do any error checking at all. Maybe it even stops reading them after it finds a space. Example:

pdrock1
pdrock2[space]
pdrock3


will give errors in Spring and probably messes with mapconv somehow too.

Posted: 11 Jul 2006, 16:58
by zorbawic
Cheesecan wrote:antialiasing in your image software
really :!: :?: i didnt know that MS paint has antialising :wink: cuz i swithed to it from GIMP to make sure it doesnt have it, and the length between each pixel is at least 10 pixels in every direction

Posted: 11 Jul 2006, 17:07
by Erom
I use GIMP for my feature maps without difficulty. Gimp won't anti-alias unless you do something that tells it too.

Posted: 11 Jul 2006, 17:12
by zorbawic
i forgot to say that i swithed to paint after trying to solve that problem with GIMP, and still the same problem