Freeciv
Advertisement

Hi,

I just started playing Freeciv and noticed that units in a stack can all be killed by one attacker outside of a city. While I'm aware that this was the case in Civ 2, I always thought it was a strange rule (and so did the developers judging by the change in later verions). I noticed some information regarding 'killstack' in Freeciv, however I don't follow how exactly to go about changing it. Is it possible to change it once a game as began?

Thanks

Forums: Index > Help desk > How to change killstack?


Unfortunately, you have to create a mod for that at this point. To create a mod, do this:

  1. Locate your freeciv data directory. (Search for the file "default.serv")
  2. Make a copy each of default.serv and the directory "default".
  3. Rename the file something easy to remember, "myrules.serv" & "myrules" or whatev
  4. Open "myrules.serv" and edit the line "rulesetdir default" to point to your rules directory (e.g "rulesetdir myrules")
  5. Find file "game.ruleset" in "myrules" directory
  6. Find the line with killstack (section [combat rules].) and change the 1 to 0. (e.g "killstack=0")
  7. Start freeciv client and click "Start new game"
  8. In the drop down box labelled "Ruleset Version" you will find your mod "myrules" or whatev
  9. If that was fun read HACKING
Advertisement