Inherits from TriggerDeliveryItem |
type | :: "projectile" | |
projectile | :: EntityID | Name of a ProjectilePrototype. |
Name of a ProjectilePrototype. | ||
starting_speed | :: float | Starting speed in tiles per tick. |
Starting speed in tiles per tick. | ||
starting_speed_deviation optional | :: float | |
direction_deviation optional | :: float | Maximum deviation of the projectile from source orientation, in +/- ( |
Maximum deviation of the projectile from source orientation, in +/- ( | ||
range_deviation optional | :: float | The maximum deviation of the projectile maximum range from |
The maximum deviation of the projectile maximum range from | ||
max_range optional | :: double | |
min_range optional | :: double |
source_effects optional | :: TriggerEffect | Provides the source of the TriggerDelivery as as both the source and target of the effect. |
Provides the source of the TriggerDelivery as as both the source and target of the effect. | ||
target_effects optional | :: TriggerEffect |
projectile | :: EntityID | Name of a ProjectilePrototype. |
Name of a ProjectilePrototype. | ||
starting_speed | :: float | Starting speed in tiles per tick. |
Starting speed in tiles per tick. | ||
type | :: "projectile" | |
direction_deviation optional | :: float | Maximum deviation of the projectile from source orientation, in +/- ( |
Maximum deviation of the projectile from source orientation, in +/- ( | ||
max_range optional | :: double | |
min_range optional | :: double | |
range_deviation optional | :: float | The maximum deviation of the projectile maximum range from |
The maximum deviation of the projectile maximum range from | ||
starting_speed_deviation optional | :: float |
source_effects optional | :: TriggerEffect | Provides the source of the TriggerDelivery as as both the source and target of the effect. |
Provides the source of the TriggerDelivery as as both the source and target of the effect. | ||
target_effects optional | :: TriggerEffect |
Name of a ProjectilePrototype.
Starting speed in tiles per tick.
Default: 0
Default: 0
Maximum deviation of the projectile from source orientation, in +/- (x radians / 2
). Example: 3.14 radians -> +/- (180° / 2)
, meaning up to 90° deviation in either direction of rotation.
Default: 0
The maximum deviation of the projectile maximum range from max_range
is max_range × range_deviation ÷ 2
. This means a deviation of 0.5
will appear as a maximum of 0.25
(25%) deviation of an initial range goal. Post-deviation range may exceed max_range
or be less than min_range
.
Default: 1000
Default: 0