Zombie SFX (#9976)

This commit is contained in:
Nemanja
2022-08-07 23:16:43 -04:00
committed by GitHub
parent 39ef4179d0
commit 123c631067
11 changed files with 127 additions and 7 deletions

View File

@@ -30,6 +30,10 @@ using Content.Shared.Zombies;
using Content.Shared.Popups;
using Content.Server.Atmos.Miasma;
using Content.Server.IdentityManagement;
using Content.Shared.Audio;
using Content.Shared.Sound;
using Robust.Shared.Random;
using Content.Server.Speech;
using Content.Shared.Movement.Systems;
namespace Content.Server.Zombies
@@ -111,6 +115,11 @@ namespace Content.Server.Zombies
RemComp<CombatModeComponent>(target);
AddComp<CombatModeComponent>(target);
var vocal = EnsureComp<VocalComponent>(target);
var scream = new SoundCollectionSpecifier ("ZombieScreams");
vocal.FemaleScream = scream;
vocal.MaleScream = scream;
///This is the actual damage of the zombie. We assign the visual appearance
///and range here because of stuff we'll find out later
var melee = EnsureComp<MeleeWeaponComponent>(target);