#1513 closed defect (fixed)
[PATCH] Bug on Deep Forest random map
Reported by: | historic_bruno | Owned by: | FeXoR |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 11 |
Component: | UI & Simulation | Keywords: | |
Cc: | FeXoR, O.Davoodi | Patch: |
Description
See http://www.wildfiregames.com/forum/index.php?showtopic=16201 for original report.
The problem is Deep Forest is placing chickens (possibly other things?) inside the player's starting CC, which indirectly cripples AI but it doesn't help the player either :)
Attachments (2)
Change History (12)
by , 12 years ago
Attachment: | deepforestbug.jpg added |
---|
comment:1 by , 12 years ago
Keywords: | random map added |
---|---|
Owner: | set to |
The way those pigs and chickens (and the whole bunch of fauna) are generated in deep-forest is horrible. I can fix it but it is better that FeXoR does it himself.
follow-up: 3 comment:2 by , 12 years ago
The important thing is just to make sure the starting resources are X tiles away from the civil center, regardless of map size :)
comment:3 by , 12 years ago
Replying to historic_bruno:
The important thing is just to make sure the starting resources are X tiles away from the civil center, regardless of map size :)
Well, he didn't use the standard rmgen functions in this map. Currently those animals are generated the way forests are.
follow-up: 6 comment:4 by , 12 years ago
Sorry for taking so long...
Here's an updated version. It fixes the animals inside the Civil Centre.
It still might happen that animals wind up in a stone or metal resource entity. Deer in the woods might cause a similar problem when surrounded by trees. This will be a bit harder harder to fix though.
BTW, similar things will happen on most random maps for Iberians with their civ bonus walls if any entity that can be gathered from is placed inside a wall.
So in general this is more a problem of entity placement in random maps and that again is caused by RMGEN not being part of simulations...
Replying to Spahbod:
The way those pigs and chickens (and the whole bunch of fauna) are generated in deep-forest is horrible.
Why?
comment:5 by , 12 years ago
Keywords: | review added |
---|---|
Summary: | Bug on Deep Forest random map → [Patch] Bug on Deep Forest random map |
follow-up: 9 comment:6 by , 12 years ago
Replying to FeXoR:
Replying to Spahbod:
The way those pigs and chickens (and the whole bunch of fauna) are generated in deep-forest is horrible.
Why?
You said it yourself:
It still might happen that animals wind up in a stone or metal resource entity. Deer in the woods might cause a similar problem when surrounded by trees. This will be a bit harder harder to fix though.
The fix works and I couldn't find much problems.
comment:8 by , 12 years ago
Keywords: | random map review removed |
---|
comment:9 by , 12 years ago
Replying to Spahbod:
Replying to FeXoR:
Replying to Spahbod:
The way those pigs and chickens (and the whole bunch of fauna) are generated in deep-forest is horrible.
Why?
You said it yourself:
It still might happen that animals wind up in a stone or metal resource entity. Deer in the woods might cause a similar problem when surrounded by trees. This will be a bit harder harder to fix though.
The fix works and I couldn't find much problems.
Sorry, edited my previous post after you wrote yours.
I really think thats an entity placement problem in general for random maps. But I think that needs further discussion anyways so good to have more than one point of veiw :)
BTW, on most maps there are trees surrounded by other trees. That could cause similar problems for the AI as well.
comment:10 by , 8 years ago
Summary: | [Patch] Bug on Deep Forest random map → [PATCH] Bug on Deep Forest random map |
---|
4 chickens and a pig inside the CC foundation