View Issue Details

IDProjectCategoryView StatusLast Update
0006264The Dark ModSound Systempublic02.03.2023 20:51
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status assignedResolutionopen 
Product VersionTDM 2.11 
Target VersionTDM 2.12 
Summary0006264: Subtitle improvements
DescriptionThis would be master-issue for various improvements of subtitles system.
Additional InformationThis is a good thread about the topic:
  https://forums.thedarkmod.com/index.php?/topic/21741-subtitles-possibilities-beyond-211/page/2/
TagsNo tags attached.

Relationships

related to 0006262 feedbackstgatilov Allow subtitles to display beyond sound duration 

Activities

stgatilov

stgatilov

26.02.2023 22:56

administrator   ~0015959

r10285: Improved subtitles system in several ways
  1) Fixed some weird handling of looping sounds in idSoundChannel::GatherSubtitles.
    Verbosity can be different for leadin and loop, also we should fetch subtitles from loop sample when it is playing.
  2) Now more information is returned for subtitle: + sound emitter, sound sample, verbosity,
  3) Better algorithm for assignment of subtitles to slots.
    First of all, high-level subtitles are always displayed in case of overflow, they are never dropped due to many low-level subtitles.
    Second, I fixed the bug that subtitle could be moved (even without overflow) if some new subtitles was added to the list of matches.
    Also, now the algorithm uses the new grouping info (sample and emitter) for better reusage of slots.
 
r10286: Set number of slots to 3 as it is in GUI.
  If we pretend we have more slots that there really are, then slots assignment rules can't do the best assignment in case of overflow.
stgatilov

stgatilov

02.03.2023 20:51

administrator   ~0015960

Two major commits: rev 10288 and rev 16779.

Now there is direction cue and volume cue.
Volume is probably wrong and probably not that important: it is shown by opacity of line cues.
The direction is shown by the line cues: they are arranged in virtual 5.1 speakers setup, and width of a line depends on portion of sound in a speaker.

There is also debug text, show under cvar tdm_subtitles_debug.

Issue History

Date Modified Username Field Change
26.02.2023 22:52 stgatilov New Issue
26.02.2023 22:53 stgatilov Relationship added related to 0006262
26.02.2023 22:53 stgatilov Assigned To => stgatilov
26.02.2023 22:53 stgatilov Status new => assigned
26.02.2023 22:56 stgatilov Note Added: 0015959
02.03.2023 20:51 stgatilov Note Added: 0015960