Freeciv
Advertisement
Forums: Index > Playing Freeciv > Is it possible to create a rule or mod to avoid that all unit in a square are destroyed when they lose a battle?



Is it possible to create a rule or mod to avoid that all units in a square are destroyed when they lose a battle?

I mean, I would like a rule like in Civ III that every unit defends itself and if we have for instance 4 units in a same square you have to make at least 4 attacks to destroy all of them. For me it´s unfair that one unit defend the rest of units in a square because if you lose a battle you will lose all units.

Is there any rule to get this?

—Preceding unsigned comment added by 15.203.169.106 (talkcontribs)

In freeciv-2.4 and earlier:
game.ruleset section [combat_rules]
;If killstack is set to 1, each time a defender unit lost in combat, and is
;not inside a city, fortress or airbase, all units in the same tile are
;destroyed along with the defender. This is the freeciv default.
;If this options is set to 0, only the defender unit is destroyed.
killstack = 1
In freeciv-2.5 this has been turned to server setting:
 > explain killstack 
Option: killstack  -  Do all units in tile die with defender
Description:
  If this is enabled, each time a defender unit loses in combat, and is
  not inside a city or suitable base, all units in the same tile are
  destroyed along with the defender. If this is disabled, only the
  defender unit is destroyed.
Status: changeable
Value: enabled, Default: enabled
--Cazfi (talk) 09:30, April 1, 2013 (UTC)


In plain English, you can turn off the "kill all" rule in one of the checkboxes in the "More game options". --- Robin Patterson (Talk) 02:40, July 11, 2018 (UTC)
Advertisement