Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2K4Tab_AudioSettings

Extends
Settings_Tabs

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.Settings_Tabs
                     |   
                     +-- GUI2K4.UT2K4Tab_AudioSettings

Variables Summary
stringAnnounceModes[3]
array<CacheManager.AnnouncerRecord>Announcers
stringAudioModes[4]
boolb3DSound
boolbAuto
boolbBeep
boolbCompat
boolbDefault
boolbEAX
boolbLow
boolbMature
boolbOnlyTeamTTS
boolbRev
boolbTTS
boolbTTSIRC
boolbVoiceChat
moButtonb_VoiceChat
moCheckboxch_AutoTaunt
moCheckboxch_Default
moCheckboxch_LowDetail
moCheckboxch_MatureTaunts
moCheckboxch_MessageBeep
moCheckboxch_OnlyTeamTTS
moCheckboxch_ReverseStereo
moCheckboxch_TTS
moCheckboxch_TTSIRC
moCheckboxch_VoiceChat
moComboBoxco_Announce
moComboBoxco_Mode
moComboBoxco_RewardAnnouncer
moComboBoxco_StatusAnnouncer
moComboBoxco_Voices
floatfEffects
floatfMusic
floatfTTS
intiAnnounce
intiMode
intiVoice
intiVoiceMode
GUISectionBackgroundi_BG1
GUISectionBackgroundi_BG2
GUISectionBackgroundi_BG3
stringRewardPreviewSound
moSlidersl_EffectsVol
moSlidersl_MusicVol
moSlidersl_TTS
moSlidersl_VoiceVol
stringsRewAnnouncer
stringsStatAnnouncer
stringStatusPreviewSound
stringVoiceModes[4]
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Functions Summary
functionint FindAnnouncerClassIndex (string AnnouncerClass ))
functionstring GetAnnouncerClass (int Index ))
functionstring GetAnnouncerPackage (int Index ))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnChange (GUIComponent Sender))
function InternalOnLoadINI (GUIComponent Sender, string s))
function ResetClicked ()))
function SaveSettings ()))
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Variables Detail

AnnounceModes[3] Source code

var localized string AnnounceModes[3];

Announcers Source code

var array<CacheManager.AnnouncerRecord> Announcers;

AudioModes[4] Source code

var localized string AudioModes[4];

b3DSound Source code

var bool b3DSound;

bAuto Source code

var bool bAuto;

bBeep Source code

var bool bBeep;

bCompat Source code

var bool bCompat;

bDefault Source code

var bool bDefault;

bEAX Source code

var bool bEAX;

bLow Source code

var bool bLow;

bMature Source code

var bool bMature;

bOnlyTeamTTS Source code

var bool bOnlyTeamTTS;

bRev Source code

var bool bRev;

bTTS Source code

var bool bTTS;

bTTSIRC Source code

var bool bTTSIRC;

bVoiceChat Source code

var bool bVoiceChat;

b_VoiceChat Source code

var automated moButton b_VoiceChat;

ch_AutoTaunt Source code

var automated moCheckbox ch_AutoTaunt;

ch_Default Source code

var automated moCheckbox ch_Default;

ch_LowDetail Source code

var automated moCheckbox ch_LowDetail;

ch_MatureTaunts Source code

var automated moCheckbox ch_MatureTaunts;

ch_MessageBeep Source code

var automated moCheckbox ch_MessageBeep;

ch_OnlyTeamTTS Source code

var automated moCheckbox ch_OnlyTeamTTS;

ch_ReverseStereo Source code

var automated moCheckbox ch_ReverseStereo;

ch_TTS Source code

var automated moCheckbox ch_TTS;

ch_TTSIRC Source code

var automated moCheckbox ch_TTSIRC;

ch_VoiceChat Source code

var automated moCheckbox ch_VoiceChat;

co_Announce Source code

var automated moComboBox co_Announce;

co_Mode Source code

var automated moComboBox co_Mode;

co_RewardAnnouncer Source code

var automated moComboBox co_RewardAnnouncer;

