Types/ProjectileAttackParameters: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0: added projectile_orientation_offset)
(shell_particle description)
Line 16: Line 16:
=== shell_particle ===
=== shell_particle ===
'''Type''': [[Types/CircularParticleCreationSpecification]]
'''Type''': [[Types/CircularParticleCreationSpecification]]
Used to show bullet shells/casings being ejected from the gun, e.g. [https://factorio.com/blog/post/fff-345 artillery shell casings].


=== projectile_creation_parameters ===
=== projectile_creation_parameters ===

Revision as of 15:17, 29 April 2022

Extends Types/BaseAttackParameters.

Optional properties

Inherits all properties from Types/BaseAttackParameters.

projectile_center

Type: Types/vector

Default: {0, 0}

projectile_creation_distance

Type: Types/float

Default: 0

shell_particle

Type: Types/CircularParticleCreationSpecification

Used to show bullet shells/casings being ejected from the gun, e.g. artillery shell casings.

projectile_creation_parameters

Type: Types/CircularProjectileCreationSpecification

projectile_orientation_offset

Type: Types/float

Default: 0