Skip to content

Instantly share code, notes, and snippets.

@Kolesias123
Created April 19, 2013 07:49
Show Gist options
  • Save Kolesias123/5418793 to your computer and use it in GitHub Desktop.
Save Kolesias123/5418793 to your computer and use it in GitHub Desktop.
Apocalypse Alpha 1.7 - HudLayout Fix
"Resource/HudLayout.res"
{
HudHealth [$WIN32]
{
"fieldName" "HudHealth"
"xpos" "16"
"ypos" "432"
"wide" "65"
"tall" "36"
"visible" "0"
"enabled" "0"
"PaintBackgroundType" "2"
"TextColor" "HeartColor"
"digit_xpos" "8"
"digit_ypos" "4"
}
HudBloodBar
{
"ControlName" "ImageProgressBar"
"fieldName" "HudBloodBar"
"xpos" "16"
"ypos" "10"
"wide" "150"
"tall" "13"
"autoResize" "1"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
}
HudBloodText [$WIN32]
{
"fieldName" "HudBloodText"
"xpos" "16"
"ypos" "10"
"wide" "110"
"tall" "21"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "Yellowish"
"TextFont" "OpenSansSmall"
"NumberFont" "OpenSansSmall"
"text_xpos" "10"
"text_ypos" "4"
"digit_xpos" "69"
"digit_ypos" "4"
"tabPosition" "1"
"autoResize" "1"
}
HudHungerText [$WIN32]
{
"fieldName" "HudHungerText"
"xpos" "16"
"ypos" "40"
"wide" "110"
"tall" "21"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "Yellowish"
"TextFont" "OpenSansSmall"
"NumberFont" "OpenSansSmall"
"text_xpos" "10"
"text_ypos" "4"
"digit_xpos" "69"
"digit_ypos" "4"
"tabPosition" "1"
"autoResize" "1"
}
HudThirstText [$WIN32]
{
"fieldName" "HudThirstText"
"xpos" "16"
"ypos" "70"
"wide" "110"
"tall" "21"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "Yellowish"
"TextFont" "OpenSansSmall"
"NumberFont" "OpenSansSmall"
"text_xpos" "10"
"text_ypos" "4"
"digit_xpos" "69"
"digit_ypos" "4"
"tabPosition" "1"
"autoResize" "1"
}
HudSuit [$WIN32]
{
"fieldName" "HudSuit"
"xpos" "90"
"ypos" "430"
"wide" "65"
"tall" "36"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "BatteryColor"
"digit_xpos" "8"
"digit_ypos" "4"
}
HudAmmo [$WIN32]
{
"fieldName" "HudAmmo"
"xpos" "l16"
"ypos" "532"
"wide" "30"
"tall" "36"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "AmmoColor"
#"text_xpos" "5"
#"text_ypos" "20"
"digit_xpos" "8"
"digit_ypos" "4"
"digit2_xpos" "40"
"digit2_ypos" "1"
}
HudAmmoSecondary [$WIN32]
{
"fieldName" "HudAmmoSecondary"
"xpos" "r76"
"ypos" "432"
"wide" "40"
"tall" "36"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"TextColor" "AmmoColor"
#"text_xpos" "8"
#"text_ypos" "22"
"digit_xpos" "8"
"digit_ypos" "4"
}
HudPosture [$WIN32]
{
"fieldName" "HudPosture"
"visible" "1"
"PaintBackgroundType" "2"
"xpos" "16"
"ypos" "316"
"tall" "36"
"wide" "36"
"font" "WeaponIconsSmall"
"icon_xpos" "10"
"icon_ypos" "0"
}
HudSuitPower [$WIN32]
{
"fieldName" "HudSuitPower"
"visible" "1"
"enabled" "1"
"xpos" "16"
"ypos" "396"
"wide" "102"
"tall" "26"
"AuxPowerLowColor" "255 0 0 220"
"AuxPowerHighColor" "255 220 0 220"
"AuxPowerDisabledAlpha" "70"
"BarInsetX" "8"
"BarInsetY" "15"
"BarWidth" "92"
"BarHeight" "4"
"BarChunkWidth" "6"
"BarChunkGap" "3"
"text_xpos" "8"
"text_ypos" "4"
"text2_xpos" "8"
"text2_ypos" "22"
"text2_gap" "10"
"PaintBackgroundType" "2"
}
HudLocator
{
"fieldName" "HudLocator"
"visible" "1"
"PaintBackgroundType" "2"
"xpos" "c8" [$WIN32]
"ypos" "r36" [$WIN32]
"xpos" "c-32" [$X360]
"ypos_hidef" "r52" [$X360]
"ypos_lodef" "r95" [$X360] // 52 is aligned to bottom of HudSuit
"wide" "64"
"tall" "24"
}
HudDamageIndicator
{
"fieldName" "HudDamageIndicator"
"visible" "1"
"enabled" "1"
"DmgColorLeft" "255 0 0 0"
"DmgColorRight" "255 0 0 0"
"dmg_xpos" "30"
"dmg_ypos" "100"
"dmg_wide" "36"
"dmg_tall1" "240"
"dmg_tall2" "200"
}
HudZoom
{
"fieldName" "HudZoom"
"visible" "1"
"enabled" "1"
"Circle1Radius" "66"
"Circle2Radius" "74"
"DashGap" "16"
"DashHeight" "4" [$WIN32]
"DashHeight" "6" [$X360]
"BorderThickness" "88"
}
HudWeaponSelection
{
"fieldName" "HudWeaponSelection"
"ypos" "16" [$WIN32]
"ypos" "32" [$X360]
"visible" "1"
"enabled" "1"
"SmallBoxSize" "32"
"MediumBoxWide" "95"
"MediumBoxWide_hidef" "78"
"MediumBoxTall" "50"
"MediumBoxTall_hidef" "50"
"MediumBoxWide_lodef" "74"
"MediumBoxTall_lodef" "50"
"LargeBoxWide" "112"
"LargeBoxTall" "80"
"BoxGap" "8"
"SelectionNumberXPos" "4"
"SelectionNumberYPos" "4"
"SelectionGrowTime" "0.4"
"TextYPos" "64"
}
HudCrosshair
{
"fieldName" "HudCrosshair"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudDeathNotice
{
"fieldName" "HudDeathNotice"
"visible" "1"
"enabled" "1"
"xpos" "r640"
"ypos" "12"
"wide" "628"
"tall" "468"
"MaxDeathNotices" "4"
"LineHeight" "22"
"RightJustify" "1" // If 1, draw notices from the right
"TextFont" "Default"
}
HudVehicle
{
"fieldName" "HudVehicle"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
ScorePanel
{
"fieldName" "ScorePanel"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudTrain
{
"fieldName" "HudTrain"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudMOTD
{
"fieldName" "HudMOTD"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudMessage
{
"fieldName" "HudMessage"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudMenu
{
"fieldName" "HudMenu"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudCloseCaption
{
"fieldName" "HudCloseCaption"
"visible" "0"
"enabled" "1"
"xpos" "c-250"
"ypos" "276" [$WIN32]
"ypos_hidef" "236" [$X360]
"ypos_lodef" "206" [$X360] //236
"wide" "500"
"tall" "136" [$WIN32]
"tall" "176" [$X360]
"BgAlpha" "128"
"GrowTime" "0.25"
"ItemHiddenTime" "0.2" // Nearly same as grow time so that the item doesn't start to show until growth is finished
"ItemFadeInTime" "0.15" // Once ItemHiddenTime is finished, takes this much longer to fade in
"ItemFadeOutTime" "0.3"
"topoffset" "0" [$WIN32]
"topoffset" "40" [$X360]
}
HudChat
{
"fieldName" "HudChat"
"visible" "0"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"wide" "4"
"tall" "4"
}
HudHistoryResource [$WIN32]
{
"fieldName" "HudHistoryResource"
"visible" "1"
"enabled" "1"
"xpos" "r252"
"ypos" "40"
"wide" "248"
"tall" "320"
"history_gap" "56"
"icon_inset" "38"
"text_inset" "36"
"NumberFont" "HudNumbersSmall"
}
HudHistoryResource [$X360]
{
"fieldName" "HudHistoryResource"
"visible" "1"
"enabled" "1"
"xpos" "r300"
"ypos" "40"
"wide" "248"
"tall" "240"
"history_gap" "56"
"icon_inset" "38"
"text_inset" "36"
"NumberFont" "HudNumbersSmall"
}
HudGeiger
{
"fieldName" "HudGeiger"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HUDQuickInfo
{
"fieldName" "HUDQuickInfo"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudWeapon
{
"fieldName" "HudWeapon"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudAnimationInfo
{
"fieldName" "HudAnimationInfo"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudPredictionDump
{
"fieldName" "HudPredictionDump"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudHintDisplay
{
"fieldName" "HudHintDisplay"
"visible" "0"
"enabled" "1"
"Alpha" "0" // Remove this to enable hint hud element
"xpos" "r120" [$WIN32]
"ypos" "r340" [$WIN32]
"xpos" "r148" [$X360]
"ypos" "r338" [$X360]
"wide" "100"
"tall" "200"
"text_xpos" "8"
"text_ypos" "8"
"text_xgap" "8"
"text_ygap" "8"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudHintKeyDisplay
{
"fieldName" "HudHintKeyDisplay"
"visible" "0"
"enabled" "1"
"xpos" "r120" [$WIN32]
"ypos" "r340" [$WIN32]
"xpos" "r148" [$X360]
"ypos" "r338" [$X360]
"wide" "100"
"tall" "200"
"text_xpos" "8"
"text_ypos" "8"
"text_xgap" "8"
"text_ygap" "8"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudPoisonDamageIndicator [$WIN32]
{
"fieldName" "HudPoisonDamageIndicator"
"visible" "0"
"enabled" "1"
"xpos" "16"
"ypos" "346"
"wide" "136"
"tall" "38"
"text_xpos" "8"
"text_ypos" "8"
"text_ygap" "14"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudPoisonDamageIndicator [$X360]
{
"fieldName" "HudPoisonDamageIndicator"
"visible" "0"
"enabled" "1"
"xpos" "48"
"ypos" "264"
"wide" "192"
"tall" "46"
"text_xpos" "8"
"text_ypos" "6"
"text_ygap" "16"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudCredits
{
"fieldName" "HudCredits"
"TextFont" "Default"
"visible" "1"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"TextColor" "255 255 255 192"
}
HUDAutoAim
{
"fieldName" "HUDAutoAim"
"visible" "1"
"enabled" "1"
"wide" "640" [$WIN32]
"tall" "480" [$WIN32]
"wide" "960" [$X360]
"tall" "720" [$X360]
}
HudHDRDemo
{
"fieldName" "HudHDRDemo"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"Alpha" "255"
"PaintBackgroundType" "2"
"BorderColor" "0 0 0 255"
"BorderLeft" "16"
"BorderRight" "16"
"BorderTop" "16"
"BorderBottom" "64"
"BorderCenter" "0"
"TextColor" "255 255 255 255"
"LeftTitleY" "422"
"RightTitleY" "422"
}
"HudChatHistory"
{
"ControlName" "RichText"
"fieldName" "HudChatHistory"
"xpos" "10"
"ypos" "290"
"wide" "300"
"tall" "75"
"wrap" "1"
"autoResize" "1"
"pinCorner" "1"
"visible" "0"
"enabled" "1"
"labelText" ""
"textAlignment" "south-west"
"font" "Default"
"maxchars" "-1"
}
AchievementNotificationPanel
{
"fieldName" "AchievementNotificationPanel"
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "180"
"wide" "f10" [$WIN32]
"wide" "f60" [$X360]
"tall" "100"
}
HudHull
{
"fieldName" "HudHull"
"visible" "1"
"enabled" "1"
"xpos" "12"
"ypos" "420"
"wide" "120"
"tall" "20"
"text_xpos" "5"
"text_ypos" "2"
"TextColor" "0 255 0 80"
"PaintBackgroundType" "2"
}
HudHintDisplay
{
"fieldName" "HudHintDisplay"
"visible" "0"
"enabled" "1"
"xpos" "c-200"
"ypos" "294"
"wide" "400"
"tall" "50"
"text_xpos" "8"
"text_ypos" "8"
"center_x" "0" // center text horizontally
"center_y" "-1" // align text on the bottom
"PaintBackgroundType" "2"
}
HudHintKeyDisplay
{
"fieldName" "HudHintKeyDisplay"
"visible" "0"
"enabled" "1"
"xpos" "r120"
"ypos" "r340"
"wide" "100"
"tall" "200"
"text_xpos" "8"
"text_ypos" "8"
"text_xgap" "8"
"text_ygap" "8"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudVoiceSelfStatus
{
"fieldName" "HudVoiceSelfStatus"
"visible" "1"
"enabled" "1"
"xpos" "r43"
"ypos" "355"
"wide" "24"
"tall" "24"
}
HudVoiceStatus
{
"fieldName" "HudVoiceStatus"
"visible" "1"
"enabled" "1"
"xpos" "r145"
"ypos" "0"
"wide" "145"
"tall" "400"
"item_wide" "135"
"show_avatar" "0"
"show_dead_icon" "1"
"dead_xpos" "1"
"dead_ypos" "0"
"dead_wide" "16"
"dead_tall" "16"
"show_voice_icon" "1"
"icon_ypos" "0"
"icon_xpos" "15"
"icon_tall" "16"
"icon_wide" "16"
"text_xpos" "33"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment