Page 6 of 19
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Mon Apr 27, 2015 9:59 pm
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Apr 28, 2015 6:48 am
by ZTStrike
I thank you and will credit you for what is integrated.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Apr 28, 2015 7:34 am
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?
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Apr 28, 2015 7:24 pm
by neothehitman
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Apr 28, 2015 11:27 pm
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__
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Wed Apr 29, 2015 1:44 am
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"
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Wed Apr 29, 2015 1:57 am
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Wed Apr 29, 2015 2:10 am
by ZTStrike
Ok, let me know when you find it
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Thu Jun 11, 2015 1:28 pm
by kwstoudt
Suggestion: Add some way to tell how much oil is inside the tank car
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Sun Jun 14, 2015 12:50 am
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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Sun Jun 14, 2015 4:18 am
by Peter34
Will this mod function in MP games, or does it cause too much lag?
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Sun Jun 14, 2015 5:08 am
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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Sun Jun 14, 2015 10:22 am
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
!
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!
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Jun 16, 2015 10:00 pm
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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Sun Jun 21, 2015 5:54 am
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Tue Jun 23, 2015 1:46 pm
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Wed Jun 24, 2015 8:35 am
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.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Wed Jun 24, 2015 10:57 am
by oLaudix
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
Posted: Fri Jul 17, 2015 4:45 pm
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
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Posted: Fri Jul 17, 2015 4:46 pm
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