TransWikia.com

Setting for disabling SDI defense?

Arqade Asked on May 5, 2021

I wish to play a Freeciv game where no player can build SDI defenses. Is there a setting to prevent the building of SDI defense in Freeciv games?

One Answer

I found a way to make the SDI defense useless. This is not the proper way because SDI defense can still be researched and built, so this solution does not really satisfy one of the requirements of the question:

... prevent the building of SDI defense ...

Method:

  1. Open the effects file for the ruleset you are playing (for the classic ruleset, the file is data/classic/effects.ruleset).

  2. SDI defense has a "nuclear-proof" effect because of an entry in the effects file, so that entry must be removed or commented-out. In the effects file for the classic ruleset in Freeciv 2.5, the "nuclear-proof" effect is caused by the following lines:

    [effect_sdi_defense]
    type    = "Nuke_Proof"
    value   = 100
    reqs    =
        { "type", "name", "range"
          "Building", "SDI Defense", "City"
        }
    

    So to make SDI defense useless, comment out those lines by inserting semicolons like this:

    ;[effect_sdi_defense]
    ;type    = "Nuke_Proof"
    ;value  = 100
    ;reqs   =
    ;    { "type", "name", "range"
    ;      "Building", "SDI Defense", "City"
    ;    }
    

Answered by Flux on May 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP