Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Issue with symmetric maps and mercenary camps #133

Closed KroArtem closed 7 years ago

KroArtem commented 7 years ago

It's indeed symmetric but looks a bit strange 2016-10-08 01-30-39

KroArtem commented 7 years ago

The problem is that there are 2 more camps just under these ones.

Andrettin commented 7 years ago

I personally don't think it is strange; since the map is symmetric, the mercenary camps would be as well. The two mercenary camps below are because the map is symmetric not only in regards to left-right, but also top-down.

KroArtem commented 7 years ago

That sounds like a cheating for me. I managed to get control over these camps and then it was much easier to win.

KroArtem commented 7 years ago

I remember you changed something related to symmetric maps after I posted this ticket. Was there anything?

Andrettin commented 7 years ago

Yes, but only for player spawn points. I've added a similar check for neutral buildings now, which prevents them from being generated too close to one another; the camp's spawn point must be in a distance of 16 tiles from the borders of the symmetric quadrant: https://github.com/Andrettin/Wyrmsun/commit/c1520a3424bba9ec426f0823591afcd897d113ce

KroArtem commented 7 years ago

All in all it will be at least 32 tiles between two identical neutral buildings. Good, probably this one can be closed then.

Andrettin commented 7 years ago

Alright :)