Page 1 of 8

[MOD 0.10.2] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 4:03 am
by kolli
Automatic Rail Laying Machine v0.0.6

Image

Check it out on youtube!


How to use:
Craft an automatic rail laying machine (recipe available with automated rail transportation tech).
Place the machine on some rails.
Connect one or more cargo wagons.
Load the cargo wagon(s) with straight and curved rails.
Jump aboard and drive like a normal locomotive.
Use mouse cursor to control where to place rail.
Trees that are in the way will be chopped down and the wood placed in the train.

Thanks to devs for linking my mod in the friday update!

Version history:
v0.0.6:
Added the 0.10.2 train lights.
Removed version number from zip-archive filename.

v0.0.5:
Removed debug stuff that was accidentally left in v.0.0.4 (using graphics from another mod)

v0.0.4:
Removed debug stuff that was accidentally left in v.0.0.3 (giving the player items)

v0.0.3:
Fix for game version 0.10.1

v0.0.2:
Rails are now placed belonging to player.force.
Recipe should now unlock properly when using other mods. If for some reason it still doesn't:
code
Thanks to theit8514 for reporting the bugs.

v0.0.1:
Initial release.

Download links (v0.0.6):
google drive
filedropper

Re: [MOD 0.10.0] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 11:23 am
by jeroon
wow that video looks really cool :D

Re: [MOD 0.10.0] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 11:37 am
by darius456
Usefull.

Re: [MOD 0.10.0] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 2:38 pm
by theit8514
Really wish I was not at work right now. Look forward to trying this when I'm back home.

Re: [MOD 0.10.0] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 5:41 pm
by Thourion
Very good idea, and yeah, the video left me speechless :o

Re: [MOD 0.10.0] Automatic Rail Laying Machine

Posted: Fri Jun 13, 2014 5:52 pm
by Airat9000
:) good mod
idea please post in version you mod

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.1

Posted: Fri Jun 13, 2014 6:17 pm
by kolli
Airat9000 wrote:please post in version you mod
oops, forgot about that. fix'd.

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.1

Posted: Fri Jun 13, 2014 8:44 pm
by MtNak
Wow! Awesome! Thanks!

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.1

Posted: Fri Jun 13, 2014 10:51 pm
by theit8514
The item did not appear on my Tech list under the Automated Rail Transportation technology, and the recipe was not unlocked.

Image

I am using DyTech, and it adds the Large Capacity Cargo Wagon the same way you are adding the Rail Layer.

If anyone runs into this, you can execute this to get it:

Code: Select all

game.player.force.recipes["rail-layer"].enabled = true
In addition, new track may be being placed using the enemy force (shows as red on map, grey areas are parts that i had to do)
Image

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.1

Posted: Fri Jun 13, 2014 10:53 pm
by Colombo
amazing!

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Sat Jun 14, 2014 12:40 am
by kolli
theit8514 wrote:The item did not appear on my Tech list under the Automated Rail Transportation technology, and the recipe was not unlocked.
I don't quite understand why this happens, I don't have dyTech installed. Hopefully my dirty quickfix will work.
theit8514 wrote:new track may be being placed using the enemy force
For some reason I expected player.force to be default if you didn't specify a force when creating entities. Should be fixed now.

Thanks theit8514 for reporting the bugs. Main post updated with v0.0.2.

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Tue Jun 17, 2014 12:35 pm
by Loscil
Ahhh oh my god I'm having an orgasm.

Very good mod, 11/10.

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Tue Jun 17, 2014 4:38 pm
by Talguy
Awesome! I have yet to try this one, but I installed this on sight because it looks so good :)

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Wed Jun 25, 2014 5:24 am
by DDR
Hello. First off, wonderful, wonderful mod. :D

Second off, I'm having a bit of trouble with regards to running it in 0.10.1. While it /lays/ rail, my attempts to subsequently drive over that rail in specific are met with a crash of the game. It can drive over pre-laid rail fine. I'm afraid I have no idea how to start debugging this myself, but I might eventually have to!

Alternatively, I'm using a save that's seen a few upgrades. Perhaps that's just bugged it?

Thanks!

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Wed Jun 25, 2014 7:05 am
by kolli
DDR wrote:I'm having a bit of trouble with regards to running it in 0.10.1
Indeed, the game crashes if you use this mod with 0.10.1. It's not a problem with your save file. I didn't notice this before because I didn't upgrade to 0.10.1 until now. I'll look into it later today.

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.2

Posted: Wed Jun 25, 2014 1:33 pm
by Thourion
Yeah it does crash with 0.10.1
I was still playing my save from 0.10.0, and i had already placed all the tracks i needed before i updated to 0.10.1, so i didnt noticed myself, only after i started a new game, and reached the rail place stage.

Heh the fun thing is though, that the mod is still helpfull in my case, since its the only one i have atm, so i use it for the Game Load bug workaround in the latest patch :mrgreen:

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.3

Posted: Wed Jun 25, 2014 2:16 pm
by kolli
I've identified the part of the script that causes the crash, but I don't understand why it happens. My solution is to remove parts of the collision check when placing rails - this means you now have to be careful not to crash into your buildings as rail will be placed under them and the locomotive will crash into them. It might actually be more fun this way :)

Re: [MOD 0.10.0] Automatic Rail Laying Machine v0.0.3

Posted: Wed Jun 25, 2014 2:53 pm
by Thourion
kolli wrote:.... It might actually be more fun this way :) ...
Most deffinetly. I can think some people would prefer a "safer" method, but you know what, after so much fun clearing forests out (plus gathering wood lol), i think its time to bring it home to "concrete jungle" and make some room for ..erm tree planting xD
Only thing i can think of, is the addition of the train horn, just before i ram the base into oblivion :)

Re: [MOD 0.10.1] Automatic Rail Laying Machine v0.0.4

Posted: Wed Jun 25, 2014 5:05 pm
by mordieth
I keep getting this error while loading the mod (0.0.4) with 0.10.1

Path __floors__/graphics/floor-b-gone-icon.png does not match any mod.

anybody know whats going on?

Re: [MOD 0.10.1] Automatic Rail Laying Machine v0.0.4

Posted: Wed Jun 25, 2014 6:07 pm
by Rahjital
That seems to be an issue with the Floor mod rather than this one. Are you sure you didn't turn off or delete the Floor mod after using it in a save?