GUI2K4.CustomHUDMenuOnslaught
- Extends
- UT2K4CustomHUDMenu
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.LargeWindow
|
+-- GUI2K4.UT2K4CustomHUDMenu
|
+-- GUI2K4.CustomHUDMenuOnslaught
CustomHUDMenuOnslaught
DefaultRadarTextureName Source code
function bool DrawBlend (
Canvas C )
function bool DrawMap (
Canvas C )
function DrawRadar (
Canvas C )
function DrawScreen (
Canvas C )
function bool InitializeGameClass ( string GameClassName )
function LoadSettings ( )
event ResolutionChanged ( int ResX, int ResY )
function RestoreDefaults ( )
function SaveSettings ( )
function UpdateToggleStatus ( )
defaultproperties
{
Begin Object Class=GUIImage Name=RadarPreviewImage
Image=Texture'Engine.MenuWhite'
ImageStyle=ISTY_Scaled
ImageAlign=IMGA_Center
RenderWeight=0.110000
OnDraw=CustomHUDMenuOnslaught.DrawMap
End Object
i_Preview=GUIImage'GUI2K4.CustomHUDMenuOnslaught.RadarPreviewImage'
Begin Object Class=GUIImage Name=RadarPreviewBlend
Image=Texture'Engine.MenuGray'
ImageStyle=ISTY_Stretched
ImageAlign=IMGA_Center
WinTop=0.195204
WinLeft=0.076300
WinWidth=0.311700
WinHeight=0.311700
End Object
i_PreviewBlend=GUIImage'GUI2K4.CustomHUDMenuOnslaught.RadarPreviewBlend'
Begin Object Class=GUISectionBackground Name=OptionBackground
Caption="Onslaught HUD Options"
WinTop=0.040869
WinLeft=0.416250
WinWidth=0.562501
WinHeight=0.931115
bBoundToParent=True
bScaleToParent=True
OnPreDraw=OptionBackground.InternalPreDraw
End Object
sb_Options=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.OptionBackground'
Begin Object Class=GUISectionBackground Name=PreviewBackground
bFillClient=True
Caption="Preview"
WinTop=0.040869
WinLeft=0.022134
WinWidth=0.385772
WinHeight=0.699076
bBoundToParent=True
bScaleToParent=True
OnPreDraw=PreviewBackground.InternalPreDraw
End Object
sb_Preview=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.PreviewBackground'
Begin Object Class=GUISectionBackground Name=RadarPositionBackground
Caption="Radar Position"
NumColumns=2
WinTop=0.749726
WinLeft=0.022134
WinWidth=0.385772
WinHeight=0.221081
bBoundToParent=True
bScaleToParent=True
OnPreDraw=RadarPositionBackground.InternalPreDraw
End Object
sb_Position=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.RadarPositionBackground'
Begin Object Class=moCheckBox Name=EnableMap
Caption="Enable Radar Map"
OnCreateComponent=EnableMap.InternalOnCreateComponent
Hint="The radar map is an bird's eye view of the current map, showing indicators for node positions and status"
WinTop=0.116915
WinLeft=0.479238
WinWidth=0.436524
WinHeight=0.060000
TabOrder=3
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
ch_RadarMap=moCheckBox'GUI2K4.CustomHUDMenuOnslaught.EnableMap'
Begin Object Class=moCheckBox Name=NodeBeamCheck
Caption="Show Node Beams"
OnCreateComponent=NodeBeamCheck.InternalOnCreateComponent
Hint="Display beams of light above nodes which are vulnerable to attack"
WinTop=0.225805
WinLeft=0.479238
WinWidth=0.436524
WinHeight=0.060000
TabOrder=4
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
ch_NodeBeams=moCheckBox'GUI2K4.CustomHUDMenuOnslaught.NodeBeamCheck'
Begin Object Class=moSlider Name=RadarScaleSlider
MaxValue=0.500000
MinValue=0.100000
Caption="Radar Map Scale"
OnCreateComponent=RadarScaleSlider.InternalOnCreateComponent
Hint="Change the size of the radar map on the HUD"
WinTop=0.482552
WinLeft=0.431807
WinWidth=0.528751
WinHeight=0.069779
TabOrder=5
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
sl_RadarScale=moSlider'GUI2K4.CustomHUDMenuOnslaught.RadarScaleSlider'
Begin Object Class=moSlider Name=IconScaleSlider
MaxValue=4.000000
Caption="Radar Map Icon Scale"
OnCreateComponent=IconScaleSlider.InternalOnCreateComponent
Hint="Changes the scaling of the icons displayed on the radar map"
WinTop=0.591833
WinLeft=0.431807
WinWidth=0.528751
WinHeight=0.069779
TabOrder=6
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
sl_IconScale=moSlider'GUI2K4.CustomHUDMenuOnslaught.IconScaleSlider'
Begin Object Class=moSlider Name=RadarTransparencySlider
MaxValue=255.000000
bIntSlider=True
Caption="Radar Map Opacity"
OnCreateComponent=RadarTransparencySlider.InternalOnCreateComponent
Hint="Change the opacity of the radar map's background"
WinTop=0.369622
WinLeft=0.431807
WinWidth=0.528751
WinHeight=0.069779
TabOrder=7
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
sl_RadarTrans=moSlider'GUI2K4.CustomHUDMenuOnslaught.RadarTransparencySlider'
Begin Object Class=moFloatEdit Name=RadarPosXFloat
MinValue=0.075000
MaxValue=1.000000
Step=0.050000
CaptionWidth=0.010000
Caption="X:"
OnCreateComponent=RadarPosXFloat.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Adjust the position (left-to-right) of the radar map"
WinTop=0.848623
WinLeft=0.056826
WinWidth=0.139523
WinHeight=0.034570
TabOrder=0
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
fl_PositionX=moFloatEdit'GUI2K4.CustomHUDMenuOnslaught.RadarPosXFloat'
Begin Object Class=moFloatEdit Name=RadarPosYFloat
MinValue=0.000000
MaxValue=0.730000
Step=0.050000
CaptionWidth=0.010000
Caption="Y:"
OnCreateComponent=RadarPosYFloat.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Adjust the position (top-to-bottom) of the radar map"
WinTop=0.896968
WinLeft=0.056826
WinWidth=0.139523
WinHeight=0.034570
TabOrder=1
bBoundToParent=True
bScaleToParent=True
OnChange=CustomHUDMenuOnslaught.InternalOnChange
End Object
fl_PositionY=moFloatEdit'GUI2K4.CustomHUDMenuOnslaught.RadarPosYFloat'
Begin Object Class=GUIButton Name=ToggleButton
bWrapCaption=True
WinTop=0.771852
WinLeft=0.218035
WinWidth=0.160937
WinHeight=0.098412
TabOrder=2
OnClick=CustomHUDMenuOnslaught.TogglePreview
OnKeyEvent=ToggleButton.InternalOnKeyEvent
End Object
b_TogglePreview=GUIButton'GUI2K4.CustomHUDMenuOnslaught.ToggleButton'
bPreviewRadar=True
ShowRadarText="Show Only Radar"
ShowScreenText="Show Entire Screen"
DefaultRadarTextureName="ONS-Torlan.myLevel.BackgroundImage"
Begin Object Class=GUIButton Name=CancelButton
Caption="Cancel"
Hint="Click to close this menu, discarding changes."
WinTop=0.898800
WinLeft=0.658306
WinWidth=0.136349
WinHeight=0.063881
TabOrder=9
bBoundToParent=True
bScaleToParent=True
bStandardized=True
OnClick=CustomHUDMenuOnslaught.InternalOnClick
OnKeyEvent=CancelButton.InternalOnKeyEvent
End Object
b_Cancel=GUIButton'GUI2K4.CustomHUDMenuOnslaught.CancelButton'
Begin Object Class=GUIButton Name=ResetButton
Caption="Defaults"
Hint="Restore all settings to their default value."
WinTop=0.898800
WinLeft=0.465241
WinWidth=0.136349
WinHeight=0.063881
TabOrder=8
bBoundToParent=True
bScaleToParent=True
bStandardized=True
OnClick=CustomHUDMenuOnslaught.InternalOnClick
OnKeyEvent=ResetButton.InternalOnKeyEvent
End Object
b_Reset=GUIButton'GUI2K4.CustomHUDMenuOnslaught.ResetButton'
Begin Object Class=GUIButton Name=OkButton
Caption="OK"
Hint="Click to close this menu, saving changes."
WinTop=0.898800
WinLeft=0.802881
WinWidth=0.136349
WinHeight=0.063881
TabOrder=10
bBoundToParent=True
bScaleToParent=True
bStandardized=True
OnClick=CustomHUDMenuOnslaught.InternalOnClick
OnKeyEvent=OkButton.InternalOnKeyEvent
End Object
b_OK=GUIButton'GUI2K4.CustomHUDMenuOnslaught.OkButton'
WinTop=0.050000
WinLeft=0.029688
WinWidth=0.944062
WinHeight=0.867814
}
|
Creation time: Wed 7/2/2007 19:15:54.015 - Created with
UnCodeX