Repository navigation
v1.2.0
Changes in 1.2.0
Building a mod on top of Chassis? Chassis_1.2.0_debug.zip is the same version built in Debug. It adds the developer console commands, among them chassis profile (edit and save seat profiles live), interior, aim, click and ctl; chassis help lists them all. Players want Chassis.dll.
Added
- The speedometer and rev counter in the vanilla cars move, dash lamps show indicators and headlights.
SpeedUnitsets
kmhormph. - In first person, look at a dash switch and left-click it: lights, hazard lights, indicator stalk (also mouse wheel),
horn. Switches click, indicators tick. - A dot in the screen centre shows where you look while your view is below the windscreen, with the switch's name.
- The vanilla cars flash their own amber indicator lamps outside, at the rear part of the brake light in red where a car
has none. - Guns hit NPCs in cars. A driver who goes down falls out and the car stops.
Fixed
- Vehicle owners and locks are no longer lost when the game saves.
- Seats and the driver's legs no longer stick out under the cars.
- The steering wheel no longer spins faster than the hands could turn it.
- Getting in crouched no longer leaves you crouched in the seat.
For mod authors
ChassisApi.SetInteriorbuilds your own interior;ChassisProfile.GaugesandChassisProfile.Controlsbind
needles, lamps, digits and clickable switches.ChassisApi.Telemetry,ReadGaugeandRegisterGaugeSource: speed, rpm, pedals, lamps, steering, clock, odometer,
trip, each with a validity flag.RegisterControlAction,UseControl,ControlUsedand the eventsHeadlightsChanged,BrakeChanged,
ReverseChanged,DriverChanged.RegisterOccupantDownkeeps a shot NPC slumped in its seat instead of falling out;RemoveOccupantDownremoves it.chassis telemetryandchassis zoneswork in the release build. The GitHub release also carries
Chassis_1.2.0_debug.zipwith the developer console commands.
What's Changed
- docs(readme): update the MLVScan attestation badge for 1.1.0 by @github-actions[bot] in #7
- docs(api): add values, units and examples to the profile and api docs by @DooDesch in #8
- feat(instruments): working gauges, dash switches and a cockpit api by @DooDesch in #9
Full Changelog: v1.1.0...v1.2.0