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

Loco Spawn Locations in User-Editable JSON #140

Open
katycat5e opened this issue Jun 14, 2023 · 2 comments
Open

Loco Spawn Locations in User-Editable JSON #140

katycat5e opened this issue Jun 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@katycat5e
Copy link
Member

Allow configuring spawn location list in car.json

@katycat5e katycat5e added the enhancement New feature or request label Jun 14, 2023
@katycat5e katycat5e added this to the CCL Version 2 (Simulator) milestone Jun 14, 2023
@katycat5e katycat5e removed this from the CCL Version 2 (Simulator) milestone Jun 26, 2023
@lassombra
Copy link
Contributor

I have some ideas about this as another root configuration that can be added to the custom car prefab directly that would allow it to hook into the vanilla spawn system only requiring destination track names - could include a list of vanilla track spawners as options.

This would then add them to the spawner at setup time.

I was researching this last night as part of the aux tenders as I want to have those in Career - I've solved the spawn capability for existing vanilla spawners - just working on additional tracks.

I'm going to hopefully finish that version in aux tenders this week and could then migrate it towards this mod if that works.

@lassombra
Copy link
Contributor

Ok, after further work with this there is a gotcha.

The vanilla spawner actively verifies that what it's spawning is a loco or a tender.

I can work around this with Harmony patches, but that is a bit kludgy. Alternatively, this could be limited to only those CCL vehicles that derive from one of the base locos or the base tender.

@katycat5e what would be your preference on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants