[MOD 0.15|0.14] Rail Tanker - Liquid transport 1.4.1

Topics and discussion about specific mods
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

ZTStrike wrote:Hello OP, I was wondering if you would permit me to take this tanker mod and integrate it into my mod. I don't like to claim other people's work for my own.
Thus mod is MIT licensed, feel free to steal it and claim it as your own.
ZTStrike
Inserter
Inserter
Posts: 20
Joined: Mon Apr 27, 2015 2:02 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by ZTStrike »

I thank you and will credit you for what is integrated.
ZTStrike
Inserter
Inserter
Posts: 20
Joined: Mon Apr 27, 2015 2:02 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by ZTStrike »

I have 1 problem, apparently there is a code to where the sprite will only work your your mod enabled, any idea where I might find that code?
neothehitman
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Apr 18, 2015 10:44 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by neothehitman »

yeah i love this mod but if your planing on updating/upgrading it than maybe adding in the option to see how mush there is in the tanker and being able to have a little better pump option it works but some times it takes a little messing around to get the pump to pump out or in ad the moment i put down 3 pumps on both sides starting from the middle as the train will not stop ad the exact same spot every time so they don't always pump in or out but most of all the option to see how mush is in the tanker would be really nice just like with storage tanks but besides those 2 small things i love this mod to dead and i feel like this needs to be part of the main game it's cool that you can put oil in barrels and put them on trains but this mod is the way it needs to work also that you can pump all liquids in it is amazing i hope this mod will stay till the end of factorio :D :D :D :D :D
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

ZTStrike wrote:I have 1 problem, apparently there is a code to where the sprite will only work your your mod enabled, any idea where I might find that code?
Umm, I don't really understand the question, sorry. Are you saying to use the sprites from the mod you need the mod installed? if that's the case you want to copy the sprites to your mode and change the lua prototype files to use __yourmodnamehere__ instead of __RailTanker__
neothehitman wrote:yeah i love this mod but if your planing on updating/upgrading it than maybe adding in the option to see how mush there is in the tanker and being able to have a little better pump option it works but some times it takes a little messing around to get the pump to pump out or in ad the moment i put down 3 pumps on both sides starting from the middle as the train will not stop ad the exact same spot every time so they don't always pump in or out but most of all the option to see how mush is in the tanker would be really nice just like with storage tanks but besides those 2 small things i love this mod to dead and i feel like this needs to be part of the main game it's cool that you can put oil in barrels and put them on trains but this mod is the way it needs to work also that you can pump all liquids in it is amazing i hope this mod will stay till the end of factorio :D :D :D :D :D
It used to be that when you hovered your mouse over the right spot of the rail tanker you could see the storage tank proxy and how much it contained. This has stopped working in recent versions of Factorio. I've increased the size of the selection box in the version I used (there are instructions in this thread on how to do it) and that seems to work. I'll upload a new version if I remember tonight. The issue with the pumps has been discussed in this thread quote a bit but I've not come up with a good solution that doesn't require extra proxies or redoing the sprites.
ZTStrike
Inserter
Inserter
Posts: 20
Joined: Mon Apr 27, 2015 2:02 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by ZTStrike »

JamesOFarrell wrote:Umm, I don't really understand the question, sorry. Are you saying to use the sprites from the mod you need the mod installed? if that's the case you want to copy the sprites to your mode and change the lua prototype files to use __yourmodnamehere__ instead of __RailTanker__
You have the correct question, I searched all the Lau files under prototypes and did not find any code that would indicate to me that is was the cause. May have over-looked it I guess, you know how coding is. The files I looked though was: entities, items, recipes, and tech. That is all I have under the prototypes folder.

Quick question, what is this file? "rail-tanker.pdn"
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

ZTStrike wrote: You have the correct question, I searched all the Lau files under prototypes and did not find any code that would indicate to me that is was the cause. May have over-looked it I guess, you know how coding is. The files I looked though was: entities, items, recipes, and tech. That is all I have under the prototypes folder.

Quick question, what is this file? "rail-tanker.pdn"
So you need to replace all references to "__RailTanker__" otherwise it wont work. It will be in all the prototype files except for data.lua. This needs to be "__YourModNameHere__". It is case sensitive so if you call your mod "MyMod" but use "__mymod__" it wont work.

