Prototype/Turret

From Official Factorio Wiki
Revision as of 11:15, 20 June 2018 by Bilka (talk | contribs) (Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === attack_pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

attack_parameters

Type: Types/AttackParameters

starting_attack_sound

Type: Types/Sound

dying_sound

Type: Types/Sound

call_for_help_radius

Type: Types/double

Optional properties

corpse

Type: Types/string

The name of an entity.

shoot_in_prepare_state

Type: Types/bool

Default: false

turret_base_has_direction

Type: Types/bool

Default: false

base_picture_secondary_draw_order

Type: Types/uint8

Default: 0

gun_animation_secondary_draw_order

Type: Types/uint8

Default: 0

base_picture_render_layer

Type: Types/RenderLayer

Default: "lower-object"

gun_animation_render_layer

Type: Types/RenderLayer

Default: "object"

base_picture

Type: Types/Animation4Way

folded_animation

Type: Types/RotatedAnimation4Way

preparing_animation

Type: Types/RotatedAnimation4Way

prepared_animation

Type: Types/RotatedAnimation4Way

starting_attack_animation

Type: Types/RotatedAnimation4Way

attacking_animation

Type: Types/RotatedAnimation4Way

ending_attack_animation

Type: Types/RotatedAnimation4Way

folding_animation

Type: Types/RotatedAnimation4Way

rotation_speed

Type: Types/float

Default: 1

folded_speed

Type: Types/float

Default: 1

preparing_speed

Type: Types/float

Default: 1

prepared_speed

Type: Types/float

Default: 1

starting_attack_speed

Type: Types/float

Default: 1

attacking_speed

Type: Types/float

Default: 1

ending_attack_speed

Type: Types/float

Default: 1

folding_speed

Type: Types/float

Default: 1

prepare_range

Type: Types/double

Default: The range defined in the attack_parameters

alert_when_attacking

Type: Types/bool

Default: true