Why can't I yell at everyone?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Zeberpal
Forum Regular
Posts: 477
Joined: Mon Jun 04, 2012 6:55 am

Why can't I yell at everyone?

#1

Post by Zeberpal » Wed Sep 10, 2014 5:03 pm

As title says, why my taunts does not work? ...Well, it works, but it's default marine's "huehue" laugh.
Spoiler: SNDINFO (Open)
SFXTAUN1 to SFXTAUN6 are located in my sounds pk3 folder.

Code: Select all

$playersound    NewPlayer    male    *taunt        NewPlayer/Taunt

$random NewPlayer/Taunt { NewPlayerTaunt1 NewPlayerTaunt2 NewPlayerTaunt3 NewPlayerTaunt4 NewPlayerTaunt5 NewPlayerTaunt6 }

NewPlayerTaunt1 SFXTAUN1
NewPlayerTaunt2 SFXTAUN2
NewPlayerTaunt3 SFXTAUN3
NewPlayerTaunt4 SFXTAUN4
NewPlayerTaunt5 SFXTAUN5
NewPlayerTaunt6 SFXTAUN6
Spoiler: KEYCONF (Open)

Code: Select all

clearplayerclasses
addplayerclass "NewPlayer"
Spoiler: MAPINFO (Open)

Code: Select all

GameInfo
{
   PlayerClasses = "NewPlayer"
}
Spoiler: DECORATE (Open)

Code: Select all

actor NewPlayer : Doomplayer replaces Doomplayer
{
	Speed 0.3
	Radius 13
	Height 25
	Player.ViewHeight 25
	Player.JumpZ 6.0
	Mass 50
	Health 100
}
Image ImageImage

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: Why can't I yell at everyone?

#2

Post by TerminusEst13 » Wed Sep 10, 2014 5:39 pm

Change $playersound to $playeralias
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Why can't I yell at everyone?

#3

Post by Ivan » Wed Sep 10, 2014 5:42 pm

TerminusEst13 wrote: Change $playersound to $playeralias
Yes, player sounds need to have $playeralias if you use a random set of sounds to play on an occasion. Also, add Player.SoundClass "NewPlayer" to your player in decorate, just in case.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

User avatar
Zeberpal
Forum Regular
Posts: 477
Joined: Mon Jun 04, 2012 6:55 am

RE: Why can't I yell at everyone?

#4

Post by Zeberpal » Wed Sep 10, 2014 6:17 pm

Thank you both guys, and yeah, SoundClass is required.
Image ImageImage

Post Reply