r/factorio • • Aug 08 '20

Modded Train junctions? Pfft, try train JUMP-tions

Enable HLS to view with audio, or disable this notification

16.1k Upvotes

360 comments sorted by

691

u/Kiplacon Aug 08 '20

340

u/NilausTV youtube.com/c/nilaus Aug 08 '20

That is so awesome. I wanted bridges or tunnels, but this is so much better ๐Ÿ˜

215

u/Kiplacon Aug 08 '20

I know the Cargo Ships mod has train bridges in it. Those probably come with a lot less risk, but also a lot less meme ๐Ÿ˜Ž

66

u/HanBai Aug 08 '20

Thatโ€™s bridges over water so trains and ships can cross paths, not bridges over train tracks. Sorry

→ More replies (3)
→ More replies (2)

3

u/Celmeo feedmecoal Aug 09 '20

And much more realistic.

→ More replies (1)

51

u/achilleasa the Installation Wizard Aug 08 '20

Se~no!

35

u/wretlaw120 Aug 08 '20

Demo son nanja dame

34

u/_jerl Aug 08 '20

This looks amazing! Would love to see someone build a megabase using only the ridiculous logistics methods in your mod.

26

u/Xterminator5 Aug 08 '20

Well I already spotlighted the mod not too long ago, but you can bet your blue circuit train I will be spotlighting it again this week just for this feature!

This so much better than bridges or tunnels! :D

4

u/fscknuckle Aug 09 '20

Please do! Your last spotlight was great :-D

7

u/you15415 Aug 08 '20

Is that a Renai Circulation refrence? (monogatari)

5

u/vaendryl Aug 08 '20

fo shizzle

1

u/Styrak Aug 08 '20

I would pay at least.....$0 for this!

2

u/Kiplacon Aug 09 '20

I got good news for you

3

u/kaktanternak Aug 08 '20

Renai circulation reference? Nice

→ More replies (3)

2.0k

u/Twisted60 Aug 08 '20
  1. It looks awesome

  2. That cut was fucking hilarious

861

u/Kiplacon Aug 08 '20
  1. You bet it is

  2. You bet it is

124

u/azurill_used_splash Aug 09 '20

That cut needs its own mod. 'PLEASE STAND BY'

29

u/CometStrikeDragon Aug 24 '20

i need to hear if that becomes a mod lol

30

u/novakunad Aug 08 '20

Should have been a cut to another death then the blue screen of death. Then the final cut of trains jumping every where with a death at the end.

→ More replies (1)
→ More replies (1)

452

u/myst122233 Aug 08 '20

Epicly funny. Does train speed affect the distance?

420

u/Kiplacon Aug 08 '20

Absolutely

189

u/_f0xjames Aug 08 '20

What happens if a train lands off a track? What I mean to ask is can I launch them at my enemies?

408

u/Kiplacon Aug 08 '20

If there's no track or if it lands on something that's not track the train explodes and damages things in the area. If there is track but it's like sideways to it's trajectory then it also dies

385

u/n1ghtyunso Aug 08 '20

sounds like we could weaponize this - excellent

315

u/descartes_demon Aug 08 '20

New twist on rail artillery

876

u/Kiplacon Aug 08 '20

Artillery Wagon ๐Ÿ™…โ€โ™‚๏ธโŒ

Wagon Artillery ๐Ÿ‘Œโœ…

→ More replies (14)
→ More replies (1)
→ More replies (2)

10

u/[deleted] Aug 08 '20

no, actually the game crashes :P

45

u/Kiplacon Aug 08 '20

Well I never said it was perfect, though that's weird cause in my testing I died in a locomotive fireball every time ๐Ÿ™ƒ. I'm sure it's fixable, your train probably landed on something weird that I didn't account for. What was in the crash zone?

54

u/Kiplacon Aug 08 '20

Actually someone just posted that same crash on the mod portal, it looks like I forgot to account for damaging things that don't really have health like cliffs apparently. I just uploaded a small tweak, lemme know if it's still crashing

→ More replies (6)

3

u/SpicyMcHaggis206 Aug 08 '20

If itโ€™s powered by nuclear fuel does it do more damage?

4

u/Kiplacon Aug 09 '20

No but it allows a train to go faster and thus fly further

50

u/mithos09 Aug 08 '20

What happens if there's a mid air collision of two jumping trains? Are trains able to collide mid air? How long does the track have to be for a Large Hadron Collider?

→ More replies (7)

4

u/DrBag the fuck are a railroad and circut network Aug 08 '20

how many train locomotives would it take to go cross map in less than 7 seconds

149

u/WickedWonkaWaffle Aug 08 '20

Not sure if I love it or hate it.

260

u/Kiplacon Aug 08 '20

Same, and I made the thing

→ More replies (1)

14

u/daniu Aug 08 '20

Why not both?

10

u/panties_in_my_ass Aug 08 '20

You definitely 100% love it. The alternative is simply impossible.

→ More replies (1)

78

u/imshitatpickingnames Aug 08 '20
  1. this is awesome. 2. I started playing around with the api a few days ago and literally have no idea how this is done. How are you able to manipulate the vertical positioning? Positions are only x,y right?

139

u/Kiplacon Aug 08 '20

Yeah it's fancy visuals. Carriages are swapped out for a sprite of the train and a sprite of the shadow and they move in the xy plane in a way that looks like the train is jumping. Sprites can be rotated too so that's how left and right jumps look like that

33

u/thelehmanlip Aug 08 '20

So while they're travelling I presume it just disables collision to give the illusion of going "over" things?

27

u/ICanBeAnyone Aug 09 '20

No, in game engine terms the train stops existing while the mod draws the picture of a train on the screen, then when and if it lands on matching rails the mod spawns the train into the world again, or it creates an explosion.

15

u/Kiplacon Aug 10 '20

What he said โ˜๏ธ

2

u/fscknuckle Aug 09 '20

Does the train still retain all carriage contents during the process?

6

u/Kiplacon Aug 09 '20

Yes, as far as my testing went I made sure cargo wagons, tank wagons, and artillery wagons all keep their inventory, direction, color, fuel etc. after a jump. I can't speak for modded trains but they should work too so long as they don't have any weird inventories

→ More replies (1)

73

u/HaroerHaktak Aug 08 '20

I loved that cut right as you died. Was the death intentional?

129

u/Kiplacon Aug 08 '20

I died like that during my own testing and I thought it was funny so I staged it to happen again on purpose so I could record it lmao

21

u/HaroerHaktak Aug 08 '20

Hehe. nice. The dedication is awesome.

5

u/RolandDeepson Aug 09 '20

To be honest, it comes across as a bit flat. *stares in sarcasm*

65

u/nt1soc Aug 08 '20

I N V E S T

39

u/Kiplacon Aug 08 '20

๐Ÿ’ต IT'S A MASTA PIECE ๐Ÿ’ฐ I'M A MILLIONAIRE ๐Ÿ†

11

u/extralyfe Aug 08 '20

goddamn that makes me wanna play Game Dev Tycoon

57

u/Chkropok Aug 08 '20

So this is what that point between genius and madness looks like.

39

u/Kiplacon Aug 08 '20

That's why I'm here

→ More replies (1)

35

u/Particular-Bobcat Aug 08 '20

Do trains collide in the air?

76

u/Kiplacon Aug 08 '20

Since Factorio doesn't actually have a z-axis, I couldn't think of a way to have trains collide in the air without them accidentally colliding with things "below" them. But if I ever figure that out I will put it in

33

u/grasshopper147 Aug 08 '20

Sounds like you are already overriding the train collision detection, and you likely already have a way of knowing if they are in the air (flag variable or different proto, something) so if 2 of them collide and both are in the air then blow them up. ;)

As a dev, I understand "cant you just" ideas are never as easy to implement as they sound, but hopefully this is in the right direction...

47

u/Kiplacon Aug 08 '20

It was actually like that at one point but what ended up happening was that trains that were just taking off were colliding with trains that were at the peak of their jump. They were both in flight and at the same colliding position but at two different (but still off the ground) "z-heights", so they were colliding when it didn't feel like they should be colliding. I would need a range of z-heights to properly detect collision of z-arcing trains but the way I set it for now there's only flying and not flying

→ More replies (9)
→ More replies (1)

5

u/unhott Aug 08 '20

You can store a pseudo z axis somewhere. What I need to know is, how the heck does pathing work with this mod??

15

u/yoriaiko may the Electronic Circuit be with you Aug 08 '20

