Home

SegmentPrototype

Entity representing an individual segment in a SegmentedUnitPrototype

Parent

Properties

dying_sound

The sound to play when the entity dies.

If not specified, UtilitySounds::segment_dying_sound is used.

dying_sound_volume_modifier

animation

The animation to use of the entity.

render_layer

The layer to render the entity in.

forward_overlap

The number of segments ahead of this one that should always be rendered atop this one, giving the illusion that at all orientations, those preceding segments overlap this current segment.

Must be 0 or greater, and the sum of forward_overlap and backward_overlap must be less than or equal to 4.

backward_overlap

The number of segments behind this one that should always be rendered atop this one, giving the illusion that at all orientations, those following segments overlap this current segment.

Must be 0 or greater, and the sum of forward_overlap and backward_overlap must be less than or equal to 4.

forward_padding

The number of tiles of spacing to add in front of this segment. Can be negative. Scales with the segment scale when used in a SegmentEngineSpecification.

backward_padding

The number of tiles of spacing to add behind this segment. Can be negative. Scales with the segment scale when used in a SegmentEngineSpecification.

update_effects

The effects to trigger every tick.

update_effects_while_enraged

The effects to trigger every tick while enraged, in addition to update_effects.