Prototype/Vehicle: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Converted to SMW format  | 
				m →Optional properties:  whitespace  | 
				||
| Line 31: | Line 31: | ||
{{Prototype property|terrain_friction_modifier|[[Types/float|float]]|1|optional=true}}  | {{Prototype property|terrain_friction_modifier|[[Types/float|float]]|1|optional=true}}  | ||
Must be in the [0, 1] interval.  | Must be in the [0, 1] interval.  | ||
{{Prototype property|sound_minimum_speed|[[Types/double|double]]|1 / 60.0|optional=true}}  | {{Prototype property|sound_minimum_speed|[[Types/double|double]]|1 / 60.0|optional=true}}  | ||
Revision as of 20:57, 5 August 2019
Template:Prototype parent Abstract base of all vehicles.
Extensions
- Prototype/Car car
 - Prototype/RollingStock <abstract>
- Prototype/ArtilleryWagon artillery-wagon
 - Prototype/CargoWagon cargo-wagon
 - Prototype/FluidWagon fluid-wagon
 - Prototype/Locomotive locomotive
 
 
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Must be positive. Weight of the entity used for physics calculation when car hits something.
Template:Prototype property Two different ways to set braking force. At least one must exist. Must be positive.
Template:Prototype property Two different ways to set friction force. At least one must exist. Must be positive.
Optional properties
Template:Prototype property Must be in the [0, 1] interval.
Template:Prototype property Must be positive.
Template:Prototype property The name of the equipment grid this vehicle has.