Skip to content

👼Script: Added GenericDocument API (for race system) - #183

Open
ohlidalp wants to merge 2 commits into
RigsOfRods:masterfrom
ohlidalp:genericdocument
Open

👼Script: Added GenericDocument API (for race system)#183
ohlidalp wants to merge 2 commits into
RigsOfRods:masterfrom
ohlidalp:genericdocument

Conversation

@ohlidalp

@ohlidalp ohlidalp commented Aug 3, 2026

Copy link
Copy Markdown
Member

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…

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 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
ohlidalp requested a review from Zentro August 3, 2026 12:17
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Aug 3, 2026
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
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