Opened 11 years ago
Last modified 4 years ago
#1901 new defect
Chicken inside stone mine on neareastern badlands rms
Reported by: | historic_bruno | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Maps | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 10 years ago
It's due to the lack of information available to RMS about entities/actors footprint/obstruction.
See: #1589
EDIT: The chickens/pigs inside CC should be fixed AFAIK. For the trees: The unitAI should check reachability of target entities (for entities outside the map or surrounded by cliffs).
comment:4 by , 9 years ago
There is a collision detection implementation in the forum: http://wildfiregames.com/forum/index.php?showtopic=16242&page=10#entry297569
Like suggested by sanderd17 I will rewrite it to only check if an entity WOULD collide. The collision grid, however, should be always generated because it's faster than regenerating it for each check seperately.
ATM it checks all entities WHILE they are placed (Good for debug, unusable for decisions at generation time).
Any suggestions welcome (especially if the space/time needed for the collision grid's generation is worse than the much longer time needed when the grid is generated several times but only if the functionality is used at all)
comment:5 by , 5 years ago
Component: | UI & Simulation → Maps |
---|---|
Description: | modified (diff) |
comment:6 by , 4 years ago
I had a similar issue. My workers who gather wood decided it will be a good idea to try to chop a tree which was stuck in a stone mine. You can guess what happened.
It can. I’ve seen chickens within the civic center as well.