Prototype/Car: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.24: track_particle_triggers)
(1.1: light_animation, darkness_to_render_light_animation added)
Line 31: Line 31:
{{Prototype property|turret_animation|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}}
{{Prototype property|turret_animation|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}}
Animation speed 1 means 1 frame per tile.
Animation speed 1 means 1 frame per tile.
{{Prototype property|light_animation|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}}
Must have the same frame count as <code>animation</code>.


{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}}
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}}
Line 54: Line 57:


{{Prototype property|sound_no_fuel|[[Types/Sound|Sound]]|optional=true}}
{{Prototype property|sound_no_fuel|[[Types/Sound|Sound]]|optional=true}}
{{Prototype property|darkness_to_render_light_animation|[[Types/float|float]]|0.3|optional=true}}


{{Prototype property|track_particle_triggers|[[Types/FootstepTriggerEffectList|FootstepTriggerEffectList]]|optional=true}}
{{Prototype property|track_particle_triggers|[[Types/FootstepTriggerEffectList|FootstepTriggerEffectList]]|optional=true}}

Revision as of 16:13, 3 February 2021

Template:Prototype parent Entity with specialized properties for acceleration, braking, and turning.

Template:Prototype TOC

Usage in base

Mandatory properties

This prototype inherits all the properties from Prototype/Vehicle.

Template:Prototype property Animation speed 1 means 1 frame per tile.

Template:Prototype property Modifies the efficiency of energy transfer from burner output to wheels.

Template:Prototype property

Template:Prototype property

Template:Prototype property Must be a burner energy source when using "burner", otherwise it can also be a void energy source.

Template:Prototype property Size of the car inventory.

Optional properties

Template:Prototype property Animation speed 1 means 1 frame per tile.

Template:Prototype property Must have the same frame count as animation.

Template:Prototype property

Template:Prototype property If this car prototype uses tank controls to drive.

Template:Prototype property If this car is immune to movement by belts.

Template:Prototype property If this car gets damaged by driving over/against Prototype/Trees.

Template:Prototype property If this car gets damaged by driving over/against rocks.

Template:Prototype property

Template:Prototype property Timeout in ticks specifying how long the turret must be inactive to return to the default position.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The guns this car prototype uses.