relative size of features in map file format

relative size of features in map file format

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

Moderator: Moderators

Post Reply
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

relative size of features in map file format

Post 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?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: relative size of features in map file format

Post by Beherith »

It is not implemented. Rotation is though, that helps with some nonuniformity. This is why my featuresets have stuff of varying sizes.
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: relative size of features in map file format

Post 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.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: relative size of features in map file format

Post 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.
Post Reply

Return to “Map Creation”