NoStackKilling unit flag

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
Wahazar
Hardened
Posts: 197
Joined: Mon Jul 02, 2018 1:49 pm

NoStackKilling unit flag

Postby Wahazar » Thu Feb 07, 2019 4:19 pm

I propose to add "NoStackKilling" unit flag, unit with such flag would prevent stack against whole stack killing, if defender fails.
In other words, such unit would act like movable fortress (without defense bonuses, of course).

Possible uses of such flag are, for example:
fighters: instead of this ugly "unrechable_protects" hack, which make stack with fighter completely invincible, fighters would protect stack against immediately killing whole stack with one unit - you need to kill it one by one, and even if whole land stack is killed, airplane still hovers around, blocking tile - like in classic civ.
leader - game with GameLoss unit is usually boring, only you need is to hide this coward in safe place,
but leader with NoStackKilling flag can be used for a crucial battle, to encourage his army but risking end of the game,
or still hiding safely in fortified capital - interesting strategic dilemma.

Ignatus
Veteran
Posts: 123
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: NoStackKilling unit flag

Postby Ignatus » Thu Feb 07, 2019 5:39 pm

Maybe, but for planes mare obvious solution is just ecclude unreachable one from the defenders - the reachable ones live or die disregarding what is there in the sky. Or, maybe, add some "aviation support" bonus to the defender, but probably different from adding the plane's full attack or defense - maybe something like pre-battle one-round bombardment from civ3, but maybe for all stacked aircraft. Basically, the unit you propose acts in defense much like Civ3 army but with unlimited capacity. The winning strategy with such a leader likely often will be "stack all that you have and destroy the adversary's everything".

Wahazar
Hardened
Posts: 197
Joined: Mon Jul 02, 2018 1:49 pm

Re: NoStackKilling unit flag

Postby Wahazar » Thu Feb 07, 2019 5:48 pm

Ignatus wrote:Maybe, but for planes mare obvious solution is just ecclude unreachable one from the defenders - the reachable ones live or die disregarding what is there in the sky.

It is a standard behavior with unreachableprotects disabled, but people complain, that air units are useless in such case as defenders - no air supremacy.
On the other hand, unreachableprotects enabled is much too harsh in my opinion, making flight units overpowered. And it is not an elegant solution, I was pretty sure it is a bug for the first time.
My proposal offer something in between above settings.

Ignatus
Veteran
Posts: 123
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: NoStackKilling unit flag

Postby Ignatus » Thu Feb 07, 2019 6:08 pm

Oh, I didn't try it and thought that protecting unreachable unit actually risks itself in combat! Well, then maybe it will be a possible compromiss. But deathballs with aviation coverage are still overpowered this way, that is what killstack is supposed to prevent.

nef
Veteran
Posts: 107
Joined: Mon Jun 25, 2018 5:01 pm

Re: NoStackKilling unit flag

Postby nef » Sun Feb 10, 2019 11:10 am

Wahazar wrote:leader - game with GameLoss unit is usually boring, only you need is to hide this coward in safe place


A little off topic perhaps but I tried regicide in fc2.4.4. "Coward" is a little too strong. I used it to enter huts - no death by barbs!!!

Also, makes it dead easy to take out an "ally". Easy to find, easy to kill. Piece of cake.

My suggestion here is to make the leader invisible UNLESS he is the only unit on a tile. Also not visible while moving so it can move from one hiding place to another without being noticed.

My other use was to park him in a fort to gain extra visibility of say a strategic sea passage.