Topic: Completion of a map by symmetry
gnarfk![]() Topic Opener |
Posted at: 2015-01-21, 16:02
Hello. i'm new to the forum and i apologize for my approximative english, but i have a suggestion for the map editor. When someone try to build a fair map, and want the chances of winning for any player to be equal, he tries to build something that's looks the same in both sides. But , maybe he miscounted the number of trees or of any ressource at a starting position, or the distance from a player to his closest sea .... A thing that could help, is a tool that'll allow the editor to build only a part of a map, and to finish the job using a symmetry (axial or central) or a rotation (by half a turn , or 1/3 , 1/4 , 1/6 of a turn) or a translation (by half the size of the map or the third or ...).... This way, all starting positions would have equal chances ... Edited: 2015-01-21, 16:06
![]() ![]() |
tuggyne |
Posted at: 2015-01-21, 16:20
It's been mentioned before, but I don't think much has come of it yet. Would be nice, though. ![]() ![]() |
wl-zocker |
Posted at: 2015-01-21, 16:26
Welcome to the forum and thank you for this idea. Have a look at https://bugs.launchpad.net/widelands/+bug/647447. There are already ideas on how that can be done, but nobody has found the time to implement that feature A general note on symmetric maps: Due to the fact that a building's flag always has to be south of it, a perfectly symmetric map is not perfectly fair: The player who has to expand northwards (e.g. to reach gold) can do that faster than the player on the other side (who is expanding southwards). There is not yet a good solution for that problem, so some finetuning will always be needed. I personally also like non-symmetric maps (e.g. Riverlands), which do not tend to get boring so fast. Of course such maps are not suitable for multiplayer games or tournaments, but as long as they are balanced, they are still fun to play. "Only few people know how much one has to know in order to know how little one knows." - Werner Heisenberg ![]() ![]() |
gnarfk![]() Topic Opener |
Posted at: 2015-01-21, 16:29
Thank you for your answers . I'll look at your links ![]() ![]() |
gnarfk![]() Topic Opener |
Posted at: 2015-01-21, 16:39
In the report bug , there is only mention of the symmetry , but not of the rotations .... (the rotations might help to build 3 or 6 players maps , while the translations could help building maps for any number of players, and combinations of transformations can also be done) i had the same thought about flags from buildings, and i have no good answer to it. But at least , the symmetry axle which follows the same direction of the road from a building to its flag could create a symmetry that keeps things fair. I think neither the symmetry nor the rotations (or translations) are hard to "algebrize" . this could definitly help people to create new maps (you said that playing on symmetric maps is boring , but if you have lots of different maps to play ... that might not be the case) ![]() ![]() |
wl-zocker |
Posted at: 2015-01-21, 17:32
I can think of the following symmetry operations (point group C6v, if you know group theory
Of course you can use multiples of the indicated player numbers, but the map is then not completely fair.
I have never thought of that, but you are right! However, I assume that the most natural mirror plane would be east-west, so that way would be a bit strange.
Since the map internally works with Cartesian coordinates, rotation by 60°/120° are not that easy. Furthermore, you have to think about what you do at the borders (to use the symmetry operations, you have to cut the map somewhere, and then it is rectangular, which does not fit to rotation by 60°/120°. "Only few people know how much one has to know in order to know how little one knows." - Werner Heisenberg ![]() ![]() |
gnarfk![]() Topic Opener |
Posted at: 2015-01-21, 17:43
i know group theory, i'm math teacher. if you need help to find formulae for rotations or anything , i can do that. For some numbers of players , we have the problem of borders , but if we stop considering the world as what topologist call "donuts" , we can do the 120° rotations , and the only remaining problem is some "useless land" in the corners .... ![]() ![]() |
wl-zocker |
Posted at: 2015-01-21, 18:05
I did not expect that
There is a section about geometry in our Wiki, maybe that helps you.
I do not know how to cleverly combine the symmetry of a torus with the triangles of Widelands. My idea was therefore cutting the map at its internal borders (where the x or y coordinates are 0) and to work on the emerging rectangle. Ignoring the "useless land" might be the best approach then. "Only few people know how much one has to know in order to know how little one knows." - Werner Heisenberg ![]() ![]() |
gnarfk![]() Topic Opener |
Posted at: 2015-01-21, 18:28
i'm looking at this section.
that's how it is done actually i think ... (and maybe it would be possible to change that to other type of topology, but that's not the point here)
it is also possible to fill the useless land with desert or swomp or any unusable terrain type. ![]() ![]() |
einstein13![]() |
Posted at: 2015-01-22, 10:11
I'm not a mathematician, but physycist. I know that rotations aren't very hard for computer: there is only rotation matrix with sin and cos functions. Of course the implementation will be a bit harder, but still possible. But in my opinion the blank spaces should be filled by "background" type of terrain. You should have a possibility to create all the map with one type of terrain and keep it as "background". einstein13 ![]() ![]() |