Featuremap

Featuremap

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
zorbawic
Posts: 107
Joined: 07 May 2006, 15:09

Featuremap

Post 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) :?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post 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.
zorbawic
Posts: 107
Joined: 07 May 2006, 15:09

Post 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
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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?
zorbawic
Posts: 107
Joined: 07 May 2006, 15:09

Post by zorbawic »

Is any1 capable of fixing this little problem ?
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Use MSVC 2003/7
User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Post 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.
zorbawic
Posts: 107
Joined: 07 May 2006, 15:09

Post 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
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

I use GIMP for my feature maps without difficulty. Gimp won't anti-alias unless you do something that tells it too.
zorbawic
Posts: 107
Joined: 07 May 2006, 15:09

Post by zorbawic »

i forgot to say that i swithed to paint after trying to solve that problem with GIMP, and still the same problem
Post Reply

Return to “Map Creation”