#5061 closed enhancement (fixed)
Random map CityPainter
Reported by: | elexis | Owned by: | elexis |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 23 |
Component: | Maps | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Attachments (3)
Change History (10)
by , 6 years ago
Attachment: | citypainter.jpg added |
---|
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
by , 6 years ago
Attachment: | citypainter2.jpg added |
---|
comment:2 by , 6 years ago
Description: | modified (diff) |
---|
comment:3 by , 6 years ago
Milestone: | Backlog → Alpha 23 |
---|---|
Owner: | set to |
A simple frequency-based approach doesn't work at all, since the larger the obstruction, the less area is available for placement, so the chances of picking the right tiles is too low. It's much easier to use tileclasses to ensure minimum distances between buildings and fill the remains with houses.
by , 6 years ago
Attachment: | screenshot1821.jpg added |
---|
comment:4 by , 6 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Danubius and Fortress are imagineable use cases of existing maps, see Phab:D1286, Jebel Barkal even more, see #5040.
The frequency of the buildings can be computed using roulette wheel selection: https://en.wikipedia.org/wiki/Fitness_proportionate_selection