[MOD 0.12.11] Abandon train

Topics and discussion about specific mods
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

[MOD 0.12.11] Abandon train

Post by Adil »

Type: Mod
Name: Abandon train
Description: Allows safer jumping out of train.
License: CC BY 3.0
Version: 0.1.0
Release: 2015-10-5
Tested-With-Factorio-Version: 0.12.10
Category: Convenience
Download-Url: attached
Long description
Version history
Attachments
AbandonTrain_0.2.0.zip
(1.55 KiB) Downloaded 334 times
AbandonTrain_0.1.0.zip
(1.53 KiB) Downloaded 188 times
Last edited by Adil on Fri Oct 16, 2015 9:35 pm, edited 1 time in total.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14473
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [MOD 0.12] Abandon train

Post by Rseding91 »

You could drastically simplify this mod using: https://forums.factorio.com/wiki/inde ... nged_state
If you want to get ahold of me I'm almost always on Discord.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [MOD 0.12] Abandon train

Post by Adil »

But it does already use the on_player_driving_changed_state to start the handling process. It's just that player's walking state is not yet updated during that event that forces me to use the on_tick event to detect the direction of player moving.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Post Reply

Return to “Mods”