Prototype/FluidTurret: Difference between revisions
(1.1: indicator_light removed and enough_fuel_indicator_light + not_enough_fuel_indicator_light added) |
m (words) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
{{Prototype property|activation_buffer_ratio|[[Types/float|float]]}} | {{Prototype property|activation_buffer_ratio|[[Types/float|float]]}} | ||
Before an turret that is out of ammo is able to fire, the fluid_buffer_size must fill to this proportion. | |||
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}} | {{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}} |
Latest revision as of 10:32, 21 September 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Turret » Prototype/FluidTurret
A turret that consumes fluid as ammo.
Mandatory properties
This prototype inherits all the properties from Prototype/Turret.
fluid_buffer_size
Type: float
fluid_buffer_input_flow
Type: float
activation_buffer_ratio
Type: float
Before an turret that is out of ammo is able to fire, the fluid_buffer_size must fill to this proportion.
fluid_box
Type: FluidBox
Optional properties
muzzle_light
Type: LightDefinition
enough_fuel_indicator_light
Type: LightDefinition
not_enough_fuel_indicator_light
Type: LightDefinition
muzzle_animation
Type: Animation
folded_muzzle_animation_shift
Type: AnimatedVector
preparing_muzzle_animation_shift
Type: AnimatedVector
prepared_muzzle_animation_shift
Type: AnimatedVector
starting_attack_muzzle_animation_shift
Type: AnimatedVector
attacking_muzzle_animation_shift
Type: AnimatedVector
ending_attack_muzzle_animation_shift
Type: AnimatedVector
folding_muzzle_animation_shift
Type: AnimatedVector
enough_fuel_indicator_picture
Type: Sprite4Way
not_enough_fuel_indicator_picture
Type: Sprite4Way
out_of_ammo_alert_icon
Type: Sprite
Mandatory values
Fluid turret can have only stream attack parameters.
Fluid turret has to have turret_base_has_direction=true.