The ArtiTeleport class uses A_PlaySound to play the sound of Corvus laughing. Problem: even if the artifact is used by a PlayerPawn whose SoundClass isn't “player”, and there is some other applicable playersound for “*evillaugh”, it won't get played; Corvus' laughter is still used.
The offending call is on wadsrc/static/zscript/raven/artitele.txt line 52.
Chaos Device laughter ignores player class
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: Chaos Device laughter ignores player class
Post a runnable sample please.
Re: Chaos Device laughter ignores player class
Okay. The attached pk3 adds a player class “Test” that changes two sounds: you get the laughter for *usefail (try to push a wall but fail), and a grunt for *evillaugh (use a Chaos Device). The former works, but the latter doesn't.
- Attachments
-
- laughbugdemo.pk3
- (623 Bytes) Downloaded 28 times
Re: Chaos Device laughter ignores player class
It was that call indeed. Fixed in 79bdfe4.