Audio: Projectile Sounds Manager – Arma Reforger
Category: Arma Reforger/Modding/Guidelines/Audio
ProjectileSoundsManager
- Handles Sonic Crack / Bullet Flyby sounds.
- The World has to contain a ProjectileSoundsManager entity for Sonic Cracks / Bullet Flybys to work.
- You can use the prepared prefab (\Prefabs\Sounds\Weapons\ProjectileSoundsManager.et) or create a new one.
- The ProjectileSoundsManager needs to have all bulletCrack/flyBy acps which will be used defined in the "unsorted" category.
- The ProjectileSoundsManager entity has MaxAudibleDistance parameters for Subsonic (Bullet FlyBy) and supersonic sounds (Sonic Crack).
- The "Exclusion Radius" parameter defined the radius to the projectile's spawn location in which no sound will be played. Helps to prevent the projectiles from playing sounds when they shouldn't in some edge-cases.
ShellMoveComponent
- Ammo prefabs need to have a ShellMoveComponent.
- Subsonic and supersonic flyby/crack sounds can be defined in the "Audio Resources" tab.
Sound Events
See Audio: Sound Events - ProjectileSoundsManager.
Signals
- Distance: from listener to projectile sound
- Angle: between projectile trajectory and shooter-listener direction [0..180 degrees]
- Speed: Initial speed of projectile.
- IsDeflected: 0 if passing projectile never touched the ground, 1 if passing projectile got deflected before reaching the listener