Prototype/Turret: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition. | |||
{{Prototype TOC|turret}} | |||
Prototype | |||
== Extensions == | == Extensions == | ||
Line 14: | Line 12: | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}} | |||
Requires ammo_type in attack_parameters. | Requires ammo_type in attack_parameters. | ||
{{Prototype property|call_for_help_radius|[[Types/double|double]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|corpse|[[Types/string|string]]|optional=true}} | |||
The name of an entity. Note that this overrides how EntityWithHealth loads the corpse, forcing it to be a string instead of an array of strings. | |||
The name of an entity. | |||
{{Prototype property|shoot_in_prepare_state|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|turret_base_has_direction|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|random_animation_offset|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|secondary_animation|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|attack_from_start_frame|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|allow_turning_when_starting_attack|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|base_picture_secondary_draw_order|[[Types/uint8|uint8]]|0|optional=true}} | |||
{{Prototype property|gun_animation_secondary_draw_order|[[Types/uint8|uint8]]|0|optional=true}} | |||
{{Prototype property|base_picture_render_layer|[[Types/RenderLayer|RenderLayer]]|"lower-object"|optional=true}} | |||
{{Prototype property|gun_animation_render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}} | |||
{{Prototype property|base_picture|[[Types/Animation4Way|Animation4Way]]|optional=true}} | |||
{{Prototype property|folded_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|preparing_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|prepared_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|prepared_alternative_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|starting_attack_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|attacking_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|energy_glow_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|ending_attack_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|folding_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | |||
{{Prototype property|integration|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|glow_light_intensity|[[Types/float|float]]|0|optional=true}} | |||
The intensity of light in the form of <code>energy_glow_animation</code> drawn on top of <code>energy_glow_animation</code>. | The intensity of light in the form of <code>energy_glow_animation</code> drawn on top of <code>energy_glow_animation</code>. | ||
{{Prototype property|starting_attack_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|dying_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|preparing_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|folding_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|prepared_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|prepared_alternative_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|rotation_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|preparing_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|folded_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|folded_speed_secondary|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepared_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepared_speed_secondary|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepared_alternative_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepared_alternative_speed_secondary|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepared_alternative_chance|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|starting_attack_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|attacking_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|ending_attack_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|folding_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|prepare_range|[[Types/double|double]]|The range defined in the <code>attack_parameters</code>|optional=true}} | |||
{{Prototype property|alert_when_attacking|[[Types/bool|bool]]|true|optional=true}} |
Revision as of 20:50, 5 August 2019
Template:Prototype parent A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition.
Extensions
- Prototype/AmmoTurret ammo-turret
- Prototype/ElectricTurret electric-turret
- Prototype/FluidTurret fluid-turret
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Requires ammo_type in attack_parameters.
Optional properties
Template:Prototype property The name of an entity. Note that this overrides how EntityWithHealth loads the corpse, forcing it to be a string instead of an array of strings.
Template:Prototype property
The intensity of light in the form of energy_glow_animation
drawn on top of energy_glow_animation
.