Factorio

Factorio

View Stats:
CRWNxFIRE Jul 11, 2017 @ 8:56pm
Train Damage Formula
Does anyone know what it is? I have a variety of trains ranging from 1 locomotive and 2 wagons up to 2 locomotives and 7 wagons, and I usually wear power armour MK2 with 12 energy shield MK2s and lets just say that it can take impacts from some trains like it's nothing but I still get flattened by others. I also tried running trains into closed gates (as in walls) on the track, and some could only knock down 1 or a few, while the big train plowed through 12 in a row without visibly slowing at all. It makes me wonder if there's anything in the game that could stop it / survive it, and also makes me thing the formula must include at least one power of 2 somewhere...
< >
Showing 1-15 of 17 comments
Speedbird Jul 11, 2017 @ 9:01pm 
I'm guessing that the 1:2 locomotives are ones that kill you every time?

I've found that a big train just leaving the station won't do as much damage as a small train at speed.
CRWNxFIRE Jul 11, 2017 @ 9:02pm 
Originally posted by Battleboy43:
I'm guessing that the 1:2 locomotives are ones that kill you every time?

I've found that a big train just leaving the station won't do as much damage as a small train at speed.
The problem one is the big one with two locomotives and 7 cargo wagons full of iron ore moving at full speed lol
I can survive the shorter trains (1 locomotive and 2 - 4 cargo wagons) without issue generally speaking, even when they're moving quite fast.
Speedbird Jul 11, 2017 @ 9:17pm 
Originally posted by ryanvgames:
Originally posted by Battleboy43:
I'm guessing that the 1:2 locomotives are ones that kill you every time?

I've found that a big train just leaving the station won't do as much damage as a small train at speed.
The problem one is the big one with two locomotives and 7 cargo wagons full of iron ore moving at full speed lol
I can survive the shorter trains (1 locomotive and 2 - 4 cargo wagons) without issue generally speaking, even when they're moving quite fast.
Interesting.

I figured more damage would be caused by higher speeds, but it seems to be dependant on the speed and size of the train.

I mean, a planet coming at your face at 50,000mph is far worse than an asteroid at 1,000,000mph.
CRWNxFIRE Jul 11, 2017 @ 9:33pm 
Originally posted by Battleboy43:
Originally posted by ryanvgames:
The problem one is the big one with two locomotives and 7 cargo wagons full of iron ore moving at full speed lol
I can survive the shorter trains (1 locomotive and 2 - 4 cargo wagons) without issue generally speaking, even when they're moving quite fast.
Interesting.

I figured more damage would be caused by higher speeds, but it seems to be dependant on the speed and size of the train.

I mean, a planet coming at your face at 50,000mph is far worse than an asteroid at 1,000,000mph.
It makes sense that both speed and mass would affect it, but the "issue" I'm having is it seems it's not a linear relationship with mass - rather, the damage increases dramatically. Or, perhaps it's with the number of locomotives? I haven't isolated either variable so I actually can't say for sure :/
juliejayne Jul 12, 2017 @ 4:00am 
And why are you trying to figure out how many walls a train can go through? All I know is that they keep damn well killing me.
Magic Kyrano Jul 12, 2017 @ 4:54am 
One thing that helps me very much in 0.15, is that you can see the trains on the minimap now. (and also on the big map). When I want to cross a set of tracks, I usually look up right to the minimap while crossing, that way I can see if there are trains coming, and stop if need be.

Since that I haven't been killed by trains any more, but sadly, with the increase of speed of trains with rocket fuel, and many more trains in the map, I've had many trains literally drive through my manually operated trains with wagons, and lost many a cargo....
Last edited by Magic Kyrano; Jul 12, 2017 @ 4:55am
CRWNxFIRE Jul 12, 2017 @ 12:03pm 
Originally posted by juliejayne:
And why are you trying to figure out how many walls a train can go through? All I know is that they keep damn well killing me.
It's a long story but the result of my test was very interesting, how some "medium sized" trains could only go through a few gates while one that was only about twice as large smashed 12 like they weren't even there. It got me thinking about what the equation is for train collision damage.


Originally posted by Magic Kyrano:
One thing that helps me very much in 0.15, is that you can see the trains on the minimap now. (and also on the big map). When I want to cross a set of tracks, I usually look up right to the minimap while crossing, that way I can see if there are trains coming, and stop if need be.

