Шейдер ударной волны для взрывов (#633)
* Adds shock wave shader (#2631) Co-authored-by: DOOM <N/A> Co-authored-by: Whisper <121047731+QuietlyWhisper@users.noreply.github.com> * add explosive shockwave * add shockwave to fireball * wd edit * cleanup * remove exgreande beeping sound --------- Co-authored-by: Vero <73014819+vero5123@users.noreply.github.com> Co-authored-by: Whisper <121047731+QuietlyWhisper@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Server.Explosion.Components;
|
||||
using Content.Server.NodeContainer.EntitySystems;
|
||||
using Content.Server.NPC.Pathfinding;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared._White.Explosion;
|
||||
using Content.Shared.Audio;
|
||||
using Content.Shared.Armor;
|
||||
using Content.Shared.Camera;
|
||||
@@ -176,6 +177,11 @@ public sealed partial class ExplosionSystem
|
||||
totalIntensity ??= RadiusToIntensity((float) radius, explosive.IntensitySlope, explosive.MaxIntensity);
|
||||
totalIntensity ??= explosive.TotalIntensity;
|
||||
|
||||
// WD edit start
|
||||
var ev = new ExplosiveTriggeredEvent();
|
||||
RaiseLocalEvent(uid, ref ev);
|
||||
// WD edit end
|
||||
|
||||
QueueExplosion(uid,
|
||||
explosive.ExplosionType,
|
||||
(float) totalIntensity,
|
||||
|
||||
Reference in New Issue
Block a user