Dutch based Raiway simulator

I wanna make a make a railway simulator based on the dutch network.
But how can i make a train simulator? and make my own trains with interior, opening doors, lights and a voice that says what the next station is. and stations with signs. and two diffrent groups, drivers and guests.
Can anyone help me?

Best way is to try making it yourself (as you imagine it), but I’d recommend looking through the tutorials.

1 Like

do you have good tutorials that i can watch?

Start with making the first train, and a train movement system to go with it (whether that’s relying on Roblox physics with wheels, using BodyMovers or manually placing the train each frame).

It’s important to do the basics and do them well before trying to then progress to doors and lights and sounds. If your train doesn’t move properly and the track method isn’t suitable for scaling up, then you’ll make things very hard for yourself.

1 Like

I could help you if you wanted, since I also live in the netherlands and I am quite excited and know a lot about the “NS” railworks, tell me if you’d want to collaborate(I would be able to start with things in around 2 weeks, when I’m done with a project that I am working on as of right now)

2 Likes

If it isn’t to much to ask, what way does Stepford County use? I’ve been working on a node based system but no luck when using more than one bogie.

I suggest making your first train with maybe two cars. Then work on train movement and physics. Then work on a map.

1 Like

It is complex with multiple bogies. We use nodes calculated from our track, then we essentially move each bogie (theoretically) towards each node. For each carriage there’s two bogies, so we then create a CFrame at the midpoint between these two theoretical positions, and obtain the orientation by making the CFrame look at the first bogie, and then set a part inside each carriage to that CFrame. The rest of the carriage is welded to that part.

That’s how we make it so that the bogies are tracking the nodes, whilst still only having 1 part being actively CFramed in each carriage. If you try to position the bogies individually the orientation is off and they’ll be fighting each other.

1 Like

i don’t have a group yet but i think it would be nice
it is my third game and first simulator, so i hope that i can learn from you

Based of what you’ve said, I was able to create a solution using both CFrames (To align a bogie part to a rail) and BodyVelocity (To move it up and down that rail). The 2 bogies are independent of each other and the there is a root part where a larger model can be welded to. What I’m scared of now, is the 2 bogies slowly becoming closer or further apart from each other. Should I be worried?

If the bogies are fully independent then there is always that worry. Same worry between carriages.

In SCR we record all the initial locations and distances relative to the first bogie, and adjust speed and positioning of the remaining bogies to ensure a consistent distance is maintained.

Vital for all non-linear manoeuvres like changing pitch or going round a corner.

1 Like

How can I start making a train where you can adjust the speed?

Using BodyMovers like BodyVelocity. Getting the CFrame LookVector Value of a part then multiplying the value by the speed you want the part to move at will return a value you can set to the velocity of a BodyMover.

just really from the start, because i never did it

I suggest just experimenting around with train types and tracks till you find a system that you like, then you can build off that (i.e. adding GUIs, more integration, more features, etc.).

2 Likes

thanks a lot for your helpful information