Prototype/Turret: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(0.18.15: rotating_sound, folded_animation mandatory) |
||
Line 14: | Line 14: | ||
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}} | {{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}} | ||
Requires ammo_type in attack_parameters. | Requires ammo_type in attack_parameters. | ||
{{Prototype property|folded_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]}} | |||
{{Prototype property|call_for_help_radius|[[Types/double|double]]}} | {{Prototype property|call_for_help_radius|[[Types/double|double]]}} | ||
Line 43: | Line 45: | ||
{{Prototype property|base_picture|[[Types/Animation4Way|Animation4Way]]|optional=true}} | {{Prototype property|base_picture|[[Types/Animation4Way|Animation4Way]]|optional=true}} | ||
{{Prototype property|preparing_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | {{Prototype property|preparing_animation|[[Types/RotatedAnimation4Way|RotatedAnimation4Way]]|optional=true}} | ||
Line 78: | Line 78: | ||
{{Prototype property|prepared_alternative_sound|[[Types/Sound|Sound]]|optional=true}} | {{Prototype property|prepared_alternative_sound|[[Types/Sound|Sound]]|optional=true}} | ||
{{Prototype property|rotating_sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|rotation_speed|[[Types/float|float]]|1|optional=true}} | {{Prototype property|rotation_speed|[[Types/float|float]]|1|optional=true}} |
Revision as of 18:34, 1 April 2020
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
.