Prototype/Gate
Jump to navigation
Jump to search
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Gate
Basics
Prototype type: gate
Extends Prototype/EntityWithHealth.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
vertical_animation
Type: Types/Animation
horizontal_animation
Type: Types/Animation
vertical_rail_animation_left
Type: Types/Animation
vertical_rail_animation_right
Type: Types/Animation
horizontal_rail_animation_left
Type: Types/Animation
horizontal_rail_animation_right
Type: Types/Animation
vertical_rail_base
Type: Types/Animation
horizontal_rail_base
Type: Types/Animation
wall_patch
Type: Types/Animation
opening_speed
Type: Types/float
activation_distance
Type: Types/double
timeout_to_close
Type: Types/uint32
open_sound
Type: Types/Sound
close_sound
Type: Types/Sound
Optional properties
fadeout_interval
Type: Types/uint32
Default: 0
opened_collision_mask
Type: Types/CollisionMask
Default: {"object-layer", "item-layer", "floor-layer", "water-tile"}
This collision mask is used when the gate is open.