The .pdn file is a Paint.Net file used to create the icon. I left it there in case someone needed to make changes to the icon in future. You can delete it without causing any issues.

Edit. There is a sprite cache in Factorio somewhere. If you are having issue with sprites I would delete it. I don't have access to my Factorio install right now so I can't tell you the path.
ZTStrike
Inserter
Inserter
Posts: 20
Joined: Mon Apr 27, 2015 2:02 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by ZTStrike »

Ok, let me know when you find it
kwstoudt
Burner Inserter
Burner Inserter
Posts: 14
Joined: Tue May 26, 2015 2:12 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by kwstoudt »

Suggestion: Add some way to tell how much oil is inside the tank car :)
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

kwstoudt wrote:Suggestion: Add some way to tell how much oil is inside the tank car :)
v0.0.9 makes is possible to do this. If you hover over the edge of the wagon you should be able to see it. it is a pain but it should work
Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by Peter34 »

Will this mod function in MP games, or does it cause too much lag?
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

Peter34 wrote:Will this mod function in MP games, or does it cause too much lag?
I've used it quite a bit in MP without issues but never on massive maps. Let me know how you fair
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by jorgenRe »

Peter34 wrote:Will this mod function in MP games, or does it cause too much lag?
I used it in my MP game with a friend and it works totally fine, so no issues that i know off :D!

Edit:
WOW it's my 99th post, soon it is in three whole numbers, just some 2 billion more posts to break the 32 bit limit!
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
SirRichie
Fast Inserter
Fast Inserter
Posts: 244
Joined: Wed Feb 25, 2015 4:50 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by SirRichie »

I can also verify this works in MP. Been playing with a friend; 20+ hours, large distance train network (about 5 trains with oil tankers); map was about 50MB and not a single issue
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

v1.0.0 has no new features, just bug fixes. If you use The Fat Controller you should really upgrade to the latest version of both mods.
User avatar
oLaudix
Filter Inserter
Filter Inserter
Posts: 285
Joined: Sun Jun 14, 2015 3:24 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by oLaudix »

Would it be possible to adjust size of the car so i could fit 2 pumps next to each other? Very often its like this http://i.imgur.com/MbyLGvH.png.
Image
JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by JamesOFarrell »

oLaudix wrote:Would it be possible to adjust size of the car so i could fit 2 pumps next to each other? Very often its like this http://i.imgur.com/MbyLGvH.png.
It is possible but it is a real pain so it probably wont happen. I would like to do it but only in theory, in practice as soon as I start thinking about opening up blender I go dead inside and life seems meaningless so I stop. Feel free to download the blender file and play with the size/render. Having it the exact same size as the cargo wagon would be the perfect solution. Once you have a render you like you can adjust the width, height, connection_distance and joint_distance in entities.lua. If you manage to get through all of that and come out the other side sane and with renders send them to me and I'll release a a new version with your name on it. If, on the other hand, you end up in tears alone on your bedroom floor wondering what has become of your life then drop by the blender IRC channel, i hear they have a support group setup now.
User avatar
oLaudix
Filter Inserter
Filter Inserter
Posts: 285
Joined: Sun Jun 14, 2015 3:24 pm
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by oLaudix »

I might try that when i finally cure my "playing factorio for 5 minutes and going to bed at 5am" thingy.
Image
TeDeum
Burner Inserter
Burner Inserter
Posts: 19
Joined: Sat Mar 28, 2015 1:43 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by TeDeum »

Not working in 1.12

Code: Select all

   1.268 Error Util.cpp:45: Error while loading entity prototype "rail-tanker-proxy" (storage-tank): No such node (window_bounding_box)
Modifications: RailTanker
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Mod 0.11.x] Rail Tanker - Liquid transport

Post by orzelek »

TeDeum wrote:Not working in 1.12

Code: Select all

   1.268 Error Util.cpp:45: Error while loading entity prototype "rail-tanker-proxy" (storage-tank): No such node (window_bounding_box)
Modifications: RailTanker
None of mods will work in 0.12 without update - please don't report those :D
Post Reply

Return to “Mods”