👼Script: Added GenericDocument API (for race system) - #183
Open
ohlidalp wants to merge 2 commits into
Open
Conversation
Turns out the '.asdata' file format is different for client (INI-style) and server (custom BEGIN_/END_ clauses), so it cannot be used for the multiplayer race system. We need something that client can export from existing terrains and server script can read. Note that server script can be actual rorserver or newly also the client, see RigsOfRods/rigs-of-rods#3393
ohlidalp
force-pushed
the
genericdocument
branch
from
August 3, 2026 01:54
da51eb8 to
c8bb966
Compare
ohlidalp
added a commit
to ohlidalp/rigs-of-rods
that referenced
this pull request
Aug 3, 2026
Turns out the '.asdata' file format is different for client (INI-style) and server (custom BEGIN_/END_ clauses), so it cannot be used for the multiplayer race system. We need something that client can export from existing terrains and server script can read. Note that server script can be actual rorserver or newly also the client, see RigsOfRods#3393 rorserver counterpart: RigsOfRods/ror-server#183
ohlidalp
added a commit
to ohlidalp/rigs-of-rods
that referenced
this pull request
Aug 3, 2026
ohlidalp
force-pushed
the
genericdocument
branch
from
August 3, 2026 14:59
bbfb8ff to
a6edaad
Compare
ohlidalp
force-pushed
the
genericdocument
branch
from
August 3, 2026 15:04
a6edaad to
0ef8335
Compare
ohlidalp
added a commit
to ohlidalp/rigs-of-rods
that referenced
this pull request
Aug 19, 2026
Turns out the '.asdata' file format is different for client (INI-style) and server (custom BEGIN_/END_ clauses), so it cannot be used for the multiplayer race system. We need something that client can export from existing terrains and server script can read. Note that server script can be actual rorserver or newly also the client, see RigsOfRods#3393 rorserver counterpart: RigsOfRods/ror-server#183
ohlidalp
added a commit
to ohlidalp/rigs-of-rods
that referenced
this pull request
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns out the '.asdata' file format is different for client (INI-style) and server (custom BEGIN_/END_ clauses), so it cannot be used for the multiplayer race system. We need something that client can export from existing terrains and server script can read. Note that server script can be actual rorserver or newly also the client, see RigsOfRods/rigs-of-rods#3393
Screenshot of the game (devbuild of RigsOfRods/rigs-of-rods#3395) running the updated example script:
![Uploading image.png…]()