Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 23:18
· 17 commits to main since this release

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. SpeedUnit sets
    kmh or mph.
  • 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.SetInterior builds your own interior; ChassisProfile.Gauges and ChassisProfile.Controls bind
    needles, lamps, digits and clickable switches.
  • ChassisApi.Telemetry, ReadGauge and RegisterGaugeSource: speed, rpm, pedals, lamps, steering, clock, odometer,
    trip, each with a validity flag.
  • RegisterControlAction, UseControl, ControlUsed and the events HeadlightsChanged, BrakeChanged,
    ReverseChanged, DriverChanged.
  • RegisterOccupantDown keeps a shot NPC slumped in its seat instead of falling out; RemoveOccupantDown removes it.
  • chassis telemetry and chassis zones work in the release build. The GitHub release also carries
    Chassis_1.2.0_debug.zip with the developer console commands.

MLVScan Chassis.dll

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