Add pointlight to flashbangs (#15785)

This commit is contained in:
metalgearsloth
2023-04-26 13:51:48 +10:00
committed by GitHub
parent b7a8bb227f
commit 7360ed0a7f
6 changed files with 99 additions and 0 deletions

View File

@@ -60,12 +60,28 @@
sound:
path: "/Audio/Effects/flash_bang.ogg"
- type: DeleteOnTrigger
- type: SpawnOnTrigger
proto: GrenadeFlashEffect
- type: Appearance
visuals:
- type: TimerTriggerVisualizer
countdown_sound:
path: /Audio/Effects/countdown.ogg
- type: entity
id: GrenadeFlashEffect
noSpawn: true
components:
- type: PointLight
enabled: true
netsync: false
radius: 5
energy: 8
- type: LightFade
duration: 0.5
- type: TimedDespawn
lifetime: 0.5
- type: entity
name: Syndicate minibomb
description: A precision sabotage explosive for quickly destroying a machine, dead body, or whatever else needs to go.