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 fcxSanya, 12 years ago

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?

comment:2 by rjs23, 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.

in reply to:  2 comment:3 by fcxSanya, 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 wraitii, 12 years ago

Shipwrecks accessible from the shore are not unheard of and should be allowed. Fishes are another matter.

comment:5 by michael, 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 historic_bruno, 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 historic_bruno, 10 years ago

Owner: rjs23 removed

comment:8 by Stan, 10 years ago

Isn't that fixed since naval battles are supported ?

comment:9 by mimo, 10 years ago

Milestone: Backlog
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.