Page 1 of 1

relative size of features in map file format

Posted: 07 Aug 2012, 05:35
by enetheru
Hey guys and gals,

I was looking over the smf file format as defined here
http://springrts.com/mediawiki/index.ph ... ile_Format
I realise that its really old (2005).

When I noticed down in the MapFeatureStruct(1 for each feature on map)
a relativeSize variable.

So does this variable have supporting code in spring to scale the feature depending on its value? or has that been removed in ages past?

Re: relative size of features in map file format

Posted: 07 Aug 2012, 09:33
by Beherith
It is not implemented. Rotation is though, that helps with some nonuniformity. This is why my featuresets have stuff of varying sizes.

Re: relative size of features in map file format

Posted: 10 Aug 2012, 03:12
by enetheru
Beherith wrote:It is not implemented. Rotation is though, that helps with some nonuniformity. This is why my featuresets have stuff of varying sizes.
I wonder if there is a chance that one of the devs may pick this up considering its been in the map format since forever. would be nice to have a more varied map features without more art assets.

Things like this always make me wish I was any good at programming.

Re: relative size of features in map file format

Posted: 10 Aug 2012, 13:21
by knorke
I found nothing in engine where it has any function. (it is declared but not used)
So it has not really "been in the map format forever", it is more a placeholder/note/leftover variable thing.