View Issue Details

IDProjectCategoryView StatusLast Update
0002417The Dark ModCodingpublic03.06.2011 03:59
Reportertels Assigned Totels  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Product VersionTDM 1.03 
Target VersionTDM 1.03Fixed in VersionTDM 1.03 
Summary0002417: Ambient sounds lost after loading
DescriptionWhenever 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 Informationhttp://modetwo.net/darkmod/index.php?/topic/11283-damn-ambient-audio-slider/page__view__findpost__p__236387
TagsNo tags attached.

Relationships

has duplicate 0002099 closedtels Location based sound stops when quickloading 

Activities

tels

tels

06.11.2010 20:52

reporter   ~0003281

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).

Issue History

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