Opened 2 years ago
Last modified 21 months ago
#6605 new defect
Failed Starting Resource Placement
Reported by: | smiley | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Backlog |
Component: | Maps | Keywords: | simple |
Cc: | Patch: |
Description
In extreme terrain or crowded maps where there are no/few viable positions to place resources, the base placement function fails to place the starting resources for the players, which results in an error message.
Currently, the placement functions have a fixed radius, and tries a random position on the circumference N times, where N is 30 for all resources except the mines, which is placed together for metal and stone, and therefore have 70 to account for more failures.
Rather than restricting the placement options to a circle, it would be better to increase the area of viable positions to be the annulus between the minimum distance and the maximum distance rather than the circumference maximum distance away.
Change History (3)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Another ones:
ERROR: Could not place startingAnimal for player 2 pyrogenesis -autostart=random/island_stronghold -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=2 -autostart-seed=2 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place mines for player 2 pyrogenesis -autostart=random/pompeii -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=2 -autostart-seed=2 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place mines for player 2 ERROR: Could not place startingAnimal for player 2 pyrogenesis -autostart=random/hellas -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=192 -autostart-players=6 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place startingAnimal for player 2 pyrogenesis -autostart=random/empire -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place startingAnimal for player 3 pyrogenesis -autostart=random/guadalquivir_river -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place startingAnimal for player 4 pyrogenesis -autostart=random/hells_pass -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place mines for player 3 ERROR: Could not place mines for player 4 ERROR: Could not place berries for player 7 pyrogenesis -autostart=random/jebel_barkal -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place startingAnimal for player 5 pyrogenesis -autostart=random/marmara -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay ERROR: Could not place startingAnimal for player 5 pyrogenesis -autostart=random/ratumacos -autostart-aiseed=0 -autostart-aidiff=1:0 -autostart-aidiff=2:0 -autostart-size=128 -autostart-players=7 -autostart-seed=0 -autostart-nonvisual -autostart-disable-replay
Examples reported so far:
pyrogenesis -autostart=random/latium -autostart-size=256 -autostart-players=8 -autostart-seed=0
pyrogenesis -autostart=random/river_archipelago -autostart-size=128 -autostart-players=2 -autostart-seed=0