Prototype/FluidTurret: Difference between revisions
(Set prototype parent) |
m (words) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Turret}} | {{Prototype parent|Prototype/Turret}} | ||
A turret that consumes fluid as ammo. | |||
{{Prototype TOC|fluid-turret}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Turret]]. | This prototype inherits all the properties from [[Prototype/Turret]]. | ||
{{Prototype property|fluid_buffer_size|[[Types/float|float]]}} | |||
{{Prototype property|fluid_buffer_input_flow|[[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]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|muzzle_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|enough_fuel_indicator_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|not_enough_fuel_indicator_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|muzzle_animation|[[Types/Animation|Animation]]|optional=true}} | |||
{{Prototype property|folded_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|preparing_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|prepared_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|starting_attack_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|attacking_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|ending_attack_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|folding_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}} | |||
{{Prototype property|enough_fuel_indicator_picture|[[Types/Sprite4Way|Sprite4Way]]|optional=true}} | |||
{{Prototype property|not_enough_fuel_indicator_picture|[[Types/Sprite4Way|Sprite4Way]]|optional=true}} | |||
{{Prototype property|out_of_ammo_alert_icon|[[Types/Sprite|Sprite]]|optional=true}} | |||
== Mandatory values == | == Mandatory values == |
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.