So I'm trying to do some basic ACS audio scripting, but it's being really finicky about not wanting to play, to the point that I think it might just be my GZDoom settings.
The script is activated through the player walking over (I've tried it via picking up an item as well)
The reason I think it might be my GZDoom settings is because I tested it with the example map here: https://zdoom.org/wiki/PlaySound, and it still didn't work despite changing nothing. I dunno what's happening.
EDIT: I found a temporary solution. I just tied it to an ambient sound entity, and enabled it and disabled it at the correct time. It's clunky, but it'll get the job done for now. (I would still prefer to know the proper way to do this tho)
So I'm trying to do some basic ACS audio scripting, but it's being really finicky about not wanting to play, to the point that I think it might just be my GZDoom settings.
This is the basic script:
Script 6 (void)
{
ActivatorSound("INTRO_SPOOK", 1);
}
This is the sound declaration in SND_INFO:
INTRO_SPOOK D_SPOOK
D_SPOOK is a Ogg file, 249.14kb in size
The script is activated through the player walking over (I've tried it via picking up an item as well)
The reason I think it might be my GZDoom settings is because I tested it with the example map here: https://zdoom.org/wiki/PlaySound, and it still didn't work despite changing nothing. I dunno what's happening.
EDIT: I found a temporary solution. I just tied it to an ambient sound entity, and enabled it and disabled it at the correct time. It's clunky, but it'll get the job done for now. (I would still prefer to know the proper way to do this tho)
Edited by HQDefaultShare this post
Link to post