Factorio

Factorio

View Stats:
Sevarin Jul 6, 2020 @ 8:38am
Make the train have a Horn button
PLease make the train have a horn button or a horn noise when it is coming into a station. or near a player. It is so painful getting ran over by a train 50 times in one sesison. yea.... very unlucky :D
< >
Showing 1-9 of 9 comments
Fel Jul 6, 2020 @ 8:52am 
Would it help if I told you that you already have all of the tools you need to make it safe for yourself?

The most basic advice is that you can zoom out to see fairly far, the map and mini-map also display trains, so as long as you do the equivalent of looking left and right before crossing you should be safe.


I don't know if you want a working solution or just hints so I'll start with hints.

Signals can detect trains (they change colour depending on if a train is in that block).
Even on 1-way rails you can still put a signal on the other side as long as it is paired with a signal on the right side, to detect trains in the block "before" more easily.
All signals can send their signals to a circuit network, standard signals can also be forcefully turned red with it.

Gates can detact both players and trains depending on where they are placed.
They can send that information to a circuit network or be forcefully opened or closed with it.

Light can be controlled through circuit network to display various colours regardless of the time of day, making it fairly easy to have a green/red light along places you are likely to be crossing.

Programmable speakers can be used with circuit network to emit a sound near them (similar to your "horn").


With all of those informations, all it requires is a basic understanding of circuit network to make multiple very different things to solve your issue, from making a sound when a train is coming to stopping trains if you are near a specific portion of the rail that you made for safe crossing (you can also do the reverse and block yourself when a train is coming if you prefer that since it mirrors real life better and can make it easier to get used to).
Originally posted by Fel:
snip

I personally would like it block me. As im working on walling in my tracks "ya i get run over a lot to lol" to keep me from getting hit. Sound warnings dont work as i dont use sound. Light isnt very effective since lot of time i run game at higher speeds lol By time it lights.. bam!!! im dead lol

I havent tried yet.. But can you connect gates to logistics? You seem to imply can? Could you explain Fel? I can start new tread if prefer.
Fel Jul 6, 2020 @ 9:13am 
Since OP still hasn't stated his stance on the "spoiler" of giving solutions rather than hints I think a different thread might be better (or if you have troubles with circuit network you could add me and we could work this out directly, it works better like that for some people to understand rather than just replicate something that somehow works).
Originally posted by Fel:
Since OP still hasn't stated his stance on the "spoiler" of giving solutions rather than hints I think a different thread might be better (or if you have troubles with circuit network you could add me and we could work this out directly, it works better like that for some people to understand rather than just replicate something that somehow works).

I will add you :-) lol after all the years ive known you on factorio im wondering why i didnt do it earlier with all the answers you given me lol

I did find a guide. Not sure why couldnt find it before.. lol
AlexMBrennan Jul 6, 2020 @ 9:52am 
Light isnt very effective since lot of time i run game at higher speeds lol By time it lights.. bam!!! im dead lol
Signals look ahead a lot further than you think - they turn yellow when a train is too close to stop which might be miles away for trains travelling at maximum speed.

I personally would like it block me
That is going to be difficult because you will need combinator logic to determine if the player is standing on the tracks (in which case locking the gate would kill the player), or moving towards the track (in which case not locking the gate would kill the player).
Warlord Jul 6, 2020 @ 1:50pm 
Originally posted by Sevarin:
PLease make the train have a horn button or a horn noise when it is coming into a station. or near a player. It is so painful getting ran over by a train 50 times in one sesison. yea.... very unlucky :D
I.... hmm. I think I might try to integrate a speaker into my rail blueprints at every large pole. wire it up to the signals on either side, set the speaker to blare a sound if the rail signal turns yellow.

Sit back.
Listen as (essentially) trains blare a horn constantly as they move around my base.
Laugh.
Originally posted by AlexMBrennan:
Light isnt very effective since lot of time i run game at higher speeds lol By time it lights.. bam!!! im dead lol
Signals look ahead a lot further than you think - they turn yellow when a train is too close to stop which might be miles away for trains travelling at maximum speed.

I personally would like it block me
That is going to be difficult because you will need combinator logic to determine if the player is standing on the tracks (in which case locking the gate would kill the player), or moving towards the track (in which case not locking the gate would kill the player).

It works easy for me now. Fel helped me out. In end all i need do is use 2 signal sensors "only need wire one of them lol" and connect first sensor to gates and done. Now when train coming gates close so i dont walk across tracks.

I dont use a combinator or math or any other unit. Literally 2 signal sensors all i need.
Fel Jul 6, 2020 @ 4:51pm 
Alex isn't wrong though, he is talking about the work needed to make a fool-proof mechanism that you can just paste where needed and that ensures that you will never be allowed to "enter" if you wouldn't have time to go through the thing before a train arrives, while still allowing "exit" if you has already entered and other similar issues.

On many aspects it is much simpler to stop the trains when detecting a nearby player than to warn or stop the player.
Oh didnt mean to imply he was. Just that i have it working for me. Though its odd how working though. Im a bit from being able to do that stuff yet lol Im half asleep. So ill be back later. hard to think straight atm.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Jul 6, 2020 @ 8:38am
Posts: 9