Unit AI commands

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
Post Reply
User avatar
GriffonSpade
Elite
Posts: 578
Joined: Mon Apr 29, 2013 4:41 pm

Unit AI commands

Post by GriffonSpade »

Two Unit AI commands that are somewhat painfully missing are "Explore and Raid" and "Counterattack".(Notably the counterattack seems to existed at some point in the past)

"Explore and Raid" - Similar to the explore command, except when adjacent to an enemy unit or city with moves remaining, it would automatically attack them. This would prevent exploring units with high attack but low defense from dying like fools as they just let enemies kill them.

"Counterattack" - Similar to the fortify/sentry command(preferably fortify, unless it is given priority over the Go command), except when an enemy moves to adjacent tile, and the unit has moves remaining, it would automatically attack them, then begin to fortify back into their counterattack stance, giving a more realistic border defense policy. The server option to automatically attack really isn't very good, as it's ALWAYS active and on EVERY (military) unit, rather than just the ones you pick and choose.
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Unit AI commands

Post by Alien Valkyrie »

Something similar to the counterattack thing was there earlier: A unit inside a city could be set to automatically attack, and if there's an enemy unit that they can attack in one turn(and, if they're an air unit, come back before they're out of fuel), they'd automatically do just that. I remember having my stealth bombers set to autoattack, and whenever barbarians appeared in the are of the city(I had the Apollo Program), they'd be dead in one turn. Was pretty nice, I'd like to have it back in the game.

The "Explore and Raid" command could basically be explore with the autoattack thing enabled all the time. Might be useful too, if you want early game war.
~ AVL
Post Reply