Page 1 of 2

[0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Thu Mar 17, 2016 5:17 pm
by GotLag
Type: Mod
Name: JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS
Description: JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS
License: No rights reserved
Version: 1.0.1
Release: 2016-03-19
Tested-With-Factorio-Version: 0.12.26
Category: Helper
Download-Url: JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS_1.0.1.zip
Website: n/a
License
Description
Demonstration video
This mod gives the player avatar a sense of self-preservation that the player apparently lacks - when on railway tracks it will take fright and attempt to move out of the way of moving trains. Note that this evasion only occurs if you are standing still.

There are two options in config.lua:
COWARD_MODE - if true, the player will always dodge trains, even if movement keys are being pressed
QUIET_MODE - no gasping
Version history
Play safe, and look both ways for trains.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Thu Mar 17, 2016 5:22 pm
by steinio
Awesome.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Thu Mar 17, 2016 5:56 pm
by sankto
Brilliance is found with the simple things. Good job.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Thu Mar 17, 2016 9:27 pm
by Factorio2016
lost part of the gameplay

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Thu Mar 17, 2016 9:58 pm
by _aD
OBSERVE SIGNAL ASPECT BEFORE CROSSING TRACK

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Thu Mar 17, 2016 10:06 pm
by mngrif
_aD wrote:OBSERVE SIGNAL ASPECT BEFORE CROSSING TRACK

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Fri Mar 18, 2016 12:26 am
by GotLag
Factorio2016 wrote:lost part of the gameplay
Don't worry, if you're still holding a movement key you won't dodge :)

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Fri Mar 18, 2016 8:58 am
by Bisa
haha, awesome, I know a lot of people who will love this mod :mrgreen:

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [0.1.0]

Posted: Fri Mar 18, 2016 12:51 pm
by Koub
I'd DL it just for the name :lol:

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.0]

Posted: Fri Mar 18, 2016 3:06 pm
by GotLag
Updated with new dodge logic, optional always dodge mode for cowards, and quiet mode for killjoys.

Edit: whoops, forgot to check if the player was in a vehicle

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Wed Mar 30, 2016 8:09 pm
by polatrite@gmail.com
You can make this multiplayer compatible by changing one line.

On line 46, change

Code: Select all

local player = game.player
to:

Code: Select all

for i, player in ipairs(game.players) do

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Wed Mar 30, 2016 9:18 pm
by _aD
Alternatively, to make it MP-happy, have a player constantly follow you around. When they see there's a train on the tracks, they shove you off!

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Sun Apr 17, 2016 2:27 am
by Vas
I'm going to go ahead and rename the mod folder and every other place the mod name is mentioned because, its a little annoying. I mean sure I don't see the name in game but, all capsing the name and making it a joke is well, not very good for making people want to use this. I've chosen to rename it to "Dodge Trains". But if you want to consider other names, "Self Preservation" "Fear of Trains" are the only two I can think of at the moment.

The info file I altered, if you wish to change yours. :P I added a home page (the link to this mod) and a proper description. I have not redistributed this, I simply did it on my own end.

Code: Select all

{
	"name": "Dodge Trains",
	"version": "1.0.1",
	"title": "Dodge Trains",
	"author": "GotLag",
	"homepage": "https://forums.factorio.com/viewtopic.php?f=97&t=21725",
	"description": "Makes players move off the tracks when a train is coming, based on settings.",
	"dependencies": ["base >= 0.12.00"]
}

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Sun Apr 17, 2016 12:19 pm
by steinio
Well this won't improve the mod itself and the naming is by dicision of the author.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Sun Apr 17, 2016 7:42 pm
by ZombieMooose
ha

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Mon Apr 18, 2016 11:49 am
by Vas
Yes I know, its just a name that makes the mod seem like a joke is all. I tried to rename it myself but the mod crashes instead before I can load it so meh. I just wanted to suggest a more serious name. I mean sure, its funny but the name the way it is, is hard to take seriously and stands out above all the other mods due to length and all caps. Rather annoying.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Tue Apr 19, 2016 6:39 am
by Bisa
Vas wrote:its funny but the name the way it is, is hard to take seriously and stands out above all the other mods due to length and all caps. Rather annoying.
The name IS the mod, it's hilarious, could not have thought of a better name in a hundred years myself :D

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Tue Apr 19, 2016 6:59 am
by Koub
I admit I actually LOVE the name.

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Mon Jun 06, 2016 10:37 pm
by Ranakastrasz
Is multiplayer at least hypothetically possible?

Re: [0.12] JESUS CHRIST IT'S A TRAIN GET OFF THE TRACKS [1.0.1]

Posted: Sat Jun 11, 2016 6:33 am
by lxl
But regular reloading is an essential part of the gameplay when trains are on the map...