Setting for disabling SDI defense?

by Flux   Last Updated August 01, 2020 14:14 PM

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?

Tags : freeciv


Answers 1


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"
    ;    }
    
Flux
Flux
August 01, 2020 14:03 PM

Related Questions


Why can't I transform tundra?

Updated July 21, 2015 13:06 PM

Cost of inciting a revolt

Updated August 24, 2015 20:06 PM

How can a warrior take an enemy city?

Updated September 01, 2017 20:14 PM

Freeciv-Server failing to save

Updated April 23, 2018 06:14 AM

How to bribe ships in Freeciv?

Updated March 11, 2019 12:14 PM