Class "ProjectileParams"
Constructors
ProjectileParams () {: aria-label='Constructors' }
void ProjectileParams ( void ) {: .copyable aria-label='Constructors' }
Variables
Acceleration {: aria-label='Variables' }
float Acceleration {: .copyable aria-label='Variables' }
BulletFlags {: aria-label='Variables' }
int BulletFlags {: .copyable aria-label='Variables' }
ChangeFlags {: aria-label='Variables' }
int ChangeFlags {: .copyable aria-label='Variables' }
Uses ProjectileFlags to define the projectile attributes after the "Changed" state was activated. The ProjectileFlag.CHANGE_FLAGS_AFTER_TIMEOUT needs to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: EntityProjectile
ChangeTimeout {: aria-label='Variables' }
int ChangeTimeout {: .copyable aria-label='Variables' }
Number of frames that need to elapse after spawn till the "Changed" state is activated. The ProjectileFlag.CHANGE_FLAGS_AFTER_TIMEOUT or CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: EntityProjectile
ChangeVelocity {: aria-label='Variables' }
float ChangeVelocity {: .copyable aria-label='Variables' }
Velocity value that gets applied when the "Changed" state is activated. The ProjectileFlag.CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: EntityProjectile
CircleAngle {: aria-label='Variables' }
float CircleAngle {: .copyable aria-label='Variables' }
Angle offset used by fire_projectiles PROJECTILES_CIRCLE type emitter. Random by default.
CurvingStrength {: aria-label='Variables' }
float CurvingStrength {: .copyable aria-label='Variables' }
Use very small values for curving like 0.005.
DepthOffset {: aria-label='Variables' }
float DepthOffset {: .copyable aria-label='Variables' }
DotProductLimit {: aria-label='Variables' }
float DotProductLimit {: .copyable aria-label='Variables' }
Direction bullets are being fired in Dot product of FireDirectionLimit, bullet direction must be >= this value
FallingAccelModifier {: aria-label='Variables' }
float FallingAccelModifier {: .copyable aria-label='Variables' }
FallingSpeedModifier {: aria-label='Variables' }
float FallingSpeedModifier {: .copyable aria-label='Variables' }
FireDirectionLimit {: aria-label='Variables' }
Vector FireDirectionLimit {: .copyable aria-label='Variables' }
GridCollision {: aria-label='Variables' }
boolean GridCollision {: .copyable aria-label='Variables' }
HeightModifier {: aria-label='Variables' }
float HeightModifier {: .copyable aria-label='Variables' }
HomingStrength {: aria-label='Variables' }
float HomingStrength {: .copyable aria-label='Variables' }
Multiplier on normal homing strength. Unused if SMART bullet flag is not set.
Color {: aria-label='Variables' }
PositionOffset {: aria-label='Variables' }
Vector PositionOffset {: .copyable aria-label='Variables' }
Scale {: aria-label='Variables' }
float Scale {: .copyable aria-label='Variables' }
Spread {: aria-label='Variables' }
float Spread {: .copyable aria-label='Variables' }
For quad/quint/etc spread shots.
TargetPosition {: aria-label='Variables' }
Vector TargetPosition {: .copyable aria-label='Variables' }
Variant {: aria-label='Variables' }
int Variant {: .copyable aria-label='Variables' }
VelocityMulti {: aria-label='Variables' }
float VelocityMulti {: .copyable aria-label='Variables' }
WiggleFrameOffset {: aria-label='Variables' }
int WiggleFrameOffset {: .copyable aria-label='Variables' }
Used to offset the wiggle wave.
Last updated