co_StatusAnnouncer Source code

var automated moComboBox co_StatusAnnouncer;

co_Voices Source code

var automated moComboBox co_Voices;

fEffects Source code

var float fEffects;

fMusic Source code

var float fMusic;

fTTS Source code

var float fTTS;

iAnnounce Source code

var int iAnnounce;

iMode Source code

var int iMode;

iVoice Source code

var int iVoice;

iVoiceMode Source code

var int iVoiceMode;

i_BG1 Source code

var automated GUISectionBackground i_BG1;

i_BG2 Source code

var automated GUISectionBackground i_BG2;

i_BG3 Source code

var automated GUISectionBackground i_BG3;

RewardPreviewSound Source code

var string RewardPreviewSound;

sl_EffectsVol Source code

var automated moSlider sl_EffectsVol;

sl_MusicVol Source code

var automated moSlider sl_MusicVol;

sl_TTS Source code

var automated moSlider sl_TTS;

sl_VoiceVol Source code

var automated moSlider sl_VoiceVol;

sRewAnnouncer Source code

var string sRewAnnouncer;

sStatAnnouncer Source code

var string sStatAnnouncer;

StatusPreviewSound Source code

var string StatusPreviewSound;

VoiceModes[4] Source code

var localized string VoiceModes[4];


Functions Detail

FindAnnouncerClassIndex Source code

function int FindAnnouncerClassIndex ( string AnnouncerClass ) )

GetAnnouncerClass Source code

function string GetAnnouncerClass ( int Index ) )

GetAnnouncerPackage Source code

function string GetAnnouncerPackage ( int Index ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s) )

ResetClicked Source code

function ResetClicked ( ) )

SaveSettings Source code

function SaveSettings ( ) )


Defaultproperties

