[FULFILLED] Mod to increase pollution spread
- MalcolmCooks
- Filter Inserter
- Posts: 253
- Joined: Mon Apr 06, 2015 8:32 pm
- Contact:
[FULFILLED] Mod to increase pollution spread
Since changing from .12 to .14 it seems to me like pollution does not spread as far... I think some people have mentioned that this is because tree density was increased, but the pollution absorption effect of trees was not changed. So I would like to have a mod that will re-balance it by decreasing the pollution absorption of trees, and maybe of the terrain tiles as well. I know that something so simple I could probably make myself, and I am actually looking into doing that, but I have never used lua or made a mod so I want to see what an accomplished modder can come up with
Last edited by MalcolmCooks on Mon Dec 12, 2016 11:51 pm, edited 1 time in total.
-
- Fast Inserter
- Posts: 183
- Joined: Sun Feb 21, 2016 6:33 pm
- Contact:
Re: [REQUEST] Mod to increase pollution spread
Perhaps you can solve your issue from a different angle. Bob's mods include a Pollution Module that makes machines pollute more...
You would need the entire package of mods though, because of all the pre-required items..
You would need the entire package of mods though, because of all the pre-required items..
- MalcolmCooks
- Filter Inserter
- Posts: 253
- Joined: Mon Apr 06, 2015 8:32 pm
- Contact:
Re: [REQUEST] Mod to increase pollution spread
Well, I don't want to increase the amount of pollution because I don't want to increase the rate at which the evolution factor increases, which as I understand is based on the total amount of pollution you have created, and not what has actually been absorbed by spawners. It would be pretty easy just to increase the emissions of all the polluting machines
- Ranakastrasz
- Smart Inserter
- Posts: 2174
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [REQUEST] Mod to increase pollution spread
Raw Code Responsible.
Prototype changes to make
Additionally, you will want to look at the Eco Trees mod, which increases how much pollution trees absorb, so you can reverse it.
Code: Select all
\data\base\prototypes\map-settings.lua
Code: Select all
data.raw["map-settings"]["map-settings"]["pollution"].diffusion_ratio=0.02
data.raw["map-settings"]["map-settings"]["pollution"].min_to_diffuse=15
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- MalcolmCooks
- Filter Inserter
- Posts: 253
- Joined: Mon Apr 06, 2015 8:32 pm
- Contact:
Re: [REQUEST] Mod to increase pollution spread
That's very helpful thanks
Re: [REQUEST] Mod to increase pollution spread
You can change those runtime if you want. The prototype values just define the defaults.Ranakastrasz wrote:Raw Code Responsible.Prototype changes to makeCode: Select all
\data\base\prototypes\map-settings.lua
Additionally, you will want to look at the Eco Trees mod, which increases how much pollution trees absorb, so you can reverse it.Code: Select all
data.raw["map-settings"]["map-settings"]["pollution"].diffusion_ratio=0.02 data.raw["map-settings"]["map-settings"]["pollution"].min_to_diffuse=15
If you want to get ahold of me I'm almost always on Discord.
- Ranakastrasz
- Smart Inserter
- Posts: 2174
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [REQUEST] Mod to increase pollution spread
What are the commands for that?
And that doesn't apply to the trees. You can't change prototypes after game load.
And that doesn't apply to the trees. You can't change prototypes after game load.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [REQUEST] Mod to increase pollution spread
http://lua-api.factorio.com/latest/Conc ... apSettingsRanakastrasz wrote:What are the commands for that?
And that doesn't apply to the trees. You can't change prototypes after game load.
If you want to get ahold of me I'm almost always on Discord.
- MalcolmCooks
- Filter Inserter
- Posts: 253
- Joined: Mon Apr 06, 2015 8:32 pm
- Contact:
Re: [FULFILLED] Mod to increase pollution spread
I've managed now to make this mod, and I'm pretty pleased with the results
Here's a comparison on two similar test maps, once the pollution cloud has reached a steady state:
Here's a comparison on two similar test maps, once the pollution cloud has reached a steady state:
test 1
test 2
Now that it is working, I will use it on real worlds to balance it properly towards my playstyle. I'll make it configurable but use my values as the default. Then onto the mod portal it goes