Flare gun 1984 (#15807)

This commit is contained in:
metalgearsloth
2023-05-04 12:46:02 +10:00
committed by GitHub
parent 6408e69fe7
commit 06efff2b2d
4 changed files with 82 additions and 40 deletions

View File

@@ -108,19 +108,42 @@
id: PelletShotgunFlare
name: pellet (.50 flare)
noSpawn: true
parent: BaseBullet
components:
- type: CollisionWake
- type: TileFrictionModifier
modifier: 0.5
- type: Physics
bodyType: Dynamic
fixedRotation: false
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 20
mask:
- ItemMask
restitution: 0.3
friction: 0.2
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
state: buckshot-flare
- type: Projectile
damage:
groups:
Burn: 14
- type: IgnitionSource
temperature: 1000
- type: TimedDespawn
lifetime: 240
- type: AmbientSound
enabled: true
volume: 0
range: 7
sound:
path: /Audio/Items/Flare/flare_burn.ogg
params:
loop: true
- type: IgniteOnCollide
fireStacks: 1
- type: PointLight
enabled: true
color: "#FF8080"
radius: 15.0
energy: 9.0
- type: IgniteOnCollide
fireStacks: 4