csp-lua-sdk
Installation
SKILL.md
Assetto Corsa CSP Lua SDK
Instructions
Step 1: Identify Script Type
Determine the type of script you are working with (App, Car, Track, etc.).
- Refer to Workspace Rules for directory structure requirements.
Step 2: Consult API Definitions
Use the raw API definition files for accurate IntelliSense and function signatures. These are located in references/api/.
- Apps:
references/api/ac_apps.lib.lua - Car Physics:
references/api/ac_car_cphys.lib.lua - Car Display:
references/api/ac_car_scriptable_display.lib.lua - Online:
references/api/ac_online_script.lib.lua - Track:
references/api/ac_track_script.lib.lua - General Tools:
references/api/ac_tools.lib.lua