1. I have 5 music files - L2MUSx, where x is the number of the music piece, from 1 to 5
2. They are defined properly in SNDINFO - as you see in the video
3. They are tied to very simple scripts that play them, for example:
The game completely confuses the order of these files. When a script calls for L2MUS1, it plays L2MUS2. Same goes for L2MUS3 and L2MUS4.
I tried this on 3 computers. I also asked @Ermin for help and he copy-and-pasted the code, the files, the scripts to his mod--and it worked. So we know it's not about the files being corrupted or the script being wrong.
I tried to:
- rename the sounds
- reupload the files
- redo the script from the scratch
- move the files in the structure of the pk3
- move them into a separate wad
- play them as sector sound sequences
- play them as scripted sound sequences
- reverting to an earlier version of GZDoom (from 4.7.1 to 4.5)
And nothing works! In my mod, L2MUS1 is always mistaken for L2MUS2.
What's even stranger, these files work ONLY when uploaded altogether. If I upload and define only L2MUS1, it won't play at all in the game.
Please help, this is very troubling.
EDIT: I will share the game's files if necessary. DM me for that.
Question
Szuran
Hi, I'm having a strange sound problem.
Video of it: https://www.youtube.com/watch?v=fots2BoWNI8
Here's the explanation:
1. I have 5 music files - L2MUSx, where x is the number of the music piece, from 1 to 5
2. They are defined properly in SNDINFO - as you see in the video
3. They are tied to very simple scripts that play them, for example:
script "MusB" (void) { PlaySound(0,"L2MUS2",chan_auto); Floor_LowerToLowest(94,80); if(mus==2){ mus+=1; } }
Problem:
The game completely confuses the order of these files. When a script calls for L2MUS1, it plays L2MUS2. Same goes for L2MUS3 and L2MUS4.
I tried this on 3 computers. I also asked @Ermin for help and he copy-and-pasted the code, the files, the scripts to his mod--and it worked. So we know it's not about the files being corrupted or the script being wrong.
I tried to:
- rename the sounds
- reupload the files
- redo the script from the scratch
- move the files in the structure of the pk3
- move them into a separate wad
- play them as sector sound sequences
- play them as scripted sound sequences
- reverting to an earlier version of GZDoom (from 4.7.1 to 4.5)
And nothing works! In my mod, L2MUS1 is always mistaken for L2MUS2.
What's even stranger, these files work ONLY when uploaded altogether. If I upload and define only L2MUS1, it won't play at all in the game.
Please help, this is very troubling.
Edited by SzuranEDIT: I will share the game's files if necessary. DM me for that.
Share this post
Link to post
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.