Discuss all aspects related to modding Zandronum here.
-
Zeberpal
- Forum Regular
- Posts: 477
- Joined: Mon Jun 04, 2012 6:55 am
#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
}
-
TerminusEst13
- Retired Staff / Community Team Member
- Posts: 865
- Joined: Tue Jun 05, 2012 11:06 pm
#2
Post
by TerminusEst13 » Wed Sep 10, 2014 5:39 pm
Change $playersound to $playeralias
-
Ivan
- Addicted to Zandronum
- Posts: 2229
- Joined: Mon Jun 04, 2012 5:38 pm
- Location: Omnipresent
#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.
-
Zeberpal
- Forum Regular
- Posts: 477
- Joined: Mon Jun 04, 2012 6:55 am
#4
Post
by Zeberpal » Wed Sep 10, 2014 6:17 pm
Thank you both guys, and yeah, SoundClass is required.