Since that I haven't been killed by trains any more, but sadly, with the increase of speed of trains with rocket fuel, and many more trains in the map, I've had many trains literally drive through my manually operated trains with wagons, and lost many a cargo....
Dying to them isn't really a problem, I have a set of rules I follow and I pay attention, and I manage to avoid death extremely well, but I'm still curious what the equation is. Perhaps with it in hand, I could figure out how many shields you need to survive a hit from a train of a certain size, or inversely, could only craft trains under a certain survivable size.
Harry Jul 12, 2017 @ 3:23pm 
I have trains with 4 locomotives and 5 cargo wagons and even with 8 MK 2 shields I won't survive. So I do it like in RL, I build walls around my train tracks and construct save passages with gates connected to train signals to prevent death by train.
CRWNxFIRE Jul 12, 2017 @ 3:31pm 
Originally posted by Harry:
I have trains with 4 locomotives and 5 cargo wagons and even with 8 MK 2 shields I won't survive. So I do it like in RL, I build walls around my train tracks and construct save passages with gates connected to train signals to prevent death by train.
I actually thought up and added the same thing yesterday lol
Train damage on hit: speed² * weight + (acceleration² * weight * 0.5) + (orientationchange² * weight * 0.5) / energyperhitpoint

At a certain point, if the train does enough damage to something, it doesn't decelerate after killing something - the result is that millions of gates can't stop a train.
CRWNxFIRE Sep 30, 2017 @ 2:06pm 
Originally posted by Chrisfox:
Train damage on hit: speed² * weight + (acceleration² * weight * 0.5) + (orientationchange² * weight * 0.5) / energyperhitpoint

At a certain point, if the train does enough damage to something, it doesn't decelerate after killing something - the result is that millions of gates can't stop a train.
Wow, this is exactly what I was hoping for. This explains everyhting, thanks! Now to do some math with that to decide on how I want to set them up...
Lingluo Sep 30, 2017 @ 4:44pm 
Originally posted by Chrisfox:
At a certain point, if the train does enough damage to something, it doesn't decelerate after killing something - the result is that millions of gates can't stop a train.
I wonder what is the "certain point".There must be a formula.
RiseOfDeath Oct 8, 2022 @ 1:58am 
Originally posted by Chrisfox:
Train damage on hit: speed² * weight + (acceleration² * weight * 0.5) + (orientationchange² * weight * 0.5) / energyperhitpoint

At a certain point, if the train does enough damage to something, it doesn't decelerate after killing something - the result is that millions of gates can't stop a train.
In which units speed (m/s. km/h), acceleration (Im W, MW, GW ?) and etc ?
Last edited by RiseOfDeath; Oct 8, 2022 @ 1:59am
schnappkatze Oct 8, 2022 @ 2:02am 
Since the thread got already necroed this might be a good place to ask: Is for a cargo wagon's weight taken into account what has been loaded? Is a wagon full of steel heavier than a wagon full of ore? Or does every fully loaded wagon have the same weight?
knighttemplar1960 Oct 8, 2022 @ 11:02am 
Originally posted by RiseOfDeath:
Originally posted by Chrisfox:
Train damage on hit: speed² * weight + (acceleration² * weight * 0.5) + (orientationchange² * weight * 0.5) / energyperhitpoint

At a certain point, if the train does enough damage to something, it doesn't decelerate after killing something - the result is that millions of gates can't stop a train.
In which units speed (m/s. km/h), acceleration (Im W, MW, GW ?) and etc ?
The game uses metric (1 tile is one meter), 1 unit of fluid is one liter, units per second for calculations, and joules for energy (1 joule per second is 1 watt).


Originally posted by schnappkatze:
Since the thread got already necroed this might be a good place to ask: Is for a cargo wagon's weight taken into account what has been loaded? Is a wagon full of steel heavier than a wagon full of ore? Or does every fully loaded wagon have the same weight?
The weight difference is taken into account between artillery wagons and cargo/fluid wagons. It takes 2 engines to pull 4 artillery wagons and only one to pull 4 cargo wagons at roughly the same speed.

It would be easy enough to test. Build sets of parallel rails, put filled and empty trains (both cargo and fluid wagons) using the exact same type of fuel in the same spot on the rails and switch them from manual to automatic at the same time and see which set up travels faster or not.
Last edited by knighttemplar1960; Oct 8, 2022 @ 11:05am
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Jul 11, 2017 @ 8:56pm
Posts: 17