Page 1 of 1

Making a track unselectable by Random Tracks

Posted: Tue Jul 18, 2023 10:48 am
by 607
Hi, is it possible to make a track unselectable by Random Tracks without removing it from your installation?

Re: Making a track unselectable by Random Tracks

Posted: Tue Jul 18, 2023 6:52 pm
by motorhand
Should be out when you rename its main folder.

Re: Making a track unselectable by Random Tracks

Posted: Tue Jul 18, 2023 7:09 pm
by kiwi
Another possibility would be to add
OBTAIN -1
in the tracks inf-file, and set it back to 0 (or remove the OBTAIN-line) after you want to play the track again.

Reference: https://re-volt.gitlab.io/rvgl-docs/tracks.html#obtain

But I guess you want to have the track still available for "normal" playing. I don't think this can be done in the current RVGL version. A new parameter in the tracks inf-file (like "RANDOM 1" or "RANDOM 0") would be needed to be implemented. Not sure if it's really worth, but it also would not hurt to have something like this available, I guess. :) Especially special tracks, where for example the AI can't race well (or can't race at all), could set this new parameter, so the track don't have to be skipped during a random tracks session.

Re: Making a track unselectable by Random Tracks

Posted: Wed Jul 26, 2023 3:24 pm
by 607
kiwi wrote: Tue Jul 18, 2023 7:09 pm Another possibility would be to add
OBTAIN -1
in the tracks inf-file, and set it back to 0 (or remove the OBTAIN-line) after you want to play the track again.

Reference: https://re-volt.gitlab.io/rvgl-docs/tracks.html#obtain

But I guess you want to have the track still available for "normal" playing. I don't think this can be done in the current RVGL version. A new parameter in the tracks inf-file (like "RANDOM 1" or "RANDOM 0") would be needed to be implemented. Not sure if it's really worth, but it also would not hurt to have something like this available, I guess. :) Especially special tracks, where for example the AI can't race well (or can't race at all), could set this new parameter, so the track don't have to be skipped during a random tracks session.
Yeah, my use case is personal, but it could also be useful for things like boat tracks and no-repo tracks, if you're keeping those in your main installation.
Anyway, setting obtain to -1 is a good idea, I might do that!