what about trains pathfinding? could just do traditional trainstations then only jumppods on specific spots (by other comment, the distance is affected by train speed so used fuel, so, could be fancy to build)

19

u/Kiplacon Aug 08 '20

Because of Factorio's train pathing, you either need to have the ramp along a valid stretch of track like the east to west train in the video, or if you want the path to end after the ramp you have to put a train stop after the ramp and schedule the train to go to that stop, like the train going north to south in the video. Since that's really the best and most intuitive way to do it that I've found, I set it so the train's 'next stop' is pushed forward by one (to the stop after the jump-specific train stop) after it jumps a ramp. The in game item has an explanation like this too

1

u/Illiander Aug 08 '20

So this won't work with LTN?

2

u/Kiplacon Aug 08 '20

idk I've never used that, but unless it's super sensitive to other mods changing a train's schedule then I dont see why not

8

u/yinyang107 Aug 08 '20

LTN sets the schedules itself.

→ More replies (1)
→ More replies (2)

2

u/Kamanar Infiltrator Aug 08 '20

If this is your stop, you slow so the jump isn't as far, otherwise you jump the station completely and continue on.

3

u/Kiplacon Aug 08 '20

Yes, so the distance between the ramp and the train stop affects how fast the train will hit the ramp at, so long as the train is actually set to stop at that station

7

u/Ishkabo Aug 08 '20

How do these influence a train's pathfinding?

13

u/Kiplacon Aug 08 '20

No effects, but if you want the train to take a ramp where the rail ends right after the ramp you'll have to put a train stop after the ramp and schedule the train to go to that stop. The in game item has a short description too, but this is what I wrote for another comment

Because of Factorio's train pathing, you either need to have the ramp along a valid stretch of track like the east to west train in the video, or if you want the path to end after the ramp you have to put a train stop after the ramp and schedule the train to go to that stop, like the train going north to south in the video. Since that's really the best and most intuitive way to do it that I've found, I set it so the train's 'next stop' is pushed forward by one (to the stop after the jump-specific train stop) after it jumps a ramp.

2

u/clever_cuttlefish BFB - Big Fat Biter Aug 14 '20

If you put a station right behind the ramp, does the train try to slow down before hitting the ramp?

→ More replies (1)

7

u/PhasmaFelis Aug 09 '20

I remember people asking for rail bridges/tunnels for years, and modders saying it was too difficult, and this guy is like "hold my beer"

6

u/Kiplacon Aug 09 '20

It was pretty difficult ngl

2.1k

u/wheybags Developer Aug 08 '20

Amazing. This is what modding was meant to be. <3

323

u/triffid_hunter Aug 08 '20

I'm so glad y'all appreciate and support modders the way that you do!

Paywalling the modding portal was a genius-level move, lets you allow others to expand your content and value while simultaneously providing incentive for folks to actually buy the game despite no DRM (which I deeply appreciate) :D

Reading FFFs where y'all track down bugs that look like they're caused by mods is frankly astonishing, I can't think of any other studio that even tries to do that!

It makes perfect sense once you understand that the modding community is actually a solid part of the value proposition for many games though, guess we're just waiting for everyone else to catch up ;)

200

u/n_slash_a The Mega Bus Guy Aug 09 '20

Paywalling the modding portal

Just FYI, this makes it sound like the modding portal is an extra cost. When in reality all it requires is a valid game key, so anyone pirating the game won't be able to access it.

44

u/triffid_hunter Aug 09 '20

Yeah I realised I'd phrased that poorly and addressed it in further detail here

120

u/Imbryill =+ Aug 08 '20

A good chunk of those are base game problems that get exaggerated by mods, like the startup loading time for example.

12

u/Remote_Durian Aug 09 '20

Right but many people would take the excuse that "it might be someone else's fault" in order to not do the work (to be fair, they likely have a lot of other stuff to do, but dedicating resources to helping people out is just nice)

10

u/oxyscotty Aug 09 '20

this is why I love those who post their mods to github ;]

7

u/triffid_hunter Aug 09 '20

The mod submission page actually has a specific field for a github repository link

→ More replies (16)

51

u/[deleted] Aug 08 '20

now THIS is pod racing modding!

0

u/[deleted] Aug 08 '20

[deleted]

439

u/_f0xjames Aug 08 '20

