Home

VehiclePrototype

Abstract base of all vehicles.

Parent

Properties

weight

Must be positive. Weight of the entity used for physics calculation when car hits something.

braking_power

Must be positive. There is no functional difference between the two ways to set braking power/force.

friction

Must be positive. There is no functional difference between the two ways to set friction force.

energy_per_hit_point

The (movement) energy used per hit point (1 hit point = 1 health damage) taken and dealt for this vehicle during collisions. The smaller the number, the more damage this vehicle and the rammed entity take during collisions: damage = energy / energy_per_hit_point.

terrain_friction_modifier

Must be in the [0, 1] interval.

impact_speed_to_volume_ratio

stop_trigger_speed

crash_trigger

stop_trigger

equipment_grid

The name of the EquipmentGridPrototype this vehicle has.

minimap_representation

The sprite that represents this vehicle on the map/minimap.

selected_minimap_representation

The sprite that represents this vehicle on the map/minimap when it is selected.

allow_passengers

Determines whether this vehicle accepts passengers. This includes both drivers and gunners, if applicable.

deliver_category

Name of a DeliverCategory.

chunk_exploration_radius

In chunks. The radius of the radar range of the vehicle, so how many chunks it charts around itself.

allow_remote_driving