You've got your ACS and SNDINFO set up wrong.
You have two LOADACS lumps.
One of them just says "axe"
The other has your "taunts" script
There is no compiled ACS binary lump called "axe"
Meanwhile your KEYCONF binds that taunt alias to "puke 302" but there's no script 302
In your SNDINFO you've got
Code: Select all
$random Taunts/Ash { Taunts/Taunt01 Taunts/Taunt02 Taunts/Taunt03 Taunts/Taunt04 Taunts/Taunt05 Taunts/Taunt06 Taunts/Taunt07 Taunts/Taunt08 Taunts/Taunt09 Taunts/Taunt10 }
ash/taunt01 ASHT01
ash/taunt02 ASHT02
ash/taunt03 ASHT03
ash/taunt04 ASHT04
ash/taunt05 ASHT05
ash/taunt06 ASHT06
ash/taunt07 ASHT07
ash/taunt08 ASHT08
ash/taunt09 ASHT09
ash/taunt10 ASHT10
so you're calling "Taunts/Taunt01" when the actual sound name is "ash/taunt01"
I can't be bothered to code the ACS so here's my solution:
Delete both your LOADACS lumps and add the following ZSCRIPT lump:
Code: Select all
version "3.3"
class TauntHandler:EventHandler{
override void NetworkProcess(ConsoleEvent e){
let ppp = playerpawn(players[e.player].mo);
if(!ppp) return;
if(
e.name~=="taunt"
&&ppp.health>0
){
ppp.A_PlaySound("taunts/ash",CHAN_VOICE);
ppp.A_AlertMonsters();
}
}
}
in KEYCONF, instead of the puke, bind the alias to "netevent taunt"
in SNDINFO, replace all "Taunt/" with "ash/"
in the MAPINFO lump that contains the gameinfo section, add inside that section
Make sure you test this using the key, not just typing "oneliner" in the console!
You've got your ACS and SNDINFO set up wrong.
You have two LOADACS lumps.
One of them just says "axe"
The other has your "taunts" script
There is no compiled ACS binary lump called "axe"
Meanwhile your KEYCONF binds that taunt alias to "puke 302" but there's no script 302
In your SNDINFO you've got[code]$random Taunts/Ash { Taunts/Taunt01 Taunts/Taunt02 Taunts/Taunt03 Taunts/Taunt04 Taunts/Taunt05 Taunts/Taunt06 Taunts/Taunt07 Taunts/Taunt08 Taunts/Taunt09 Taunts/Taunt10 }
ash/taunt01 ASHT01
ash/taunt02 ASHT02
ash/taunt03 ASHT03
ash/taunt04 ASHT04
ash/taunt05 ASHT05
ash/taunt06 ASHT06
ash/taunt07 ASHT07
ash/taunt08 ASHT08
ash/taunt09 ASHT09
ash/taunt10 ASHT10[/code]
so you're calling "Taunts/Taunt01" when the actual sound name is "ash/taunt01"
I can't be bothered to code the ACS so here's my solution:
Delete both your LOADACS lumps and add the following ZSCRIPT lump:
[code]version "3.3"
class TauntHandler:EventHandler{
override void NetworkProcess(ConsoleEvent e){
let ppp = playerpawn(players[e.player].mo);
if(!ppp) return;
if(
e.name~=="taunt"
&&ppp.health>0
){
ppp.A_PlaySound("taunts/ash",CHAN_VOICE);
ppp.A_AlertMonsters();
}
}
}[/code]
in KEYCONF, instead of the puke, bind the alias to "netevent taunt"
in SNDINFO, replace all "Taunt/" with "ash/"
in the MAPINFO lump that contains the gameinfo section, add inside that section[code]addeventhandlers = "TauntHandler"[/code]
Make sure you test this using the key, not just typing "oneliner" in the console!