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
{
     StatusPreviewSound="1_minute_remains"
     RewardPreviewSound="unstoppable"
     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"
     Begin Object Class=GUISectionBackground Name=AudioBK1
         Caption="Sound Effects"
         NumColumns=2
         MaxPerColumn=5
         WinTop=0.017393
         WinLeft=0.004063
         WinWidth=0.987773
         WinHeight=0.502850
         OnPreDraw=AudioBK1.InternalPreDraw
     End Object
     i_BG1=GUISectionBackground'GUI2K4.UT2K4Tab_AudioSettings.AudioBK1'

     Begin Object Class=GUISectionBackground Name=AudioBK2
         Caption="Announcer"
         WinTop=0.004372
         WinLeft=0.004063
         WinWidth=0.987773
         WinHeight=0.517498
         OnPreDraw=AudioBK2.InternalPreDraw
     End Object
     i_BG2=GUISectionBackground'GUI2K4.UT2K4Tab_AudioSettings.AudioBK2'

     Begin Object Class=GUISectionBackground Name=AudioBK3
         Caption="Text To Speech"
         WinTop=0.004372
         WinLeft=0.004063
         WinWidth=0.987773
         WinHeight=0.517498
         OnPreDraw=AudioBK3.InternalPreDraw
     End Object
     i_BG3=GUISectionBackground'GUI2K4.UT2K4Tab_AudioSettings.AudioBK3'

     Begin Object Class=moSlider Name=AudioMusicVolume
         MaxValue=1.000000
         Caption="Music Volume"
         OnCreateComponent=AudioMusicVolume.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="0.5"
         Hint="Adjusts the volume of the background music."
         WinTop=0.070522
         WinLeft=0.018164
         WinWidth=0.450000
         TabOrder=0
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     sl_MusicVol=moSlider'GUI2K4.UT2K4Tab_AudioSettings.AudioMusicVolume'

     Begin Object Class=moSlider Name=AudioEffectsVolumeSlider
         MaxValue=1.000000
         Caption="Effects Volume"
         OnCreateComponent=AudioEffectsVolumeSlider.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="0.9"
         Hint="Adjusts the volume of all in game sound effects."
         WinTop=0.070522
         WinLeft=0.524024
         WinWidth=0.450000
         TabOrder=5
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     sl_EffectsVol=moSlider'GUI2K4.UT2K4Tab_AudioSettings.AudioEffectsVolumeSlider'

     Begin Object Class=moSlider Name=AudioAnnouncerVolume
         MaxValue=4.000000
         MinValue=1.000000
         bIntSlider=True
         CaptionWidth=0.650000
         Caption="Volume"
         OnCreateComponent=AudioAnnouncerVolume.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Adjusts the volume of all in game voice messages."
         WinTop=0.597866
         WinLeft=0.011329
         WinWidth=0.470703
         TabOrder=10
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     sl_VoiceVol=moSlider'GUI2K4.UT2K4Tab_AudioSettings.AudioAnnouncerVolume'

     Begin Object Class=moComboBox Name=AudioMode
         bReadOnly=True
         Caption="Audio Mode"
         OnCreateComponent=AudioMode.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="Software 3D Audio"
         Hint="Changes the audio system mode."
         WinTop=0.149739
         WinLeft=0.018164
         WinWidth=0.450000
         TabOrder=1
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     co_Mode=moComboBox'GUI2K4.UT2K4Tab_AudioSettings.AudioMode'

     Begin Object Class=moComboBox Name=AudioPlayVoices
         bReadOnly=True
         Caption="Play Voices"
         OnCreateComponent=AudioPlayVoices.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="All"
         Hint="Defines the types of voice messages to play."
         WinTop=0.149739
         WinLeft=0.524024
         WinWidth=0.450000
         TabOrder=6
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     co_Voices=moComboBox'GUI2K4.UT2K4Tab_AudioSettings.AudioPlayVoices'

     Begin Object Class=moComboBox Name=AudioAnnounce
         bReadOnly=True
         CaptionWidth=0.650000
         Caption="Announcements"
         OnCreateComponent=AudioAnnounce.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="All"
         Hint="Adjusts the amount of in-game announcements."
         WinTop=0.711079
         WinLeft=0.011329
         WinWidth=0.470703
         TabOrder=11
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     co_Announce=moComboBox'GUI2K4.UT2K4Tab_AudioSettings.AudioAnnounce'

     Begin Object Class=moComboBox Name=AudioRewardAnnouncer
         bReadOnly=True
         CaptionWidth=0.650000
         Caption="Reward Announcer"
         OnCreateComponent=AudioRewardAnnouncer.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Each tournament player is linked to a Reward announcer that informs you when you've demonstrated exceptional combat skills."
         WinTop=0.890991
         WinLeft=0.011329
         WinWidth=0.470703
         TabOrder=13
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     co_RewardAnnouncer=moComboBox'GUI2K4.UT2K4Tab_AudioSettings.AudioRewardAnnouncer'

     Begin Object Class=moComboBox Name=AudioStatusAnnouncer
         bReadOnly=True
         CaptionWidth=0.650000
         Caption="Status Announcer"
         OnCreateComponent=AudioStatusAnnouncer.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="The Status announcer relays important information about the game to tournament players and spectators."
         WinTop=0.801035
         WinLeft=0.011329
         WinWidth=0.470703
         TabOrder=12
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
     End Object
     co_StatusAnnouncer=moComboBox'GUI2K4.UT2K4Tab_AudioSettings.AudioStatusAnnouncer'

     Begin Object Class=moCheckBox Name=AudioReverseStereo
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Reverse Stereo"
         OnCreateComponent=AudioReverseStereo.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Reverses the left and right audio channels."
         WinTop=0.405678
         WinLeft=0.018164
         WinWidth=0.450000
         TabOrder=4
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_ReverseStereo=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioReverseStereo'

     Begin Object Class=moCheckBox Name=AudioMessageBeep
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Message Beep"
         OnCreateComponent=AudioMessageBeep.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables a beep when receiving a text message from other players."
         WinTop=0.405678
         WinLeft=0.524024
         WinWidth=0.450000
         TabOrder=9
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_MessageBeep=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioMessageBeep'

     Begin Object Class=moCheckBox Name=AudioAutoTaunt
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Auto-Taunt"
         OnCreateComponent=AudioAutoTaunt.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables your in-game player to automatically taunt opponents."
         WinTop=0.320365
         WinLeft=0.524024
         WinWidth=0.450000
         TabOrder=8
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_AutoTaunt=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioAutoTaunt'

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

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

     Begin Object Class=moCheckBox Name=AudioMatureTaunts
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Mature Taunts"
         OnCreateComponent=AudioMatureTaunts.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables off-color commentary."
         WinTop=0.235052
         WinLeft=0.524024
         WinWidth=0.450000
         TabOrder=7
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_MatureTaunts=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioMatureTaunts'

     Begin Object Class=moCheckBox Name=AudioLowDetail
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Low Sound Detail"
         OnCreateComponent=AudioLowDetail.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Lowers quality of sound."
         WinTop=0.235052
         WinLeft=0.018164
         WinWidth=0.450000
         TabOrder=2
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_LowDetail=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioLowDetail'

     Begin Object Class=moCheckBox Name=AudioDefaultDriver
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="System Driver"
         OnCreateComponent=AudioDefaultDriver.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Use system installed OpenAL driver"
         WinTop=0.320365
         WinLeft=0.018164
         WinWidth=0.450000
         TabOrder=3
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_Default=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioDefaultDriver'

     Begin Object Class=moCheckBox Name=AudioEnableTTS
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Enable In Game"
         OnCreateComponent=AudioEnableTTS.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Enables Text-To-Speech message processing"
         WinTop=0.685037
         WinLeft=0.527734
         WinWidth=0.461134
         TabOrder=15
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_TTS=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.AudioEnableTTS'

     Begin Object Class=moCheckBox Name=EnableVoiceChat
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Voice Chat"
         OnCreateComponent=EnableVoiceChat.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Enables the voice chat system during online matches."
         WinTop=0.834777
         WinLeft=0.527734
         WinWidth=0.461134
         TabOrder=18
         OnChange=UT2K4Tab_AudioSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_AudioSettings.InternalOnLoadINI
     End Object
     ch_VoiceChat=moCheckBox'GUI2K4.UT2K4Tab_AudioSettings.EnableVoiceChat'

     Begin Object Class=moButton Name=VoiceOptions
         ButtonCaption="Configure"
         MenuTitle="Voice Chat Options"
         MenuClass="GUI2K4.VoiceChatConfig"
         CaptionWidth=0.500000
         Caption="Voice Options"
         OnCreateComponent=VoiceOptions.InternalOnCreateComponent
         WinTop=0.909065
         WinLeft=0.527734
         WinWidth=0.461134
         WinHeight=0.050000
         TabOrder=19
     End Object
     b_VoiceChat=moButton'GUI2K4.UT2K4Tab_AudioSettings.VoiceOptions'

     PanelCaption="Audio"
     WinTop=0.150000
     WinHeight=0.740000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:23.703 - Created with UnCodeX