Opened 13 years ago
Closed 13 years ago
#879 closed defect (fixed)
Disable FoW for AI players
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 6 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
r9657 made UnitAI
take account of FoW and refuse to move to targets unless they're visible. The AI players cheat and ignore FoW (to avoid a load of extra complexity and pain), but now their units will probably refuse orders and cause confusion if the AI decides to attack a hidden enemy. Things should be changed so the whole map is always revealed (from the perspective of GetLosVisibility
at least) to AI players.
Change History (5)
comment:1 by , 13 years ago
comment:3 by , 13 years ago
In an ideal world the AI would be perfectly fair and respect FoW, but I expect that would add a huge amount of complexity to the AI implementation so it's not something we should do now.
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I don't agree. I think the AI's should be limited to what players can do, and require that they send out scouts, just like everyone has to. Same would apply for AI harvesting. They need to find the resources first.