oneshot audio

Discussion forum for Devil Whiskey 3rd Party MODS.

Moderator: Admin

Post Reply
User avatar
Rickstavern
Black Claw
Posts: 109
Joined: Tue Feb 22, 2005 11:34 am
Contact:

oneshot audio

Post by Rickstavern »

I have been playing around with some audio options and have run into a problem.

I want to fire off a one time audio event from within a script

Within the script I have the line

Code: Select all

playSpecAudio(e, "rtcastlewest1")
and I have defined the config file as

Code: Select all

intro audio/effects/belltoll1.wav
The script appears to work correctly, but I never hear the audio fire. Anyone have an idea why this does not seem to work? The best example I found for this is the 1stHelp.py script which uses the playspecaudio event.
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Could it be something with your audio file? Try it with a standard DW sound file, and not one you created first. If that works, then we at least can narrow down what the problem could be.

It may be possible that during one of the patches, this feature may have been messed up.

I haven't modded much, so I am not sure when I used this feature myself (if I even did).
I reject your reality, and substitute my own.
User avatar
Rickstavern
Black Claw
Posts: 109
Joined: Tue Feb 22, 2005 11:34 am
Contact:

Post by Rickstavern »

Yes, I can substitute one of the other configs and it will work.

I suspect that the difference is that all the other configs have a main audio file defined. I don't want any main audio. I just want a one time play of the file. This probably has to be done in some other way and may not be accessible from within a script.

bummer.
Post Reply