Home

SmokeSource

Definition of the smoke of an entity.

Type

struct

Properties

name

frequency

Number of smokes generated per entity animation cycle (or per tick for some entities). Can't be negative or infinite.

offset

Offsets animation cycle, to move at which points of the cycle the smoke gets emitted.

position

Positional offset of smoke source relative to owner entity position. The vector is rotated by orientation of the entity.

If any of north_position, north_east_position, east_position, south_east_position, south_position, south_west_position, west_position, north_west_position is defined, position is used only as default value for directional positions. Orientation of the owner entity will be rounded to 4 or 8 directions and one of the directional positions will be used as the offset instead of position.

has_8_directions

north_position

north_east_position

Only loaded if has_8_directions is true.

east_position

south_east_position

Only loaded if has_8_directions is true.

south_position

south_west_position

Only loaded if has_8_directions is true.

west_position

north_west_position

Only loaded if has_8_directions is true.

deviation

starting_frame

starting_frame_deviation

height

height_deviation

starting_vertical_speed

starting_vertical_speed_deviation

vertical_speed_slowdown

A value between 0 and 1.