[MOD 0.16] Diesel Locomotive

Topics and discussion about specific mods
evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

[MOD 0.16] Diesel Locomotive

Post by evildogbot100 »

Type: Mod
Name: Diesel Locomotive
Description: Change vanilla locomotive behaviour so they use fluids as fuel instead of fuel item
License: MIT
Version: 0.1.6
Release: 2017-06-19
Tested-With-Factorio-Version: 0.16.12
Category: Gameplay
Tags: Train, Oil
Download-Url: https://mods.factorio.com/api/downloads ... _0.1.6.zip
Website: https://mods.factorio.com/mods/evildogb ... Locomotive
License
Long description
Pictures
Version history
Edit 17/7/2019:
FuryoftheStars is now the main developer, please refer to him for bugs and questions.
Last edited by evildogbot100 on Tue Jul 16, 2019 8:26 pm, edited 9 times in total.

Carch
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jul 02, 2016 5:49 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Carch »

I like the idea, but installing this mod just makes the game unable to start. I keep getting a 'failed to load mods, no map settings instance' error. I've doublechecked, even with just the 15.2 release version and only this mod I get the error untill I remove diesel locomotive.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

Can you post the error code here? or a screenshot

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2328
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Optera »

You have to add a condition for using KS-Power or anyone not having it installed will get an error when your mod tries referencing fluids from that mod.

Code: Select all

if data.raw.fluid["diesel-fuel"] then
  USABLE_FLUID["diesel-fuel"] = {
    fuel_value = "2500KJ",
    fuel_acceleration_multiplier = 1.8,
    fuel_top_speed_multiplier = 1.15
  }
Last edited by Optera on Wed Jun 21, 2017 10:59 am, edited 1 time in total.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

I have patched the bug.

User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 258
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by ZombieMooose »

Awesome idea.

I have some requests/suggestions.

Expand to tanks and cars, and at support for modded vehicles (Bob's, Angel's, AAI).

Cheers

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

Tanks and cars doesn't have a good pump connecting animation though, besides, they are annoying to align with pumps manually

User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 258
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by ZombieMooose »

evildogbot100 wrote:Tanks and cars doesn't have a good pump connecting animation though, besides, they are annoying to align with pumps manually
Fair enough. I wouldn't care about the animation though, and you could use belts to get into the right position.

Seldion
Inserter
Inserter
Posts: 43
Joined: Sat May 24, 2014 8:22 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Seldion »


noote54
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jul 02, 2017 12:26 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by noote54 »

Hi. great mod, Have you considered have a portable fuel system for those time when you run out of diesel, it can be tricky at those times :roll:

nogoodgamers
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jun 30, 2017 8:41 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by nogoodgamers »

hey here is my save file for the game that is corrupt please take a look at why it is doing it
Attachments
factorio 15.x.zip
(12.73 MiB) Downloaded 44 times
NoGoodGamers

Seldion
Inserter
Inserter
Posts: 43
Joined: Sat May 24, 2014 8:22 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Seldion »

noote54 wrote:Hi. great mod, Have you considered have a portable fuel system for those time when you run out of diesel, it can be tricky at those times :roll:
Yeah it would be cool to be able to have it where if there is a fluid cart in the chain that it can draw from that, other wise you have to set up refueling spots where you have to take it out of the tanker and pump it into the engine.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

This mod no longer works since 0.15.28 because the devs now has restricted a lot of features about trains and rails to be unmodable.

miturion
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Mon Aug 03, 2015 5:46 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by miturion »

evildogbot100 wrote:This mod no longer works since 0.15.28 because the devs now has restricted a lot of features about trains and rails to be unmodable.
thats silly, why is that?

User avatar
dtoxic
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Apr 01, 2016 8:40 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by dtoxic »

any workaround for this not working with 15.28?

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

dtoxic wrote:any workaround for this not working with 15.28?
No...

User avatar
dtoxic
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Apr 01, 2016 8:40 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by dtoxic »

ok thx

Seldion
Inserter
Inserter
Posts: 43
Joined: Sat May 24, 2014 8:22 am
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Seldion »

Thanks for all the hard work on the mod, I really enjoyed using it while it was working, pity that you have to put so much work into mods these days and get so little appreciation.

Thanks again for all your hard work!

User avatar
Mango
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Fri Feb 22, 2013 6:27 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by Mango »

Hi.

I was wondering why is Electric Locomotive mod still working?
Diesel Locomotive suits much more into Factorio imo so is there really no way to reintroduce it?

I am no programmer but I really like your mod.
Hm.... so we have a mystery doner... intriguing.

evildogbot100
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Re: [MOD 0.15] Diesel Locomotive

Post by evildogbot100 »

It is possible to redo it but it won't have the fancy pump animation connecting to the train as if it is filling the fuel from the top. Because back then, I used a hack that is impossible to do now.

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: No registered users