stefanhendriks / Dune-II---The-Maker

A remake of the classic Dune 2 - The Building of a Dynasty (by Westwood Studios) with several enhancements. Like: higher screenresolutions, zooming, multiselect, skirmish play, etc.
https://www.dune2themaker.com
304 stars 27 forks source link

A reason that hinders the AI #497

Open Mira-Chronos opened 2 years ago

Mira-Chronos commented 2 years ago

800x600_0000

I played d2tm a lot and watched the game itself.

Very often I come across cases like the following photo shows.

Buildings block each other. I know carry-alls drop units freshly builded but Harvesters don't. The AI ​​has built 3 refineries and only 2 are functional.

Can't we improve this?

Along the same lines, it's frustrating not being able to build a building one square away from another.

stefanhendriks commented 2 years ago

Yes, this is a known bug. What we can do to prevent this is mark cells around structures which are 'free'. Although this will not solve everything, it will prevent the above situation. It won't solve the problem with like 3 cells in a row (but neither are accessible from outside).

About placing a structure one cell away. That would be an 'optional' thing. You can achieve such a thing btw by placing slabs.

Mira-Chronos commented 2 years ago

Placing structures on a cell is a gameplay enhancement. I find that it is not "practical" to anticipate the construction of slabs before, especially when you want to place a building quickly.