Setmusic enhancements
Moderator: Graf Zahl
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
Setmusic enhancements
Is there an option the next release of Gzdoom could include a couple changes to the ACS Command Setmusic, please? I kindly ask for 2 additional paremeters.
Setmusic(str songname,opt int pattern, opt int fadeinout, opt int randomposition)
My request are the two last params. Fade in and out would fade the music in and out from and to silence. The randomposition would make the song begin at randomised timing.
I belive not only I would benefit from it, as there is a lot of wads that change music during the game.
From my side, I have a script that dynamically toggles the music when engagin in battle against the enemy. It's not a necessity, but this nice feature would break the monotony a bit.
Setmusic(str songname,opt int pattern, opt int fadeinout, opt int randomposition)
My request are the two last params. Fade in and out would fade the music in and out from and to silence. The randomposition would make the song begin at randomised timing.
I belive not only I would benefit from it, as there is a lot of wads that change music during the game.
From my side, I have a script that dynamically toggles the music when engagin in battle against the enemy. It's not a necessity, but this nice feature would break the monotony a bit.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
I'd like to request an option to set music to play only once, and then stop immediately when it's finished. It's too much of a hassle to calculate the number of tics needed for the song to play, and it's also highly prone to errors as it stands (performance issues could cause the song to end too soon or too late, and pausing screws it up completely).
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact:
- Paul
- DRD Team Admin (Inactive)
- Posts: 1058
- Joined: Thu Jun 30, 2005 13:30
- Location: Poland - Grojec / Radom
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Tormentor667
- Stronghold Team
- Posts: 3555
- Joined: Sun Nov 13, 2005 23:15
- Location: Germany
- Contact:
- The Ultimate DooMer
- Persecution Complex
- Posts: 152
- Joined: Tue Nov 08, 2005 23:04
- Location: Industrial Zone
- Contact:
Or pausing, saving/loading games, other programs yanking you out of fullscreen or of course crashes.wildweasel wrote:I'd like to request an option to set music to play only once, and then stop immediately when it's finished. It's too much of a hassle to calculate the number of tics needed for the song to play, and it's also highly prone to errors as it stands (performance issues could cause the song to end too soon or too late, and pausing screws it up completely).
(that's why I'm going to put "do not pause or save/load game" messages before my timed-to-music Hexen map :p)
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact: