Bigger Slower Trains


Makes trains feel more 'bulky' - Increases the locomotive weight & power & health, decreases top speed, increases for the cargo wagon & the fluid wagon weight & capacity & health

Content
5 months ago
0.16 - 2.0
1.12K
Trains

i Add [OS] Speed Trains

5 years ago

A user started the request of a the Bigger Slower Trains mod integration.
https://mods.factorio.com/mod/OS-Speed-Train/discussion/5d303f8024e58a000bd17e28

May you could add a optional dependency to my mod "? OS-Speed-Train>=0.5.0" and add the entities name = "speed-train" and name = "speed-cargo-wagon" to your data-updates.lua.

If not, I will fork your repo and add it myself :)

Best regards,
Heacien

5 years ago

Thanks for the response. Maybe effects on all trains will be more suitable?

5 years ago

If we can get all entities of a type instead of the name, then it should be possible and your mod would handle all trains in mods.

5 years ago

Yep

*A long time passed*

Probably, I will do it during my stream or not.

5 years ago
(updated 5 years ago)

*Sigh...*

There's no the stream and I don't develop anything with current possibilities...

5 years ago

Wait...
I do it now.

5 years ago

Added the integration.

5 years ago

Top thanks :)

5 years ago
(updated 5 years ago)

If you're still interested in making it work on all locomotives, modded or otherwise, you might be able to use code like:

for name,entity in pairs(data.raw["locomotive"])
   --do stuff
end

And if you put it in data-final-updates, you'll do so after most mods add/edit locomotives themselves.

5 years ago
(updated 5 years ago)

Yes... but I'm still a little bit messing with property "max_power". I can take numbers from the string but I don't think it's a good idea because I don't know what to do then with "kW" etc. If I'll ignore it, then I need too many times for tests...

5 years ago

If you want a simple solution, Optera wrote a library mod that includes a function that multiplies the power, properly interpreting kW, MW, etc. I use it in my mod, Multiple Unit Train Control, just by using OpteraLib as a dependency.

5 years ago

It definitely can help.

4 years ago

Hei @ZwerOxotnik,

I've also updated my mod to factorio version 1.0.
If you whish you can actualize your optional dependency to my SpeedTrain v1.0.0 :)

Greetings,
OnSive

4 years ago
(updated 4 years ago)

...

Okay

New response