s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Map Selection: Show ore distribution of map

Open Flow86 opened this issue 4 years ago • 6 comments

Hi,

I have an idea for our Map Selection screen: we could probably add the percentages of resources there in an information dialog:

grafik

so that one can see some more details of the map.

  • a bigger preview
  • again detailed information about author, players, type, size, etc
  • resource information (how much gold, iron, ..., water, fish, stone, etc in percentages)
  • perhaps even a mode to get this information "per player position" (like starting area has X percentages of resources)

what do you think?

Flow86 avatar Jan 05 '21 09:01 Flow86

I'm not sure about how usefull it really is to know resource distribution per map.

But it'd be great if it compared player spots in some way - so possibly distance to first gold, building spots, granit around. So one would know how balanced a map is. And: Map description :D

Spikeone avatar Jan 05 '21 11:01 Spikeone

But it'd be great if it compared player spots in some way - so possibly distance to first gold, building spots, granit around. So one would know how balanced a map is.

That requires quite some logic to be implemented. And one needs to define those metrics. However I see them mainly valuable for map editors, not so much for the game itself.

And: Map description :D

This isn't possible, is it? The S2 map format does not have this information (and can't), so we would need to change that format...

Flamefire avatar Jan 05 '21 11:01 Flamefire

That requires quite some logic to be implemented. And one needs to define those metrics. However I see them mainly valuable for map editors, not so much for the game itself.

Well, most players will have a look at maps in rttr and not the editor. I don't think maps in the "other" folder will be touched by anyone in the editor - so I think it's usefull for both, editors and players.

This isn't possible, is it? The S2 map format does not have this information (and can't), so we would need to change that format...

As far as I remember @MarcusSt and I once tested it. The original file ends with 0xFF and ignores anything that follows, which means one could append anything like a description or any additional info (e.g. balancing info).

edit: see #64

Spikeone avatar Jan 05 '21 13:01 Spikeone

Another possibility regarding map description would be to put the description in the lua script associated to a map, retrieved by calling a lua function (if it exists) from map selection menu.

JonathanSteinbuch avatar Jan 10 '21 13:01 JonathanSteinbuch

Another possibility regarding map description would be to put the description in the lua script associated to a map, retrieved by calling a lua function (if it exists) from map selection menu.

I like that idea. If there is a lua script, it will try to get the text from a function there.

Flow86 avatar Jan 10 '21 13:01 Flow86

Another possibility regarding map description would be to put the description in the lua script associated to a map, retrieved by calling a lua function (if it exists) from map selection menu.

see #64 :D

The nice thing about this is: one could even translate the description, maybe use a predefined language variable that is used for description.

Spikeone avatar Jan 10 '21 15:01 Spikeone