Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hump yard stuff #103

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft

Hump yard stuff #103

wants to merge 18 commits into from

Conversation

t0stiman
Copy link
Collaborator

@t0stiman t0stiman commented Dec 5, 2024

In this (unfinished) PR I will be adding some functionality that will help to create hump yards. I'm creating this draft PR because I'm starting to lose track of what I'm making 😅. And some interim feedback wouldn't hurt.

Components:

  • Retarders: used in hump yards to slow traincars down. I'm only making the functional part and not the visual; I can't model.
  • YardController: this component will automatically send a traincar to the right track by setting the switches. Just like in modern hump yards. I am still working out how exactly I will let players set a destination for a traincar.
  • TimedCarSpawner: add this component to a track to spawn a traincar on the track every X seconds. Mostly useful for testing purposes.
  • CarDeleter: add this component to a track and every traincar that rolls onto the track is instantly despawned. Also meant for testing.

Track tools:

  • Custom switches: the ability to create switches in any shape you like, with any number of branches.
  • An option to disable track previews (the blue, red and green gizmos)

@t0stiman t0stiman changed the title Hump yard components Hump yard stuff Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant