Page 1 of 4

[MOD 0.16] Diesel Locomotive

Posted: Mon Jun 19, 2017 10:48 am
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Wed Jun 21, 2017 8:12 am
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Wed Jun 21, 2017 8:19 am
by evildogbot100
Can you post the error code here? or a screenshot

Re: [MOD 0.15] Diesel Locomotive

Posted: Wed Jun 21, 2017 8:56 am
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
  }

Re: [MOD 0.15] Diesel Locomotive

Posted: Wed Jun 21, 2017 9:44 am
by evildogbot100
I have patched the bug.

Re: [MOD 0.15] Diesel Locomotive

Posted: Thu Jun 22, 2017 6:09 am
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

Re: [MOD 0.15] Diesel Locomotive

Posted: Thu Jun 22, 2017 6:56 am
by evildogbot100
Tanks and cars doesn't have a good pump connecting animation though, besides, they are annoying to align with pumps manually

Re: [MOD 0.15] Diesel Locomotive

Posted: Thu Jun 22, 2017 7:09 am
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Wed Jun 28, 2017 1:17 am
by Seldion

Re: [MOD 0.15] Diesel Locomotive

Posted: Sun Jul 02, 2017 12:34 am
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:

Re: [MOD 0.15] Diesel Locomotive

Posted: Tue Jul 04, 2017 5:02 am
by nogoodgamers
hey here is my save file for the game that is corrupt please take a look at why it is doing it

Re: [MOD 0.15] Diesel Locomotive

Posted: Fri Jul 07, 2017 6:13 am
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Fri Jul 07, 2017 8:36 am
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Fri Jul 07, 2017 2:05 pm
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?

Re: [MOD 0.15] Diesel Locomotive

Posted: Sat Jul 08, 2017 8:35 pm
by dtoxic
any workaround for this not working with 15.28?

Re: [MOD 0.15] Diesel Locomotive

Posted: Sun Jul 09, 2017 10:02 am
by evildogbot100
dtoxic wrote:any workaround for this not working with 15.28?
No...

Re: [MOD 0.15] Diesel Locomotive

Posted: Sun Jul 09, 2017 5:18 pm
by dtoxic
ok thx

Re: [MOD 0.15] Diesel Locomotive

Posted: Mon Jul 10, 2017 9:44 pm
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!

Re: [MOD 0.15] Diesel Locomotive

Posted: Mon Dec 04, 2017 8:54 pm
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.

Re: [MOD 0.15] Diesel Locomotive

Posted: Tue Dec 05, 2017 3:25 am
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.