Clusterbang (#2712)
* Code is ready but item now spawning * Prototype of SeveralExplosive component * Remaked to FlashExplosiveComponent using * Done. But i feel myself retarted * Remaked. Looks good * Full loaded prototype added * Throwing in progress. Fatal error is here * I forgot about shared * Sloth refactor * Delayed spawning and fix crashes * Full clusterbang code. * Removed useless variable and tuned delay * Delete wrong in CreamPiedComponent * Now yaml is code quality followed * Reworked to GetLevel with bugs * Never forget resources, guys * RoundToLevels added. Now it works. * New textures and sloth refactor is returned * Now it's TryGetComponent * Visualizer maximum fix and look fix * Logging and no max and min check * Removed max grenades sending * vizualizer is better now * GrenadesMax removed * grammar, checks, NextFloat and no more try catch * Unused using removed Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: ClusterBang
|
||||
name: ClusterBang
|
||||
description: Can be used only with flashbangs. Explodes several times.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Grenades/clusterbang.rsi
|
||||
netsync: false
|
||||
state: base-0
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: ClusterFlashVisualizer
|
||||
state: base
|
||||
- type: ClusterFlash
|
||||
|
||||
- type: entity
|
||||
parent: ClusterBang
|
||||
id: ClusterBangFull
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Sprite
|
||||
state: base-3
|
||||
- type: ClusterFlash
|
||||
fillPrototype: GrenadeFlashBang
|
||||
|
||||
Reference in New Issue
Block a user