View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002417 | The Dark Mod | Coding | public | 06.11.2010 15:52 | 03.06.2011 03:59 |
Reporter | tels | Assigned To | tels | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | TDM 1.03 | ||||
Target Version | TDM 1.03 | Fixed in Version | TDM 1.03 | ||
Summary | 0002417: Ambient sounds lost after loading | ||||
Description | Whenever you load a map, the ambient music played by the location system stops playing, until you either change the location (where a new music fades in) or change the ambient music slider (where the current music is force-faded to the new volume). The issue seems related to the fact the the location script does not get notified that a reload occured, so all its variables are properly restored, but the sound channel is simply silent. | ||||
Additional Information | http://modetwo.net/darkmod/index.php?/topic/11283-damn-ambient-audio-slider/page__view__findpost__p__236387 | ||||
Tags | No tags attached. | ||||
The issue was fixed by adding support for a RestoreScriptObject() method on script objects, that is called after Restore() of the entity has completed. This method was the added to script/tdm_location_settings.script and will wait a bit and then restore the ambient sound. There is now a small "gap" in the ambient sound right after load, but at least the music continues without the player having to leave the room or go to the menu and adjust the volume slider. The gap might be minimized by adjusting the wait time, but at least a wait time of 0 does cause the restore not to work. (For whatever unknown reasons). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
06.11.2010 15:52 | tels | New Issue | |
06.11.2010 15:52 | tels | Status | new => assigned |
06.11.2010 15:52 | tels | Assigned To | => tels |
06.11.2010 20:49 | tels | Fixed in Version | => TDM 1.03 |
06.11.2010 20:49 | tels | Additional Information Updated | |
06.11.2010 20:52 | tels | Note Added: 0003281 | |
06.11.2010 20:52 | tels | Status | assigned => resolved |
06.11.2010 20:52 | tels | Resolution | open => fixed |
19.11.2010 11:23 | tels | Relationship added | has duplicate 0002099 |
03.06.2011 03:59 | greebo | Status | resolved => closed |