mirror of
https://github.com/SK8-ENGINE/skate-3-rust-engine.git
synced 2026-10-26 19:47:44 +00:00
180 lines
5.5 KiB
JSON
180 lines
5.5 KiB
JSON
{
|
|
"id": "examples.skyline",
|
|
"api": 2,
|
|
"name": "Skyline DRIVE \u2014 Solid Bridge",
|
|
"version": "4.5.0",
|
|
"author": "Skate3clone",
|
|
"description": "General engine deformation: obstacle-shaped chassis dents update GLB meshes and solid collision, with owner-authoritative replication. Animated wheels remain rigid.",
|
|
"entry": "main.lua",
|
|
"settings": {
|
|
"tire_friction": {
|
|
"type": "number",
|
|
"label": "Tire friction",
|
|
"description": "Base tire friction coefficient.",
|
|
"default": 1.25,
|
|
"min": 0.4,
|
|
"max": 2,
|
|
"step": 0.05
|
|
},
|
|
"audio_enabled": {
|
|
"type": "boolean",
|
|
"label": "Engine audio",
|
|
"description": "Enable all car sounds. Requires the native audio API update.",
|
|
"default": true
|
|
},
|
|
"engine_volume": {
|
|
"type": "number",
|
|
"label": "Engine master volume",
|
|
"description": "Master gain for engine, turbo and exhaust. Start low.",
|
|
"default": 0.7,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.05
|
|
},
|
|
"brake_audio": {
|
|
"type": "boolean",
|
|
"label": "Brake audio",
|
|
"description": "Looping brake disc/pad noise that scales with pedal and speed.",
|
|
"default": true
|
|
},
|
|
"brake_volume": {
|
|
"type": "number",
|
|
"label": "Brake volume",
|
|
"description": "Brake sound gain. Ramps with pedal pressure and road speed.",
|
|
"default": 0.55,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.05
|
|
},
|
|
"pop_volume": {
|
|
"type": "number",
|
|
"label": "Exhaust pop volume",
|
|
"description": "Additional exhaust pop gain, multiplied by engine master volume.",
|
|
"default": 0.65,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.05
|
|
},
|
|
"redline_pops": {
|
|
"type": "boolean",
|
|
"label": "Redline bangs and pops",
|
|
"description": "Acoustic limiter chatter near redline; does not alter the soft-cut engine physics.",
|
|
"default": true
|
|
},
|
|
"overrun_pops": {
|
|
"type": "boolean",
|
|
"label": "Lift-off crackles",
|
|
"description": "Short, finite exhaust crackles after lifting at high RPM.",
|
|
"default": true
|
|
},
|
|
"turbo_audio": {
|
|
"type": "boolean",
|
|
"label": "Turbo spool and lift",
|
|
"description": "Procedural turbo whistle and lift-off sound.",
|
|
"default": true
|
|
},
|
|
"show_driving_debug": {
|
|
"type": "boolean",
|
|
"label": "Show car diagnostics (H)",
|
|
"description": "Top-left physics diagnostics and controls. H toggles for this session. Does not hide the engine FPS overlay.",
|
|
"default": false
|
|
},
|
|
"show_speedometer": {
|
|
"type": "boolean",
|
|
"label": "Show speedometer",
|
|
"description": "Speed, selected gear, RPM bar and handbrake indicator while driving.",
|
|
"default": true
|
|
},
|
|
"speed_mph": {
|
|
"type": "boolean",
|
|
"label": "Speed in MPH",
|
|
"description": "Off uses km/h. Speed is chassis road-plane speed, not spinning-wheel speed.",
|
|
"default": false
|
|
},
|
|
"dashboard_scale": {
|
|
"type": "number",
|
|
"label": "Dashboard scale",
|
|
"description": "Scales the lower-right HUD. It also fits the current viewport.",
|
|
"default": 1,
|
|
"min": 0.65,
|
|
"max": 1.5,
|
|
"step": 0.05
|
|
},
|
|
"camera_distance": {
|
|
"type": "number",
|
|
"label": "Chase distance (m)",
|
|
"description": "Base boom length. Dynamic speed framing adds up to 1.8 m.",
|
|
"default": 5.8,
|
|
"min": 3.5,
|
|
"max": 10,
|
|
"step": 0.1
|
|
},
|
|
"camera_spring": {
|
|
"type": "number",
|
|
"label": "Chase spring frequency (Hz)",
|
|
"description": "Higher follows changes more tightly; lower gives more camera lag.",
|
|
"default": 2.8,
|
|
"min": 1,
|
|
"max": 6,
|
|
"step": 0.1
|
|
},
|
|
"camera_fov": {
|
|
"type": "number",
|
|
"label": "Chase vertical FOV (degrees)",
|
|
"description": "Speed framing adds up to 8 degrees. Hood uses 60 degrees.",
|
|
"default": 55,
|
|
"min": 40,
|
|
"max": 80,
|
|
"step": 1
|
|
},
|
|
"hood_height": {
|
|
"type": "number",
|
|
"label": "Hood camera height (model m)",
|
|
"description": "Local camera height. Default is above the uploaded model hood.",
|
|
"default": 0.48,
|
|
"min": 0.3,
|
|
"max": 0.9,
|
|
"step": 0.01
|
|
},
|
|
"steering_precision": {
|
|
"type": "number",
|
|
"label": "High-speed stick precision",
|
|
"description": "0 restores the old stick curve. Gentler centre at speed, but full lock and opposite lock remain available. No automatic steering.",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 1.5,
|
|
"step": 0.1
|
|
},
|
|
"aero_enabled": {
|
|
"type": "boolean",
|
|
"label": "Aerodynamic surface loads",
|
|
"description": "Explicit speed-squared fore/rear downforce. Tuned coefficient assumptions, not measured stock R34 data.",
|
|
"default": true
|
|
},
|
|
"aero_front_area": {
|
|
"type": "number",
|
|
"label": "Front Cl x area (m2)",
|
|
"description": "Positive produces downforce; negative produces lift. Independent of tire friction and camera.",
|
|
"default": 0.08,
|
|
"min": -0.4,
|
|
"max": 0.6,
|
|
"step": 0.01
|
|
},
|
|
"aero_rear_area": {
|
|
"type": "number",
|
|
"label": "Rear Cl x area (m2)",
|
|
"description": "Positive produces downforce; negative produces lift. Default 0.12 is a modest tunable assumption.",
|
|
"default": 0.12,
|
|
"min": -0.4,
|
|
"max": 0.6,
|
|
"step": 0.01
|
|
},
|
|
"show_collision_hull": {
|
|
"type": "boolean",
|
|
"label": "Collision hull debug (J)",
|
|
"description": "Draw actual local/remote solid colliders and physical centers of mass. J toggles during play.",
|
|
"default": false
|
|
}
|
|
}
|
|
}
|