Prototype/FluidTurret: Difference between revisions
(→Mandatory properties: activation_buffer_ratio description) |
m (→Mandatory properties: used relevant field name instead of "ammo buffer") |
||
Line 12: | Line 12: | ||
{{Prototype property|activation_buffer_ratio|[[Types/float|float]]}} | {{Prototype property|activation_buffer_ratio|[[Types/float|float]]}} | ||
Before an ammoless turret is able to fire, the | Before an ammoless turret 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]]}} |
Revision as of 01:11, 2 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 ammoless turret 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.