Opened 12 years ago
Closed 10 years ago
#1579 closed defect (wontfix)
shipwreck objects needs a water class
Reported by: | rjs23 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | shipwrecks ai lack class |
Cc: | Patch: |
Description
Currently there is no class to for AI to identify shipwreck as the water floating on the water. Without it, it would not be able to intelligently gather it.
Change History (9)
comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
AI would need this class to know if it's water based type, same thing with Fish object, so that it knows what type of unit to build to retrieve the shipwreck. However, if the shipwreck can be placed on land then this water class would not help in this scenario at all. AI will have to figure out some other way, perhaps pathfinding.
I was under assumption that shipwreck can be only placed on water area.
Mark this as closed or invalid defect, if shipwreck is indeed can be placed on land and water.
comment:3 by , 12 years ago
Replying to rjs23:
Mark this as closed or invalid defect, if shipwreck is indeed can be placed on land and water.
I'm able to place them on land in Atlas, but I don't know if this is correct thing to do. I will ask Michael to join the discussion. Or maybe someone else have something to say.
comment:4 by , 12 years ago
Shipwrecks accessible from the shore are not unheard of and should be allowed. Fishes are another matter.
comment:5 by , 12 years ago
Shouldn't shipwrecks be placeable on the shore and in the water? Better to have a pathfinding check whether a target (treasure, enemy entity, resource) is unreachable instead, so all bases are covered.
comment:6 by , 12 years ago
I agree, this would be a temporary workaround at best, until there is an accurate and efficient pathfinding check for AIs. Fish can also be accessed by land units in some cases, but the AIs ignore them for this very reason.
comment:7 by , 10 years ago
Owner: | removed |
---|
comment:9 by , 10 years ago
Milestone: | Backlog |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
No but no there is no real need for such a fix as the AI (Petra) now checks resource accessibility before trying to collect it. Closing it as wontfix.
Do you mean, ai needs this info to know, that this type of treasure should be gathered using ships? What if such object will be placed on land by map designer/RMS? Maybe it is better to check terrain under object or availability to pathfind there or something like this as a more general solution?