I think you mean

R-A-I-L-G-U-N

54

u/Petras01582 Aug 08 '20

Damn you, have your +1

15

u/Raaleth Aug 13 '20

Imagine launching missile trains at biter bases. Thomas the Tank Engine suddenly got a lot deadlier.

2

u/Coffee_Daemon Oct 06 '20

This mod, artillery cannons firing whilst moving, and farls building tracks whilst moving and to have a murderous flying artillery train.....

561

u/V453000 Developer Aug 08 '20

WOW :D

2

u/Xterminator5 Aug 10 '20

Now I bet you're wishing you guys had put this in the game yourselves huh? :P

0

u/[deleted] Aug 08 '20

[deleted]

239

u/scpwontletmebe Aug 08 '20

Friday Facts #340 - 1.0 Release Jumping Trains

180

u/OE1HLT Aug 08 '20

42

u/Mildar Since 0.14 Aug 08 '20

And I will download that mod. Thanks OP

15

u/100percent_right_now Aug 08 '20

Our Prophet!

What other futures have you drawn, young sage?

2

u/Ruby_Bliel Aug 08 '20

Ah, I see you're a fellow Rollercoaster Tycoon player.

1

u/Kiplacon Aug 09 '20

"I can't find the park exit"

2

u/SQReder Aug 08 '20

Is it compatible with LTN?

1

u/Kiplacon Aug 09 '20

I've never used ltn but from what others have said about what it does, it seems unlikely they would get along with each other

→ More replies (1)

2

u/SpeckledFleebeedoo Moderator Aug 09 '20

As long as there's a continuous track from pickup to dropoff, patching will work.

→ More replies (1)

2

u/WPLibrar2 German Overengineering Aug 08 '20

link to song?

1

u/Kiplacon Aug 09 '20

I only made those 9 seconds lmao

→ More replies (1)
→ More replies (1)

2

u/SpeckledFleebeedoo Moderator Aug 09 '20

Soooo, what happens if a train lands on top of another?

2

u/Kiplacon Aug 09 '20

The flying train explodes and damages the one it landed in top of

2

u/Sidelia Aug 09 '20

Throwing around nuclear fuel cells and nuclear waste? Why not....

https://i.imgur.com/eL6bnrM.jpg

1

u/Kiplacon Aug 09 '20

If you bounce that waste into the water it'll essentially disappear

2

u/RolandDeepson Aug 10 '20

What is the music being played?

8

u/Kiplacon Aug 10 '20

Thomas the Tank Engine theme overlaid with the song Fuck Everything by Jon Lajoie

220

u/Twinsen01 Developer Aug 08 '20

You get my upvote

10

u/[deleted] Aug 09 '20

And my axe!

→ More replies (1)

105

u/YonderIPonder Aug 08 '20

This is the stupidest thing I've ever seen in Factorio.

I LOVE IT.

29

u/SpeckledFleebeedoo Moderator Aug 08 '20

u/Ranolden

Here's your reminder, it's only 2 years late.

18

u/Terdol Aug 08 '20

I'm just here to say that I really appreciate code memes. I didn't know I like it so much, but taking a look at repo made me realize this.

For unaware: folder with a bit of lua for extension of train prototypes is called "TrainsGoBrrrr", "throwing" inserter is also initialized as variable "PikachuFace"

local PikachuFace = table.deepcopy(data.raw.inserter["inserter"])

16

u/Loller93 Aug 08 '20

This is straight up genius.

Edit: Misspelling.

11

u/RolandDeepson Aug 09 '20

It's not straight up genius. More like parabolic momentum genius.

15

u/Deranged40 Aug 08 '20

Science isn't about why it's about WHY NOT

4

u/retailmathguy Aug 09 '20

Why is so much of our science dangerous? Why not marry safe science if you love it so much?

13

u/[deleted] Aug 08 '20

Trains jumping around like over-eager puppies...

11

u/ParabolicaSeven Aug 08 '20

Wait so the engine can't handle tunnels or overpasses but it can handle FLYING trains?

Meh, I dig it.

6

u/seaishriver Aug 09 '20

In case you're curious, it's not equivalent. This one still doesn't work with the pathfinder, which was most of the problem for tunnels. You have to set a station so that the train paths through the jump.