defaultproperties
{
	Begin Object class=GUISectionBackground Name=AudioBK1
		WinWidth=0.987773
		WinHeight=0.502850
		WinLeft=0.004063
		WinTop=0.017393
		Caption="Sound Effects"
		NumColumns=2
		MaxPerColumn=5
	End Object
	i_BG1=AudioBK1


	Begin Object class=GUISectionBackground Name=AudioBK2
		WinWidth=0.987773
		WinHeight=0.517498
		WinLeft=0.004063
		WinTop=0.004372
		Caption="Announcer"
	End Object
	i_BG2=AudioBK2


	Begin Object class=GUISectionBackground Name=AudioBK3
		WinWidth=0.987773
		WinHeight=0.517498
		WinLeft=0.004063
		WinTop=0.004372
		Caption="Text To Speech"
	End Object
	i_BG3=AudioBK3


	Begin Object class=moSlider Name=AudioMusicVolume
		WinWidth=0.450000
		WinLeft=0.018164
		WinTop=0.070522
		Caption="Music Volume"
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.5
		ComponentWidth=-1
		bAutoSizeCaption=True
		MinValue=0.0
		MaxValue=1.0
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		INIDefault="0.5"
		Hint="Adjusts the volume of the background music."
		TabOrder=0
	End Object
	sl_MusicVol=AudioMusicVolume


	Begin Object class=moComboBox Name=AudioMode
		WinWidth=0.450000
		WinLeft=0.018164
		WinTop=0.149739
		Caption="Audio Mode"
		INIOption="@Internal"
		INIDefault="Software 3D Audio"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		Hint="Changes the audio system mode."
		CaptionWidth=0.5
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		bReadOnly=true
		TabOrder=1
	End Object
	co_Mode=AudioMode


	Begin Object class=moCheckBox Name=AudioLowDetail
		WinWidth=0.45
		WinLeft=0.018164
		WinTop=0.235052
		Caption="Low Sound Detail"
		INIOption="@Internal"
		INIDefault="False"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		Hint="Lowers quality of sound."
		CaptionWidth=0.94
		bSquare=true
		ComponentJustification=TXTA_Left
		TabOrder=2
	End Object
	ch_LowDetail=AudioLowDetail


	Begin Object class=moCheckBox Name=AudioDefaultDriver
		WinWidth=0.45
		WinLeft=0.018164
		WinTop=0.320365
		Caption="System Driver"
		Hint="Use system installed OpenAL driver"
		INIOption="@Internal"
		INIDefault="False"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		ComponentJustification=TXTA_Left
		TabOrder=3
	End Object
	ch_Default=AudioDefaultDriver


	Begin Object class=moCheckBox Name=AudioReverseStereo
		WinWidth=0.45
		WinLeft=0.018164
		WinTop=0.405678
		Caption="Reverse Stereo"
		Hint="Reverses the left and right audio channels."
		INIOption="@Internal"
		INIDefault="False"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		ComponentJustification=TXTA_Left
		TabOrder=4
	End Object
	ch_ReverseStereo=AudioReverseStereo


	Begin Object class=moSlider Name=AudioEffectsVolumeSlider
		WinWidth=0.450000
		WinLeft=0.524024
		WinTop=0.070522
		MinValue=0.0
		MaxValue=1.0
		Caption="Effects Volume"
		Hint="Adjusts the volume of all in game sound effects."
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.5
		ComponentWidth=-1
		bAutoSizeCaption=True
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		INIDefault="0.9"
		TabOrder=5
	End Object
	sl_EffectsVol=AudioEffectsVolumeSlider


	Begin Object class=moComboBox Name=AudioPlayVoices
		WinWidth=0.45
		WinLeft=0.524024
		WinTop=0.149739
		Caption="Play Voices"
		Hint="Defines the types of voice messages to play."
		INIOption="@Internal"
		INIDefault="All"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.5
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		bReadOnly=true
		TabOrder=6
		bHeightFromComponent=False
	End Object
	co_Voices=AudioPlayVoices


	Begin Object class=moCheckBox Name=AudioMatureTaunts
		WinWidth=0.45
		WinLeft=0.524024
		WinTop=0.235052
		Caption="Mature Taunts"
		Hint="Enables off-color commentary."
		INIOption="@Internal"
		INIDefault="True"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		bSquare=true
		ComponentJustification=TXTA_Left
		TabOrder=7
	End Object
	ch_MatureTaunts=AudioMatureTaunts


	Begin Object class=moCheckBox Name=AudioAutoTaunt
		WinWidth=0.45
		WinLeft=0.524024
		WinTop=0.320365
		Caption="Auto-Taunt"
		Hint="Enables your in-game player to automatically taunt opponents."
		INIOption="@Internal"
		INIDefault="True"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		bSquare=true
		ComponentJustification=TXTA_Left
		TabOrder=8
	End Object
	ch_AutoTaunt=AudioAutoTaunt


	Begin Object class=moCheckBox Name=AudioMessageBeep
		WinWidth=0.45
		WinLeft=0.524024
		WinTop=0.405678
		Caption="Message Beep"
		Hint="Enables a beep when receiving a text message from other players."
		INIOption="@Internal"
		INIDefault="True"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		bSquare=true
		ComponentJustification=TXTA_Left
		TabOrder=9
	End Object
	ch_MessageBeep=AudioMessageBeep


	Begin Object class=moSlider Name=AudioAnnouncerVolume
		WinWidth=0.470703
		WinLeft=0.011329
		WinTop=0.597866
		Caption="Volume"
		Hint="Adjusts the volume of all in game voice messages."
		MinValue=1
		MaxValue=4
        bIntSlider=true
		INIOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.65
		ComponentWidth=-1
		bAutoSizeCaption=True
		TabOrder=10
	End Object
	sl_VoiceVol=AudioAnnouncerVolume


	Begin Object class=moComboBox Name=AudioAnnounce
		WinWidth=0.470703
		WinLeft=0.011329
		WinTop=0.711079
		Caption="Announcements"
		Hint="Adjusts the amount of in-game announcements."
		INIOption="@Internal"
		INIDefault="All"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.65
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		bReadOnly=true
		TabOrder=11
	End Object
	co_Announce=AudioAnnounce


	Begin Object class=moComboBox Name=AudioStatusAnnouncer
		WinWidth=0.470703
		WinLeft=0.011329
		WinTop=0.801035
		Caption="Status Announcer"
		Hint="The Status announcer relays important information about the game to tournament players and spectators."
		INIOption="@Internal"
		OnChange=InternalOnChange
		CaptionWidth=0.65
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		bReadOnly=true
		TabOrder=12
	End Object
	co_StatusAnnouncer=AudioStatusAnnouncer


	Begin Object class=moComboBox Name=AudioRewardAnnouncer
		WinWidth=0.470703
		WinLeft=0.011329
		WinTop=0.890991
		Caption="Reward Announcer"
		Hint="Each tournament player is linked to a Reward announcer that informs you when you've demonstrated exceptional combat skills."
		INIOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.65
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		bReadOnly=true
		TabOrder=13
	End Object
	co_RewardAnnouncer=AudioRewardAnnouncer

	Begin Object class=moCheckBox Name=AudioEnableTTS
		WinWidth=0.461134
		WinLeft=0.527734
		WinTop=0.685037
		Caption="Enable In Game"
		Hint="Enables Text-To-Speech message processing"
		INIOption="@Internal"
		INIDefault="False"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		bSquare=true
		ComponentJustification=TXTA_Left
		TabOrder=15
	End Object
	ch_TTS=AudioEnableTTS


	Begin Object class=moCheckbox Name=IRCTextToSpeech
		WinWidth=0.461134
		WinLeft=0.527734
		WinTop=0.755462
		Caption="Enable on IRC"
		Hint="Enables Text-To-Speech processing in the IRC client (only messages from active tab is processed)"
		IniOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		ComponentJustification=TXTA_Left
		TabOrder=16
	End Object
	ch_TTSIRC=IRCTextToSpeech


	Begin Object CLass=moCheckBox Name=OnlyTeamTTSCheck
		WinWidth=0.461134
		WinLeft=0.527734
		WinTop=0.755462
		Caption="Team Messages Only"
		Hint="If enabled, only team messages will be spoken in team games, unless the match or round is over."
		IniOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		CaptionWidth=0.94
		ComponentJustification=TXTA_Left
		TabOrder=17
	End Object
	ch_OnlyTeamTTS=OnlyTeamTTSCheck


	Begin Object class=moCheckBox Name=EnableVoiceChat
		WinWidth=0.461134
		WinLeft=0.527734
		WinTop=0.834777
		INIOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		Hint="Enables the voice chat system during online matches."
		Caption="Voice Chat"
		CaptionWidth=0.94
		bSquare=true
		TabOrder=18
		ComponentJustification=TXTA_Left
	End Object
	ch_VoiceChat=EnableVoiceChat


	Begin Object Class=moButton Name=VoiceOptions
		WinWidth=0.461134
		WinLeft=0.527734
		WinHeight=0.05
		WinTop=0.909065
		Caption="Voice Options"
		ButtonCaption="Configure"
		MenuClass="GUI2K4.VoiceChatConfig"
		MenuTitle="Voice Chat Options"
		CaptionWidth=0.5
		TabOrder=19
	End Object
	b_VoiceChat=VoiceOptions


	WinTop=0.15
	WinLeft=0
	WinWidth=1
	WinHeight=0.74
	bAcceptsInput=false


	AudioModes[0]="Safe Mode"
	AudioModes[1]="3D Audio"
	AudioModes[2]="H/W 3D Audio"
	AudioModes[3]="H/W 3D + EAX"


	VoiceModes[0]="All"
	VoiceModes[1]="No auto-taunts"
	VoiceModes[2]="No taunts"
	VoiceModes[3]="None"


	AnnounceModes[0]="None"
	AnnounceModes[1]="Minimal"
	AnnounceModes[2]="All"


	PanelCaption="Audio"


	StatusPreviewSound="1_minute_remains"
	RewardPreviewSound="unstoppable"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.747 - Created with UnCodeX