Opened 6 years ago
Last modified 6 years ago
#4960 reopened defect
Latium starting resources fail
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Maps | Keywords: | |
Cc: | Patch: | Phab:D1387 |
Description
On most generations of Latium, we get a warning about starting resources having failed to place.
Beside the warning being annoying, the missing mines are quite bad.
Attachments (2)
Change History (13)
comment:1 by , 6 years ago
Milestone: | Backlog → Alpha 23 |
---|
comment:2 by , 6 years ago
by , 6 years ago
Attachment: | commands.txt added |
---|
comment:3 by , 6 years ago
In addition, with the commandx.txt attached and r21034, there are fishes on land.
As both cases i've noticed on this map are on the lateral borders, maybe the map rotation was not properly applied?
comment:5 by , 6 years ago
by , 6 years ago
Attachment: | latium-branch.7z added |
---|
The abandoned WIP branch I had been working on in november. Don't know what it contains.
comment:6 by , 6 years ago
Patch: | → Phab:D1387 |
---|
comment:7 by , 6 years ago
(Oh, this branch is even from 2016, so it's not the one latium rewrite I had been looking for. I went through the list of diffs in there and saw most of it being committed and few cleanup I'm about to commit. Searched all files for "latium" on my disk but can't find the rewrite. Must have been abandoned and deleted to be never seen again.)
comment:9 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Missing resources on tiny maps can occur on many maps for different reasons.
Primarily placePlayerBaseMines
and placePlayerBaseChicken
should not receive distance
but min and max distance, similar to placePlayerBaseTrees
. Perhaps that can still be realized for this release.
Perhaps we can replace the placePlayerBase
functions entirely with fewer new library functions that share some of the properties of the placePlayerBaseFunctions
, such as retry loops, radial distribution similar to createObjectGroup
(Inari also proposed a CircleConstraint
with a min and max radius recently, that might be utilized). (That certainly won't be done this release)
It's because cliffs are painted, then players placed inside it and the area flattened, but the original area (
clCliff
) is still attempted to be ignored.