metropolisVehicles.package
This package holds more than this page lists. See all of its files in its world.
README.md
resolver
This module integrates Metropolis vehicles with the vehiclesKit system by providing a resolver function. It parses vehicle preset names (e.g., pm_finch.seafoam) to extract the vehicle kind and livery. It then constructs a vehiclesKit.Kind object, defining the vehicle's layout (seats, wheels, colliders), VehicleController settings, and visual dressing (model, materials, shader lanes, ink). The module also includes functions to install and refresh this resolver with vehiclesKit, ensuring that Metropolis vehicles are correctly recognized and built within the kit's framework. It is primarily called by metropolisVehicles.api to make Metropolis vehicles available in the game.