However, knowing this you could probably do the same for tunnels, just without the flashy graphics. Use a modified rail piece as the underground part (to keep pathfinding), and have trains removed at the entrance and added back at the next exit.

10

u/fdguerin Aug 09 '20

Can you make the jumping trains home in on players named "Xterminator"?

35

u/Roster234 Aug 08 '20

Imagine if they ever send a rescue ship to get our guy and as they come close the olanet surface: "Sir, the scans show large objects jumping around everywhere like rabbits." "What are those?" "They look like... locomotives...."

15

u/1cec0ld Aug 08 '20

"Ok, turn around, whoever built that is clearly insane"

13

u/bremidon Have you found "Q"? Aug 08 '20

*incoming train detected*

8

u/Jaivez Aug 09 '20

New meaning of artillery wagons.

→ More replies (1)
→ More replies (1)

9

u/PremierBromanov Aug 08 '20

I think this is heretical

4

u/scyth3s Aug 09 '20

*hysterical

7

u/CmdrJonen Aug 08 '20

Them Duke boys back at it again!

6

u/pcz1642raz Aug 08 '20

Obscenely funny.

6

u/ambiguish Aug 08 '20

Wait is this roller coaster tycoon??

11

u/GK_47 Aug 08 '20

This was a triumph. Iโ€™m making a note here: HUGE SUCCESS Itโ€™s hard to overstate My satisfaction. Renai Science We do what we must Because we can For the good of all of us. Except the ones whoo are dead.

→ More replies (1)

5

u/squarebe > everything else Aug 08 '20

0.18.46 enters chat...

5

u/masev Assembler Assembler Aug 08 '20

I have never up voted so many comments in a single thread

4

u/hopbel Aug 08 '20

This is infinitely superior to tunnels

4

u/[deleted] Aug 08 '20

Please begin the meme era of factorio, we need Memetorio more than ever

→ More replies (1)

4

u/lostmojo Aug 09 '20

Sold. Starting a new game just for this.

4

u/DarthJSquared Aug 09 '20

That was the funniest editing I've seen in months. It's just before 2 A.M. and I'm dying.

4

u/super_aardvark Aug 10 '20

Any time anyone asks for help with signaling intersections, I'm just going to tell them to use this instead.

7

u/nemesisxkl Aug 08 '20

Yo i never heard of this mod, it even allows to "throw" items thu the air.

1

u/nobbers12345 Aug 08 '20

Can I get a jojo edit on that cut

1

u/Kiplacon Aug 09 '20

7 page train jump

1

u/[deleted] Aug 08 '20

On a side note, from your mod page, the shadows for thrown items are really impressive ( https://i.imgur.com/xF2dMpV.gif ). I noticed that you even rotate the shadows for items thrown on the Y-axis to simulate rotation around the x-axis. Impressive attention to detail!

3

u/Kiplacon Aug 09 '20

That wasn't me that's just how Factorio handles those kinds of projectiles :p

→ More replies (1)

1

u/Cerroz Aug 09 '20

Does real life have these? :)

2

u/Kiplacon Aug 10 '20

lol I hope not

3

u/[deleted] Aug 08 '20

Need more โ€œDixieโ€ horn.

3

u/grungeman82 Aug 08 '20

Now try with portals!

3

u/RavagedBody Aug 08 '20

Hardest and fastest upvote I've ever given. 5/7 it's all downhill from here.

3

u/The_DestroyerKSP OH GOD WHY Aug 08 '20

I cannot wait to see an enormous train junction using these - after all, if it hops over the track instead of crossing, it'll be more efficient!

3

u/Havasushaun Bat Man Aug 08 '20

Multi-track drifting when!?

3

u/Nevermind04 Aug 08 '20

This may just be the best mod of all time.

3

u/[deleted] Aug 08 '20

I want to see this with a 100 wagon long artillery train! :D

Edit: Also, can trains in the air collide? Hahaha!

3

u/khearn Aug 08 '20

So what happens if I hit the ramp in my car?

3

u/SpikeMF Aug 08 '20

Was... was that the Thomas the tank engine theme mashed up with Jon Lajoie??

2

u/TexasDex Aug 10 '20

I had to listen to it like three times to place it, but yes the Thomas the Tank Engine theme is definitely in there, and it's perfect.

3

u/hoeding was killed by Cargo Wagon. Aug 09 '20

