Skip to content

Commit

Permalink
[feature] Bloat Explosion & idle talking
Browse files Browse the repository at this point in the history
- Replaced with Boomer explosion from L4D2
  • Loading branch information
Vel-San committed Jul 11, 2020
1 parent f1d4b11 commit df5dbe8
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 16 deletions.
15 changes: 13 additions & 2 deletions Classes/KFVP.uc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Class KFVP extends Interaction;

const VoicePackageName="KF_VP";

var bool bSiren, bScrake, bFleshP, bPatty;
var bool bSiren, bScrake, bFleshP, bPatty, bBloat;

struct FSoundCacheType
{
Expand All @@ -20,6 +20,7 @@ function Initialized()
bScrake = class'KFZedVoiceChanger'.default.bScrake;
bFleshP = class'KFZedVoiceChanger'.default.bFleshP;
bPatty = class'KFZedVoiceChanger'.default.bPatty;
bBloat = class'KFZedVoiceChanger'.default.bBloat;

// Siren
/*if (bSiren){
Expand Down Expand Up @@ -48,6 +49,17 @@ function Initialized()
S.Sounds[0] = LoadSound("FP_godzilla_rage");
}

// Bloat - Explosion
if (bBloat){
log("-----|| Bloat Custom Sound Enabled ||-----");
CacheSound(S,SoundGroup'KF_EnemiesFinalSnd.Bloat_DeathPop');
S.Sounds.Length = 3;
S.Sounds[0] = LoadSound("BoomerPop1");
S.Sounds[1] = LoadSound("BoomerPop2");
S.Sounds[2] = LoadSound("BoomerPop3");
class'ZombieBloat_STANDARD'.default.HeadLessDeathSound = Sound'KF_VP.BoomerPop1';
log("-----|| Default Bloat Headless Sound: " $class'ZombieBloat_STANDARD'.default.HeadLessDeathSound$ " ||-----");
}

// Patty
if (bPatty){
Expand All @@ -63,7 +75,6 @@ function Initialized()
S.Sounds[0] = LoadSound("PattyEntrance_Scream");
}


Class'ZombieScrake'.Default.TransientSoundVolume = 2.5f;
Class'ZombieScrake'.Default.TransientSoundRadius = 1500.f;
Class'ZombieFleshPound'.Default.TransientSoundVolume = 2.f;
Expand Down
14 changes: 10 additions & 4 deletions Classes/KFZedVoiceChanger.uc
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@

Class KFZedVoiceChanger extends Mutator config(KFZedVoiceChanger);

var() config bool bSiren, bScrake, bFleshP, bPatty;
var() config bool bSiren, bScrake, bFleshP, bPatty, bBloat;

function PreBeginPlay()
{
AddToPackageMap();
AddToPackageMap(Class'KFVP'.Static.GetVoicePackage());
}

simulated function Tick( float Delta )
{
// Make sure client did download the voice pack too.
if( Level.NetMode!=NM_DedicatedServer)
if( Level.NetMode!=NM_DedicatedServer){
Class'KFVP'.Static.InitializeSoundsFor(Level.GetLocalPlayerController());

}
Disable('Tick');
}

Expand All @@ -30,6 +31,8 @@ static function FillPlayInfo(PlayInfo PlayInfo)
PlayInfo.AddSetting("KFZedVoiceChanger", "bScrake", "Scrake", 0, 0, "check");
PlayInfo.AddSetting("KFZedVoiceChanger", "bFleshP", "FleshPound", 0, 0, "check");
PlayInfo.AddSetting("KFZedVoiceChanger", "bPatty", "Patty Daddy", 0, 0, "check");
PlayInfo.AddSetting("KFZedVoiceChanger", "bBloat", "Bloat", 0, 0, "check");

}

static function string GetDescriptionText(string SettingName)
Expand All @@ -44,6 +47,8 @@ static function string GetDescriptionText(string SettingName)
return "Replaces Fleshpound rage with Godzilla Scream";
case "bPatty":
return "Memes. Just MEMES.";
case "bBloat":
return "L4D2 Boomer Explosion & Idle Talking";
default:
return Super.GetDescriptionText(SettingName);
}
Expand All @@ -54,7 +59,7 @@ defaultproperties
// Mut Vars
GroupName="KF-ZedVoiceChanger"
FriendlyName="ZED Voice Changer Mut"
Description="Changes Fleshpound, Scrake & Patriach Attack Sound Effects - More sounds to be added soon!"
Description="Changes some voice-lines sounds for some ZEDs - More sounds to be added soon!"
bAlwaysRelevant=True
RemoteRole=ROLE_SimulatedProxy

Expand All @@ -63,4 +68,5 @@ defaultproperties
bScrake=True
bFleshP=True
bPatty=True
bBloat=True
}
Binary file modified Sounds/KF_VP.uax
Binary file not shown.
27 changes: 17 additions & 10 deletions Steam_WorkShop_Description/Workshop-Text
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
This Mutator replaces:

- Fleshpound rage sound with '2004 Godzilla Screech'
- Scrake Attacks (When he's screwing you witht he saw) to KF2 Scrake Sounds ( 3 Different Effects )
- Fleshpound rage sound with '2004 Godzilla Screech' - [url=https://streamable.com/5hmprg]VIDEO[/url]

- Scrake Attacks (When he's screwing you with the saw) to KF2 Scrake Sounds ( 3 Different Effects ) - [url=https://streamable.com/aqe2hh]VIDEO[/url]

- Patty Entrance and Entrance Scream with:
- Catch me outside how about that
- It's Joooooohhhhnnn Cena
- I will find you and i will kill you
- I can't Belive you've done this!
- Jojo's NANI (Entrance Scream)
----- Catch me outside how about that
----- It's Joooooohhhhnnn Cena
----- I will find you and i will kill you [url=https://streamable.com/pk05rs]VIDEO[/url]
----- I can't Belive you've done this! [url=https://streamable.com/jkfsn7]VIDEO[/url]
----- Jojo's NANI (Entrance Scream)

- Bloat Explosion & idle talking as Boomer from L4D2 [url=https://streamable.com/m9sp2j]VIDEO[/url]

- [strike]Siren has a Demon Screech for the scream[/strike] Disabled for now

NOTE: This works server-side too. Meaning any player who joins your server will have the sound effect as well
NOTE: Based off Marco's Classic Zeds Mut, edited by me to support Sounds instead of SoundGroups only and made each sound selectable instead of changing everything at once
NOTE:

- This works server-side too. Meaning any player who joins your server will have the sound effect as well
- Based off Marco's Classic Zeds Mut, edited by me to support Sounds instead of SoundGroups only and made each sound selectable instead of changing everything at once

[b][u]Features that might be added[/u][/b]

- I will always update this whenver i have time or find a new sound that suits a ZED. Suggestions are welcome too!
- I will always update this whenever i have time or find a new sound that suits a ZED. Suggestions are welcome too!

[b][u]Number Of Files[/u][/b]

Expand Down

0 comments on commit df5dbe8

Please sign in to comment.