RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
990 stars 175 forks source link

Added `[AI Presets]` section to terrn2 file format #3140

Closed ohlidalp closed 3 months ago

ohlidalp commented 3 months ago

This makes it possible to include a waypoints (JSON) file with a terrain. The file can have any name and must be listed in the .terrn2 file under [AI Presets] section, for example:

[AI Presets]
f1track_09wip_waypoints.json=

The format of the JSON file is the same as 'waypoints.json' downloaded from github repo https://github.com/RigsOfRods-Community/ai-waypoints. The game will check if the format is about right.

Tutorial on creating the presets: https://docs.rigsofrods.org/gameplay/vehicle-ai/#creating-waypoint-presets

Flip889ror commented 3 months ago

didn't work for me (on march dev build f6de162) is this on a newer version not on itch?