View Issue Details

IDProjectCategoryView StatusLast Update
0003395The Dark ModSoundpublic04.07.2018 14:32
Reportersotha_sil Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.08 
Target VersionTDM 2.00Fixed in VersionTDM 2.00 
Summary0003395: Create/re-enable voice volume slider in main menu
DescriptionTDM has an entity "atdm:voice", which in conjunction with "atdm:trigger_voice" is incredibly handy for making player character voice-overs in missions.

I noticed that the player voice that plays is not controlled by ambient and SFX volume sliders in the main menu/audio setup.

According to Tels, there should be code for a voice volume slider, it is just disabled.
Steps To ReproduceIf I put ambient and SFX volume sliders to 0%, no sounds are played in TDM. Only the player voice lines from "atdm:voice" entities are heard with 100% volume.
TagsNo tags attached.

Relationships

related to 0003406 resolvedtels Voice audio settings are not translated 
related to 0004627 feedback Sound volume option is not respected 

Activities

grayman

grayman

11.05.2013 02:04

administrator   ~0005410

Last edited: 11.05.2013 02:51

View 2 revisions

What's the difference between "player voice" and "voiceover"?

They each get a slider on the audio page, but the effect for the player is the same: it's just a voiceover.

grayman

grayman

11.05.2013 02:49

administrator   ~0005411

I don't know if this is an issue or not.

The sliders have a low setting of -60dB and a high setting of 0dB.

This causes the voice to be silent at about the 75% setting. I was expecting the volume to be cut in half if I set the slider at the mid-point (50%), but there's no sound at all at that point.

The music and sfx sliders go from -40dB to 0dB, so the point where their sounds disappear is lower than 75%.
grayman

grayman

11.05.2013 03:02

administrator   ~0005412

Ah, the difference between the music slider and the voice sliders is that the music slider scales the slider position from 0.0->1.0, and the volume of the music is multiplied by that.

The voice sliders, on the other hand, aren't scaled, which is why they fall off so quickly.
grayman

grayman

12.05.2013 02:41

administrator   ~0005413

Unhid the text and sliders for player and narrator voices on the audio menu page. Adjusted the other menu lines to make room.

Completed the scriptobject code to support the sliders.

Rev. 5756:

SysCvar.cpp
Entity.cpp
Entity.h

Rev. 13457:

tdm_voices.script
mainmenu_settings_audio.gui
Springheel

Springheel

13.05.2013 00:17

administrator   ~0005431

There have been two reports of errors after a recent update:

ERROR:Error: file script\tdm_voices.script, line 89: Unknown value "getSoundVolume"


Could this be related?
grayman

grayman

13.05.2013 01:26

administrator   ~0005434

Yes.

Are the testers running on linux?

I checked in a new tdm_game01.pk4--that handles line 89--in rev 13457, so Windows users shouldn't have a problem.

Tels checked in a new linux build in rev 13460, so linux users should be using at least that rev.

Issue History

Date Modified Username Field Change
04.05.2013 06:21 sotha_sil New Issue
11.05.2013 02:04 grayman Note Added: 0005410
11.05.2013 02:49 grayman Note Added: 0005411
11.05.2013 02:51 grayman Note Edited: 0005410 View Revisions
11.05.2013 03:02 grayman Note Added: 0005412
11.05.2013 23:47 grayman Assigned To => grayman
11.05.2013 23:47 grayman Status new => assigned
12.05.2013 02:41 grayman Note Added: 0005413
12.05.2013 02:41 grayman Status assigned => resolved
12.05.2013 02:41 grayman Resolution open => fixed
12.05.2013 02:41 grayman Fixed in Version => TDM 2.00
12.05.2013 02:41 grayman Target Version => TDM 2.00
12.05.2013 10:05 tels Relationship added related to 0003406
13.05.2013 00:17 Springheel Note Added: 0005431
13.05.2013 01:26 grayman Note Added: 0005434
04.07.2018 14:32 nbohr1more Relationship added related to 0004627