Type Map Display

Type Map Display

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

Moderator: Moderators

Post Reply
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Type Map Display

Post by Von66341 »

Heyo!

Would like to ask is there a way to display type map in game?

Thanks!
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Type Map Display

Post by SinbadEV »

Von66341 wrote:Heyo!

Would like to ask is there a way to display type map in game?

Thanks!
I doubt this is what you are looking for but the string you used as the name for your type used to show in the tooltip if you mouse over the map. I would assume it still does.
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: Type Map Display

Post by Von66341 »

I was looking for some form of colour coding that the players can use as reference.

For e.g.
Green - forest
Yellow - rice fields
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Type Map Display

Post by Johannes »

If the typemap alters a units speed, it shows on the f2 view when that unit is selected.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Type Map Display

Post by smoth »

Von66341 wrote:I was looking for some form of colour coding that the players can use as reference.

For e.g.
Green - forest
Yellow - rice fields
Lol type maps when they do exist are on a per map basis most mappers who know better also avoid them because they can damage gameplay
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Type Map Display

Post by SinbadEV »

smoth wrote:
Von66341 wrote:I was looking for some form of colour coding that the players can use as reference.

For e.g.
Green - forest
Yellow - rice fields
Lol type maps when they do exist are on a per map basis most mappers who know better also avoid them because they can damage gameplay
what smoth is trying to say is that if you are making your own maps anyway you can just make the texture different where the typemaps are different.

edit: also I think he is trying to dissuade you from relying on type-maps as they are not reliable enough to be relied on.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Type Map Display

Post by smoth »

It is an issue with classification of units by the engine wrt type maps. It is imprecise and automagical. Meaning inconsistencies across different projects and incorrect classifications of units.

In the end odds are you as a mapper do not understand what you are setting to move like across what. Add to that you do not understand all game in the engine means you cannot begin to predict what it will do and classify units as
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: Type Map Display

Post by Von66341 »

Care to share more about the classification of the unit?

Do you meant when we define the type map,
things like kbotmovespeed, tankmovespeed, shipmovespeed?
That the engine do not classify kbot, tank or ship correctly?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Type Map Display

Post by smoth »

Von66341 wrote:Care to share more about the classification of the unit?
Pfft, I forget all the classes and the criterion for assigning said class. When I bothered to look it up they were pretty limited.
Von66341 wrote:Do you meant when we define the type map,
things like kbotmovespeed, tankmovespeed, shipmovespeed?
Yep.
Von66341 wrote:That the engine do not classify kbot, tank or ship correctly?
Then engine does it automatically.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Type Map Display

Post by FLOZi »

It's done through the moveDef class, http://springrts.com/wiki/Movedefs.lua# ... o_exist.3F
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Type Map Display

Post by smoth »

and I have hovers and tanks that should count as bots but cannot do that because the movedefs are there for a reason.

IIRC aircraft move faster on speedmetal as well, do they not have a class?
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Type Map Display

Post by Johannes »

smoth wrote:IIRC aircraft move faster on speedmetal as well, do they not have a class?
I'm pretty sure aircraft speed is constant, independent of typemaps. Tested SM, they move at their usual speed there.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Type Map Display

Post by smoth »

Really? That's interesting, that wasn't the case when I made that fissure thing
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: Type Map Display

Post by Von66341 »

Sound very interesting.
It seem to me the only way is through different textures for the map to give the player an indication of the different terrians.

Thanks for all the help!
Post Reply

Return to “Map Creation”