Bullet flyby sounds (#8317)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
description: If you can see this you're probably dead!
|
||||
abstract: true
|
||||
components:
|
||||
- type: FlyBySound
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
@@ -21,6 +22,7 @@
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.1,-0.1,0.1,0.1"
|
||||
hard: false
|
||||
id: projectile
|
||||
mask:
|
||||
- Impassable
|
||||
- BulletImpassable
|
||||
@@ -47,6 +49,7 @@
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.15,-0.45,0.15,0.15"
|
||||
hard: false
|
||||
id: projectile
|
||||
mask:
|
||||
- Impassable
|
||||
- BulletImpassable
|
||||
@@ -111,6 +114,11 @@
|
||||
parent: BulletBase
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: FlyBySound
|
||||
sound:
|
||||
collection: EnergyMiss
|
||||
params:
|
||||
volume: 5
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: Objects/Weapons/Guns/Projectiles/spark.rsi
|
||||
@@ -125,6 +133,7 @@
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,-0.2,0.2,0.2"
|
||||
hard: false
|
||||
id: projectile
|
||||
mask:
|
||||
- Impassable
|
||||
- BulletImpassable
|
||||
@@ -159,6 +168,7 @@
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,-0.2,0.2,0.2"
|
||||
hard: false
|
||||
id: projectile
|
||||
mask:
|
||||
- Impassable
|
||||
- Opaque
|
||||
|
||||
12
Resources/Prototypes/SoundCollections/gun_sounds.yml
Normal file
12
Resources/Prototypes/SoundCollections/gun_sounds.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- type: soundCollection
|
||||
id: BulletMiss
|
||||
files:
|
||||
- /Audio/Weapons/Guns/Miss/bullet_miss1.ogg
|
||||
- /Audio/Weapons/Guns/Miss/bullet_miss2.ogg
|
||||
- /Audio/Weapons/Guns/Miss/bullet_miss3.ogg
|
||||
- /Audio/Weapons/Guns/Miss/bullet_miss4.ogg
|
||||
|
||||
- type: soundCollection
|
||||
id: EnergyMiss
|
||||
files:
|
||||
- /Audio/Weapons/Guns/Miss/energy_miss1.ogg
|
||||
Reference in New Issue
Block a user