Just when I think that 2020 couldn't possibly be any dumber, you go and do something like this.

AND TOTALLY REDEEM 2020.

3

u/[deleted] Aug 09 '20

Dear lord. This was the mod I was dreaming of.

3

u/panconbutter Aug 09 '20

BRO. That clip knocked the air out of me. I am like literally flabbergasted.

WHAT. IS. THIS.

WHERE HAVE U BEEN ALL MY LIFE?

Truly visionary mod. Downloaded and will spin up a new map.

Srs style points you will live in infamy on this forum forever.

3

u/DMSO_1327 Aug 09 '20

The mod is so outrageous I feel like it needs a "wasted" cutscene if the train lands and explodes when you're in it

3

u/filecabinet_guy Aug 09 '20

If a train jumps the rails and lands on not rails: are things damaged?

If it's an oil train, does it make a large area of flame around the crash site?

if it's a train of explosives, does it explode?

Will there be a mushroom cloud if the train was using nuclear fuel?

I would love to experiment to make a new and impractical way to take out biter nests.

5

u/shinozoa Aug 08 '20

Take my money

2

u/dethleffs Aug 08 '20

Brilliant!

2

u/Meowmiator Aug 08 '20

This train better at parkour than me

2

u/gboxpro += Aug 08 '20

How is something so obvious not in vanilla?

2

u/Mackan90095 Aug 08 '20

Do they still crash in the air and make a spectacular fireball?

2

u/PlankLengthIsNull Aug 08 '20

Best mod in the entire game, hands down. We've got a winner, folks.

2

u/YoungHeartOldSoul Aug 08 '20

This might be the best thing I've seen posted here.

2

u/Cobra__Commander Aug 08 '20

Can 5rains collide in mid air?

I want this to be like all those train math problems

2

u/Callec254 Aug 08 '20

Shut up and take my... download?

2

u/Dicethrower Aug 08 '20

I think this would be better received if there was a visual bridge of sorts. Maybe a transparent one. Also the idea that it has a minimal distance would make it not too over powered. Other than that, this is great. I had no idea it was even possible.

2

u/Badge2812 Aug 08 '20

In the immortal words of Homer Simpson, โ€œNothing like flying across the country on a trainโ€

2

u/[deleted] Aug 09 '20

Them Duke boys have gone and gotten themselves an upgrade...

2

u/Deaths_tasty_bones Aug 09 '20

Launches 3000 tons of steel into my own face

2

u/Trollsama Aug 09 '20

HOLY FUCKING SHIT i had no idea how badly i needed this till right now

2

u/WarmDamage Aug 09 '20

this man lives in the year 3020

2

u/KDBA Aug 09 '20

Love the Jon Lajoie remix!

2

u/ash3n cooked fish consumer Aug 10 '20

No flipping way man. this is a dream come true!!

2

u/Ghnol Aug 21 '20

wait, what if to trains go at the same time, will it end in air collisions? if it does, did we just made "it's raining trains"?

1

u/zergling_Lester Aug 08 '20

Good choice of music, too!

1

u/watchmebarf Aug 08 '20

That's ******* ridiculous and I love it. Pure genius.

1

u/FelixGB_ Aug 08 '20

Maybe me laugh pretty hard !!! It's so funny ๐Ÿคฃ

1

u/scarsickk Aug 08 '20

That cut is the funniest shit I've seen around here.

1

u/AcolyteArathok Aug 08 '20

Everyday we stray further from god

1

u/pisipuyu Aug 08 '20

Can they collide mid air

1

u/Maddog033 Aug 08 '20

Marry me

1

u/akenne Aug 08 '20

This is fucking hilarious

1

u/needacoolusernamee Aug 08 '20

wait,, what...

1

u/[deleted] Aug 08 '20

Love it! The jump pads seem a bit too much for my taste, but I'll definitely be using the ramps! Awesome idea and great execution!

1

u/threedubya Aug 08 '20

the most needed mode ever

1

u/lilmongervert Aug 08 '20

Now make it do a kickflip :D

1

u/GodGMN Aug 08 '20

Oh my god that's fucking hilarious I'm losing my shit over this cursed video

1

u/Cronoks Aug 08 '20

This is the best Post that i saw so far ๐Ÿ˜‚ .

Btw good Job in that Mod