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
{
WinWidth=0.944062
WinHeight=0.867814
WinLeft=0.029688
WinTop=0.050000
bPreviewRadar=true
ShowScreenText="Show Entire Screen"
ShowRadarText="Show Only Radar"
DefaultRadarTextureName="ONS-Torlan.myLevel.BackgroundImage"
Begin Object class=GUISectionBackground name=RadarPositionBackground
Caption="Radar Position"
bBoundToParent=True
bScaleToParent=True
WinWidth=0.385772
WinHeight=0.221081
WinLeft=0.022134
WinTop=0.749726
NumColumns=2
ColPadding=0.05
End Object
sb_Position=RadarPositionBackground
Begin Object Class=GUIImage name=RadarPreviewBlend
WinWidth=0.311700
WinHeight=0.311700
WinLeft=0.076300
WinTop=0.195204
Image=Material'MenuGray'
ImageStyle=ISTY_Stretched
ImageAlign=IMGA_Center
ImageRenderStyle=MSTY_Alpha
RenderWeight=0.1
End Object
i_PreviewBlend=RadarPreviewBlend
Begin Object Class=GUIImage name=RadarPreviewImage
Image=Material'MenuWhite'
ImageStyle=ISTY_Scaled
ImageAlign=IMGA_Center
ImageRenderStyle=MSTY_Alpha
OnDraw=DrawMap
RenderWeight=0.11
End Object
i_Preview=RadarPreviewImage
Begin Object Class=GUISectionBackground name=PreviewBackground
Caption="Preview"
WinWidth=0.385772
WinHeight=0.699076
WinLeft=0.022134
WinTop=0.040869
bFillClient=true
bBoundToParent=True
bScaleToParent=True
End Object
sb_Preview=PreviewBackground
Begin Object class=GUISectionBackground name=OptionBackground
Caption="Onslaught HUD Options"
WinWidth=0.562501
WinHeight=0.931115
WinLeft=0.416250
WinTop=0.040869
bBoundToParent=True
bScaleToParent=True
End Object
sb_Options=OptionBackground
Begin Object class=moFloatEdit name=RadarPosXFloat
MinValue=0.075
MaxValue=1.000000
Step=0.050000
CaptionWidth=0.010000
Caption="X:"
Hint="Adjust the position (left-to-right) of the radar map"
WinWidth=0.139523
WinHeight=0.034570
WinLeft=0.056826
WinTop=0.848623
TabOrder=0
bBoundToParent=True
bScaleToParent=True
OnChange=InternalOnChange
MenuState=MSAT_Disabled
End Object
fl_PositionX=RadarPosXFloat
Begin Object class=moFloatEdit name=RadarPosYFloat
MinValue=0.000000
MaxValue=0.730000
Step=0.050000
CaptionWidth=0.010000
Caption="Y:"
Hint="Adjust the position (top-to-bottom) of the radar map"
WinWidth=0.139523
WinHeight=0.034570
WinLeft=0.056826
WinTop=0.896968
TabOrder=1
bBoundToParent=True
bScaleToParent=True
OnChange=InternalOnChange
MenuState=MSAT_Disabled
End Object
fl_PositionY=RadarPosYFloat
Begin Object Class=GUIButton name=ToggleButton
WinWidth=0.160937
WinHeight=0.098412
WinLeft=0.218035
WinTop=0.771852
OnClick=TogglePreview
bWrapCaption=true
TabOrder=2
End Object
b_TogglePreview=ToggleButton
Begin Object class=moCheckbox name=EnableMap
Caption="Enable Radar Map"
Hint="The radar map is an bird's eye view of the current map, showing indicators for node positions and status"
OnChange=InternalOnChange
bBoundToParent=True
bScaleToParent=True
WinWidth=0.436524
WinHeight=0.06
WinLeft=0.479238
WinTop=0.116915
TabOrder=3
End Object
ch_RadarMap=EnableMap
Begin Object class=moCheckbox name=NodeBeamCheck
Caption="Show Node Beams"
Hint="Display beams of light above nodes which are vulnerable to attack"
OnChange=InternalOnChange
bBoundToParent=True
bScaleToParent=True
WinWidth=0.436524
WinHeight=0.06
WinLeft=0.479238
WinTop=0.225805
TabOrder=4
End Object
ch_NodeBeams=NodeBeamCheck
Begin Object class=moSlider name=RadarScaleSlider
Caption="Radar Map Scale"
Hint="Change the size of the radar map on the HUD"
MinValue=0.1
MaxValue=0.5
bIntSlider=false
OnChange=InternalOnChange
bBoundToParent=True
bScaleToParent=True
WinWidth=0.528751
WinHeight=0.069779
WinLeft=0.431807
WinTop=0.482552
TabOrder=5
End Object
sl_RadarScale=RadarScaleSlider
Begin Object class=moSlider name=IconScaleSlider
Caption="Radar Map Icon Scale"
Hint="Changes the scaling of the icons displayed on the radar map"
MinValue=0
MaxValue=4.0
bIntSlider=false
OnChange=InternalOnChange
bBoundToParent=True
bScaleToParent=True
WinWidth=0.528751
WinHeight=0.069779
WinLeft=0.431807
WinTop=0.591833
TabOrder=6
End Object
sl_IconScale=IconScaleSlider
Begin Object class=moSlider name=RadarTransparencySlider
Caption="Radar Map Opacity"
Hint="Change the opacity of the radar map's background"
MinValue=0
MaxValue=255
bIntSlider=true
OnChange=InternalOnChange
bBoundToParent=True
bScaleToParent=True
WinWidth=0.528751
WinHeight=0.069779
WinLeft=0.431807
WinTop=0.369622
TabOrder=7
End Object
sl_RadarTrans=RadarTransparencySlider
Begin Object Class=GUIButton name=ResetButton
WinWidth=0.136349
WinHeight=0.063881
WinLeft=0.465241
WinTop=0.898800
Caption="Defaults"
Hint="Restore all settings to their default value."
OnClick=InternalOnClick
bStandardized=true
bBoundToParent=True
bScaleToParent=True
TabOrder=8
End Object
b_Reset=ResetButton
Begin Object class=GUIButton Name=CancelButton
WinWidth=0.136349
WinHeight=0.063881
WinLeft=0.658306
WinTop=0.898800
Caption="Cancel"
Hint="Click to close this menu, discarding changes."
bStandardized=true
OnClick=InternalOnClick
bBoundToParent=True
bScaleToParent=True
TabOrder=9
End Object
b_Cancel=CancelButton
Begin Object class=GUIButton Name=OKButton
WinWidth=0.136349
WinHeight=0.063881
WinLeft=0.802881
WinTop=0.898800
Caption="OK"
Hint="Click to close this menu, saving changes."
OnClick=InternalOnClick
bBoundToParent=True
bScaleToParent=True
bStandardized=true
TabOrder=10
End Object
b_OK=OKButton
}
|
Creation time: Do 14.8.2014 09:58:02.691 - Created with
UnCodeX