Thus mod is MIT licensed, feel free to steal it and claim it as your own.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.
[MOD 0.15|0.14] Rail Tanker - Liquid transport 1.4.1
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I thank you and will credit you for what is integrated.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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?
-
- Burner Inserter
- Posts: 6
- Joined: Sat Apr 18, 2015 10:44 pm
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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__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?
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.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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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.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__
Quick question, what is this file? "rail-tanker.pdn"
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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.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"
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Ok, let me know when you find it
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Suggestion: Add some way to tell how much oil is inside the tank car
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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 workkwstoudt wrote:Suggestion: Add some way to tell how much oil is inside the tank car
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Will this mod function in MP games, or does it cause too much lag?
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I've used it quite a bit in MP without issues but never on massive maps. Let me know how you fairPeter34 wrote:Will this mod function in MP games, or does it cause too much lag?
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I used it in my MP game with a friend and it works totally fine, so no issues that i know off !Peter34 wrote:Will this mod function in MP games, or does it cause too much lag?
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 !
I would jump of joy if we could specify which tiles spawned in a surfaces
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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.
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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.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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I might try that when i finally cure my "playing factorio for 5 minutes and going to bed at 5am" thingy.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
None of mods will work in 0.12 without update - please don't report thoseTeDeum wrote:Not working in 1.12Code: 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