How do you disable pollution?

Smallpox vs. largepox, gen2 vs gen5, early war vs. peaceful alliances. Which is your favourite gaming style?
Post Reply
gatorized
Posts: 5
Joined: Sat Mar 19, 2022 2:45 am

How do you disable pollution?

Post by gatorized »

GTK 3.22
nef
Elite
Posts: 324
Joined: Mon Jun 25, 2018 5:01 pm

Re: How do you disable pollution?

Post by nef »

gatorized wrote:GTK 3.22
This is actually a server (ruleset) issue, not a client. The easiest way that I can think of is to change game.ruleset section [civstyle] field base_pollution to some large NEGATIVE number e.g. -100. Server options can be used to avoid the global consequences but not the pollution on a tile.
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: How do you disable pollution?

Post by Ignatus »

nef wrote:
gatorized wrote:GTK 3.22
This is actually a server (ruleset) issue, not a client.
But I remember there is a client option to disable the display of "nuisances". It can be saught for in client options list, accessible from the main menu. But on the server the pollution will be still present and change the tiles' output.
nef
Elite
Posts: 324
Joined: Mon Jun 25, 2018 5:01 pm

Re: How do you disable pollution?

Post by nef »

Yes indeed, Game->Options ->local Client -> Graphics as well as View. If turned off you may still see it by its effect in reducing the tile produce for some tiles (e.g. city DB summary or tile inspection using the mouse).
gatorized
Posts: 5
Joined: Sat Mar 19, 2022 2:45 am

Re: How do you disable pollution?

Post by gatorized »

Found the solution : Change base_pollution in game.ruleset to -9999
cazfi
Elite
Posts: 3094
Joined: Tue Jan 29, 2013 6:54 pm

Re: How do you disable pollution?

Post by cazfi »

Removing Pollution extra from terrain.ruleset should work.
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: How do you disable pollution?

Post by Ignatus »

cazfi wrote: Sat Dec 02, 2023 4:38 am Removing Pollution extra from terrain.ruleset should work.
That does not remove pollution➡️ilness influence since it is calculated from city output value, not what lays on the map. If you want to change the ruleset, you can as well disable all "Pollu_Pop_Pct[2]" and "Pollu_Prod_Pct" effects, just modding civstyle.base_pollution is faster. Maybe we should ever have a switch for it in the server options.
Wyliecrymn
Posts: 1
Joined: Mon Jan 22, 2024 6:51 pm
Contact:

Re: How do you disable pollution?

Post by Wyliecrymn »

How does modifying the "base_pollution" field in the game.ruleset or removing the "Pollution" extra from terrain.ruleset affect pollution in the game, and what are the implications for gameplay?
:)
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: How do you disable pollution?

Post by Ignatus »

https://freeciv.fandom.com/wiki/Cities#Pollution

Your cities produce some (effects controlled) amount of pollution points proportionally to its population and its production per turn. This anount contributes to the probability that a pollution extra appears in one of the city tiles. But base_pollution is subtracted from the amount; if the result is not positive, pollution just never appears (unless some industrial disaster strikes but it is rare and presents not in all rulesets).
Post Reply