Custom Cars Changes (beta)
Trailer support. Supported through the hasTrailerHitch and trailerHitchPosition keys in properties.json. A trailer hitch can also be an installable part. In that case, these keys must be defined in the customPart.json file.
Support for dirt on windows. Supported through the new paintables_windows folder and the windowMaterial.json file. It is recommended that such windows use a double-sided mesh with identical UV positions on both sides.
First-person steering wheel support. Supported through the new steering_wheel folder. Two new keys must be added to properties.json: steeringWheelRotationX and steeringWheelPosition. Steering wheels can also be installable parts and support customPart.json.
Support for colliders on individual parts. Each folder in paintables/non_paintables/paintables_windows can optionally contain a colliders folder with .obj files that will serve as colliders for that part when installed on a vehicle. The same rules apply as for the main colliders folder.
Changes to the context menu. Driving mode can now be toggled through the context menu by holding the middle mouse button while standing next to a vehicle. Vehicle components can also be opened and closed through the context menu. Lights and radio are still controlled using the K and L keys, but will be moved to the context menu.
Support for openable and movable parts. Supported through the openable subfolder. This folder must contain an openable.json file with the following keys:
hingePosition – hinge/pivot position,
openRotation – used if you want a part to rotate open (e.g. a trunk),
openPosition – used if you want a part to slide (e.g. a car window).
Mesh placement rules remain unchanged for openable parts. The pivot is adjusted after the object is loaded into the game, based on the data in the JSON file. Pivot positions are displayed as purple spheres in debug mode.
Openable parts also support close_sound and open_sound audio files.
Support for changing an element's parent in the hierarchy. Supported through the new openableParentId key. By default, all vehicle components are spawned next to each other. Setting openableParentId to the ID of another component will make the given component its child, causing it to move together with its parent.
Changes to developer mode activation. Custom Cars developer mode is now enabled by launching the game with the -customCarsDev flag.
TEST CAR (beta)
All new features can be found in the TEST CAR (beta) vehicle, available on the Steam Workshop.
The front windows can be cleaned and moved. The trunk can be opened and has separate colliders. The spoiler is set as a child to ensure that its position is correctly synchronized when opening. The trailer hitch can be found next to the scrapyard.
The vehicle has been renamed from E30 by Poezja (beta) to TEST CAR (beta) because Poezja will upload their own version of the vehicle, while TEST CAR will serve as an example model showcasing all available features.
