Posted March 12, 2025 by zcaalock
#fs25 railroad mod
After realizing that this game wasn't designed with trains in mind 🙈 and that I have too smol a brain for LUA coding, I need to stick to what is available. The turntable is working, but due to the very simple way the game handles animation, it only has 2 states.
For now, there is 1 lever for every angle you want to go to, in this case 0/90 and 0/180. And you need to go to position 0 to start at any other position. I don't really know how to code in LUA to make the animation stop at any given angle; maybe someone can help.
The other thing is the vehicle-trailer system. When attaching more than 1 trailer (train cart in this case), the game arranges it from 0 to N and sees it as one big trailer. So when you disconnect the loco and try to go around and attach it from the other side, it won't work. All trailers need to be disconnected first and be separate from each other. I don't know how to resolve that issue. It's not game-breaking, but it's annoying.
I hope I'll post an update during the upcoming weekend.
zca