MantisBT - Zandronum | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002744 | Zandronum | [All Projects] Suggestion | public | 2016-05-30 12:36 | 2024-03-01 06:03 |
| Reporter | Tribeam3rd | ||||
| Assigned To | |||||
| Priority | low | Severity | minor | Reproducibility | have not tried |
| Status | confirmed | Resolution | backport later | ||
| Platform | OS | OS Version | |||
| Product Version | 3.0-beta | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0002744: [Request] Backport SetMusicVolume | ||||
| Description | 'http://zdoom.org/wiki/SetMusicVolume [^]' Currently my survival mod uses consolecommand to achieve a music fade effect: script "CL_ChangeMusic" (int songnum, int fadetime) clientside { int v = GetCVar("SND_MusicVolume"); for(int i = v; i > 0; i-=fadetime) { ConsoleCommand(strParam(s:"SND_MusicVolume ", f:i)); delay(1); } switch(songnum) { case 0: SetMusic("Boss", 0); break; case 1: SetMusic("MAP01", 0); break; case 2: SetMusic("MAP02", 0); break; } ConsoleCommand(strParam(s:"SND_MusicVolume ", f:v)); } It'd be a lot better if I didn't do it like this, modifying a user's music volume config directly is just a terrible idea heh... | ||||
| Steps To Reproduce | |||||
| Additional Information | Any reason to not use consolecommand is a good reason in my book | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2016-05-30 12:36 | Tribeam3rd | New Issue | |||
| 2024-03-01 06:03 | Ru5tK1ng | Status | new => confirmed | ||
| 2024-03-01 06:03 | Ru5tK1ng | Resolution | open => backport later | ||
| There are no notes attached to this issue. |