Re: L4D2 Center HUD fix
Posted: 14 Feb 2010, 14:52
Not sure on the differences but glad it works. :)
It fixed my laggy Oblivion too :bowdown Now to find a centered HUD for it, hehe.
[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
https://www.wsgf.org/phpBB3/
Not sure on the differences but glad it works. :)
Hi, I am new to these forums, been reading about a week now since I found this place.
I have long been into multi-monitor setups and trying to get various games working across them, untill I recently discovered softTH which came to yeild much better results, for which I then stumbled across WSGF :D in search for some HUD fixes.
So having read the various comments mainly by Downtown I have managed to put together a res pack for 3x1920x1080 (5760x1080).
This is my first attempt and thought I would share it with you folks, the vast majoprity of HUD content is now centered including "Delphium killed the Hunter" "Delphium was protected by Nick". The scores (pressing tab) are still on the left, as is the main game menu although starting a game and lobby area is centered.
3x1920x1080 (5760x1080) working as of 27th December 2009.
![]()
http://empire.ispeeds.net/~delphi/wsgf/l4d2/left4dead2-5760x1080_27_12_2009.rar
This is a steady host however please feel free to mirror it on WSGF.
EDIT: file recived from Truckchase! and hosted here... http://empire.ispeeds.net/~delphi/wsgf/l4d2/pak01_dir.7z

Added a note and link to the first post for the custom calculation info. Thanks Delphium.
Also, Valve support was a dead end re: VAC. They actually said I need to inquire on the Steam forums regarding my question. :?
Code: Select all
"Resource/HudLayout.res"
{
overview
{
"fieldname" "overview"
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "480"
"wide" "0"
"tall" "0"
}
HudCommentary
{
"fieldName" "HudCommentary"
"xpos" "c-190"
"ypos" "350"
"wide" "380"
"tall" "40"
"visible" "0"
"enabled" "1"
"alpha" "0"
"PaintBackgroundType" "2"
"bar_xpos" "650"
"bar_ypos" "20"
"bar_height" "8"
"bar_width" "320"
"speaker_xpos" "50"
"speaker_ypos" "8"
"count_xpos_from_right" "10" // Counts from the right side
"count_ypos" "8"
"icon_texture" "vgui/hud/icon_commentary"
"icon_xpos" "600"
"icon_ypos" "0"
"icon_width" "40"
"icon_height" "40"
}
HudHDRDemo
{
"fieldName" "HudHDRDemo"
"xpos" "910"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "0"
"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"
}
HudSurvivalTimer
{
"fieldName" "HudSurvivalTimer"
"visible" "1"
"enabled" "1"
"xpos" "c-220"
"ypos" "-10" [$WIN32]
"ypos" "-2" [$X360]
"zpos" "0"
"wide" "440"
"tall" "100"
"PaintBackground" "0"
"NumberFont" "HudNumbers"
}
HudScavengeTimer
{
"fieldName" "HudScavengeTimer"
"visible" "1"
"enabled" "1"
"xpos" "c-220"
"ypos" "15" [$WIN32]
"ypos" "5" [$X360]
"zpos" "0"
"wide" "440"
"tall" "100"
"PaintBackground" "0"
"NumberFont" "HudNumbers"
}
HudScavengeProgress
{
"fieldName" "HudScavengeProgress"
"visible" "1"
"enabled" "1"
"xpos" "c-42"
"ypos" "23"
"zpos" "0"
"wide" "85"
"tall" "43"
"PaintBackground" "0"
"NumberFont" "HudNumbers"
}
TargetID
{
"fieldName" "TargetID"
"visible" "1"
"enabled" "1"
"xpos" "c-320"
"ypos" "c-240"
"wide" "320"
"tall" "240"
}
PlayerLabel
{
"fieldName" "PlayerLabel"
"visible" "1"
"enabled" "1"
"xpos" "c-320"
"ypos" "c-240"
"wide" "640"
"tall" "480"
}
HudArmor
{
"fieldName" "HudArmor"
"xpos" "924"
"ypos" "440"
"wide" "132"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"icon_xpos" "0"
"icon_ypos" "2"
"digit_xpos" "34"
"digit_ypos" "2"
}
HudSuit
{
"fieldName" "HudSuit"
"xpos" "908"
"ypos" "432"
"wide" "108"
"tall" "36"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"text_xpos" "8"
"text_ypos" "20"
"digit_xpos" "50"
"digit_ypos" "2"
}
HudProgressBar
{
"fieldName" "HudProgressBar"
"xpos" "c-114"
"ypos" "c10"
"if_split_screen_vertical"
{
"ypos" "c-10"
}
"wide" "300"
"tall" "80"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "0" // No corners
"PaintBackground" "0"
}
HudRoundTimer
{
"fieldName" "HudRoundTimer"
"xpos" "c-20"
"ypos" "440"
"wide" "120"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"FlashColor" "HudIcon_Red"
"icon_xpos" "0"
"icon_ypos" "2"
"digit_xpos" "34"
"digit_ypos" "2"
}
HudAccount
{
"fieldName" "HudAccount"
"xpos" "r902"
"ypos" "374"
"wide" "116"
"tall" "80"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"icon_xpos" "0"
"icon_ypos" "36"
"digit_xpos" "104"
"digit_ypos" "36"
"icon2_xpos" "0"
"icon2_ypos" "2"
"digit2_xpos" "104"
"digit2_ypos" "2"
}
HudShoppingCart
{
"fieldName" "HudShoppingCart"
"xpos" "784"
"ypos" "200"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"IconColor" "HudIcon_Green"
}
HudC4
{
"fieldName" "HudC4"
"xpos" "784"
"ypos" "248"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"IconColor" "HudIcon_Green"
"FlashColor" "HudIcon_Red"
}
HudDefuser
{
"fieldName" "HudDefuser"
"xpos" "784"
"ypos" "248"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"IconColor" "HudIcon_Green"
}
HudHostageRescueZone
{
"fieldName" "HudHostageRescueZone"
"xpos" "784"
"ypos" "248"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"IconColor" "HudIcon_Green"
"FlashColor" "HudIcon_Red"
}
HudScenarioIcon
{
"fieldName" "HudScenarioIcon"
"xpos" "c110"
"ypos" "443"
"wide" "40"
"tall" "44"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"IconColor" "Hostage_Yellow"
}
HudFlashlight
{
"fieldName" "HudFlashlight"
"visible" "1"
"enabled" "1"
"xpos" "784"
"ypos" "370"
"wide" "102"
"tall" "20"
"text_xpos" "8"
"text_ypos" "6"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudDamageIndicator
{
"fieldName" "HudDamageIndicator"
"visible" "1"
"enabled" "1"
// TF Damage Indicator vars
"MinimumWidth" "40"
"MaximumWidth" "80"
"StartRadius" "120"
"EndRadius" "80"
"MinimumHeight" "30"
"MaximumHeight" "60"
"MinimumTime" "2"
// CS Damage Indicator vars
"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"
"BorderThickness" "88"
}
HudWeaponSelection
{
"fieldName" "HudWeaponSelection"
"xpos" "r1010"
"ypos" "c-90"
"wide" "100"
"tall" "175"
"visible" "1"
"enabled" "1"
"usetitlesafe" "1"
"if_split_screen_horizontal"
{
"ypos" "0"
}
"LargeBoxWide" "150"
"LargeBoxTall" "32"
"SmallBoxWide" "150"
"SmallBoxTall" "24"
"BoxGap" "1"
"BoxDirection" "0" // 0 is up, 1 is down, 2 is left, 3 is right
"SelectionNumberXPos" "4"
"SelectionNumberYPos" "4"
"SelectionGrowTime" "0.4"
"Ammo1XPos" "55"
"Ammo1YPos" "4"
"Ammo2XPos" "58"
"Ammo2YPos" "5"
"IconXPos" "-55" // negative numbers mean right side
"IconYPos" "-5"
"IconYPos_lodef" "2"
"TextYPos" "68"
"TextColor" "SelectionTextFg"
"MaxSlots" "5"
"PlaySelectSounds" "0"
"PrimaryWeaponsYPos" "10"
"PrimaryWeaponBoxWide" "53"
"PrimaryWeaponBoxTall" "28"
"MeleeWeaponX" "2"
"MeleeWeaponY" "0"
"MeleeWeaponWide" "49"
"MeleeWeaponTall" "22"
"ChainsawX" "2"
"ChainsawY" "2"
"ChainsawWide" "41"
"ChainsawTall" "19"
"ChainsawBarX" "45"
"ChainsawBarY" "2"
"ChainsawBarWide" "5"
"ChainsawBarTall" "19"
"PrimaryAmmoXPos" "22"
"PrimaryAmmoYPos" "0"
"ReserveAmmoXPos" "22"
"ReserveAmmoYPos" "14"
"AmmoIconXPos" "20"
"AmmoIconYPos" "3"
"AmmoIconSize" "22" // wide and tall
"SpecialAmmoXPos" "29"
"SpecialAmmoYPos" "4"
"PrimaryWeaponsYPos" "10"
"PrimaryWeaponWide" "60"
"PrimaryWeaponTall" "20"
"PrimaryBindingYPos" "38"
"PistolBoxWide" "53"
"PistolBoxTall" "24"
"RightSideIndent" "10"
"IconSize" "24" // square weapon icon sizes
"PrimaryAmmoFont" "HudAmmo"
"ReserveAmmoFont" "HudAmmoSmall"
"PistolAmmoFont" "HudAmmo"
"SelectedItemColor" "142 214 57 255"
"UnselectedItemColor" "White"
"SelectedReserveAmmoColor" "93 142 32 255"
"UnselectedReserveAmmoColor" "169 169 169 255"
"InactiveItemColor" "90 90 90 255" [$WIN32]
"InactiveItemColor" "55 55 55 255" [$X360]
"SelectedScale" "1.0" // scale selected boxes by this much
"SpecialAmmoXPos" "18"
"SpecialAmmoYPos" "6"
}
HudCrosshair
{
"fieldName" "HudCrosshair"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
"ability_size" "17"
"ability_surpressed_color" "127 127 127 255"
"ability_charging_color" "127 127 127 255"
"ability_ready_color" "255 255 255 255"
}
HudDeathNotice
{
"fieldName" "HudDeathNotice"
"visible" "1"
"enabled" "1"
"xpos" "910"
"ypos" "0"
"wide" "f0"
"tall" "480"
"MaxDeathNotices" "6"
"IconSize" "16"
"TextFont" "Default"
}
HudVehicle
{
"fieldName" "HudVehicle"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
CVProfPanel
{
"fieldName" "CVProfPanel"
"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"
"zpos" "1"
"TextFont" "Default"
"ItemFont" "Default"
"ItemFontPulsing" "Default"
}
HudCloseCaption
{
"fieldName" "HudCloseCaption"
"visible" "1"
"enabled" "1"
"xpos" "c-150"
"ypos" "r220" [$WIN32]
"ypos" "r230" [$X360]
"wide" "300"
"tall" "135"
"usetitlesafe" "1"
"if_split_screen_vertical"
{
"ypos" "r160"
"tall" "108"
}
"if_split_screen_horizontal"
{
"xpos" "0"
"ypos" "r220"
"wide" "275"
"tall" "108"
}
"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"
}
HudHistoryResource
{
"fieldName" "HudHistoryResource"
"visible" "1"
"enabled" "1"
"xpos" "r808"
"wide" "640"
"tall" "330"
"history_gap" "55"
}
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"
}
"CHudVote"
{
"fieldName" "CHudVote"
"xpos" "778"
"ypos" "c-80"
"wide" "210" [$ENGLISH]
"wide" "290" [!$ENGLISH]
"tall" "200"
"visible" "1"
"enabled" "1"
"bgcolor_override" "0 0 0 0"
"PaintBackgroundType" "0" // rounded corners
"usetitlesafe" "1"
}
"CHudAbilityTimer"
{
"ControlName" "CHudAbilityTimer"
"fieldName" "CHudAbilityTimer"
"xpos" "r840"
"ypos" "r120"
"wide" "80"
"tall" "70"
"visible" "1"
"enabled" "1"
"ability_surpressed_color" "127 127 127 255"
"ability_charging_color" "127 127 127 255"
"ability_ready_color" "255 255 255 255"
"usetitlesafe" "1"
"if_split_screen_left"
{
"xpos" "-8"
}
}
"HudZombieHealth"
{
"fieldName" "HudZombieHealth"
"xpos" "r1155"
"ypos" "r100"
"wide" "400"
"tall" "100"
"visible" "1"
"enabled" "1"
"usetitlesafe" "1" // 2
"if_split_screen_left"
{
"xpos" "1"
}
}
CBudgetPanel
{
"fieldName" "CBudgetPanel"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
CTextureBudgetPanel
{
"fieldName" "CTextureBudgetPanel"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudPredictionDump
{
"fieldName" "HudPredictionDump"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudScope
{
"fieldName" "HudZoom"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
HudVoiceSelfStatus
{
"fieldName" "HudVoiceSelfStatus"
"visible" "1"
"enabled" "1"
"xpos" "r900"
"ypos" "r78"
"wide" "24"
"tall" "24"
"usetitlesafe" "1"
"if_split_screen_left"
{
"xpos" "100"
}
}
HudVoiceStatus
{
"fieldName" "HudVoiceStatus"
"visible" "1"
"enabled" "1"
"xpos" "r898"
"ypos" "0"
"wide" "150"
"tall" "290"
"item_tall" "15"
"item_wide" "120"
"item_spacing" "2"
"icon_ypos" "0"
"icon_xpos" "0"
"icon_tall" "16"
"icon_wide" "16"
"text_xpos" "18"
"text_font" "DefaultDropShadow"
"inverted" "0" // draws text in player color, no background
}
HudFlashbang
{
}
HudHintDisplay [$WIN32]
{
"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
}
HudHintKeyDisplay
{
"fieldName" "HudHintKeyDisplay"
"visible" "0"
"enabled" "1"
"xpos" "r888"
"ypos" "r340"
"wide" "10"
"tall" "200"
"text_xpos" "8"
"text_ypos" "8"
"text_xgap" "8"
"text_ygap" "8"
"TextColor" "255 170 0 220"
"PaintBackgroundType" "2"
}
HudTerritory
{
"fieldName" "HudTerritory"
"visible" "1"
"enabled" "1"
"xpos" "1008"
"ypos" "432"
"wide" "240"
"tall" "48"
}
TerritorySCore
{
"fieldName" "TerritoryScore"
"visible" "0"
"enabled" "0"
"xpos" "1008"
"ypos" "450"
"wide" "200"
"tall" "200"
"text_xpos" "8"
"text_ypos" "4"
}
"HudChat"
{
// BaseChat.res overrides many of these values - make your edits there
"ControlName" "EditablePanel"
"fieldName" "HudChat"
"visible" "1"
"enabled" "1"
"xpos" "910"
"ypos" "275"
"wide" "320"
"tall" "120"
"PaintBackgroundType" "2"
"usetitlesafe" "1"
}
// TERROR:
HudMessagePanel // HudMessage is already taken :P
{
"fieldName" "HudMessagePanel"
"visible" "0"
"enabled" "1"
"xpos" "888"
"ypos" "r235"
"wide" "400"
"tall" "180"
"PaintBackgroundType" "2"
"text_xpos" "4"
"text_ypos" "4"
"text_spacing" "1"
}
HudBlood
{
"fieldName" "HudBlood"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
"CHudSurvivorTeamStatus"
{
"ControlName" "CHudSurvivorTeamStatus"
"fieldName" "CHudSurvivorTeamStatus"
"xpos" "r910"
"ypos" "120"
"wide" "65"
"tall" "5"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
}
CHudLocalPlayerDisplay
{
"fieldName" "CHudLocalPlayerDisplay"
"visible" "1"
"enabled" "1"
"usetitlesafe" "1"
"xpos" "r1070"
"ypos" "r91"
"wide" "140"
"tall" "300"
"if_split_screen_left"
{
"xpos" "0"
}
"if_split_screen_top"
{
"ypos" "r90"
}
}
CHudTeamDisplay
{
"fieldName" "CHudTeamDisplay"
"visible" "1"
"enabled" "1"
"usetitlesafe" "1"
"xpos" "910"
"ypos" "r73"
"wide" "f0"
"tall" "100"
"if_split_screen_horizontal"
{
"ypos" "c-59"
}
"if_split_screen_vertical"
{
"xpos" "c-300"
"wide" "600"
"tall" "100"
"usetitlesafe" "1"
}
}
HudFinaleMeter
{
"fieldName" "HudFinaleMeter"
"visible" "1"
"enabled" "1"
"xpos" "c-100"
"ypos" "12"
"wide" "200"
"tall" "20"
"PaintBackgroundType" "2" // rounded corners
}
HudFrustrationMeter
{
"fieldName" "HudFrustrationMeter"
"xpos" "778"
"ypos" "c0"
"wide" "300"
"tall" "84"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "0"
"usetitlesafe" "2"
}
HudInfectedVOIP
{
"fieldName" "HudInfectedVOIP"
"xpos" "r898"
"ypos" "c100"
"wide" "120"
"tall" "84"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "0"
"usetitlesafe" "2"
}
// Tank approaching / Too far from Survivors
HudZombiePanel
{
"fieldName" "HudZombiePanel"
"visible" "1"
"enabled" "1"
"xpos" "c-190"
"ypos" "c10"
"wide" "400"
"tall" "155"
//"PaintBackgroundType" "2"
"if_split_screen_horizontal"
{
"ypos" "c-45"
}
"if_split_screen_left"
{
"xpos" "c-145"
}
"if_split_screen_right"
{
"xpos" "c-175"
}
}
HudGhostPanel
{
"fieldName" "HudGhostPanel"
"visible" "1"
"enabled" "1"
"xpos" "c-180"
"ypos" "c10"
"wide" "400"
"tall" "155"
"WhiteText" "192 192 192 255"
"RedText" "246 5 5 255"
"padding" "4"
"if_split_screen_horizontal"
{
"ypos" "c-45"
}
"if_split_screen_left"
{
"xpos" "c-145"
}
"if_split_screen_right"
{
"xpos" "c-205"
}
"if_split_screen_top" [$X360]
{
"ypos" "c-70"
}
}
HudCredits
{
"fieldName" "HudCredits"
"visible" "1"
"enabled" "1"
"xpos" "c-270"
"ypos" "c-190"
"wide" "540"
"tall" "380"
}
HudAnnouncement
{
"fieldName" "HudAnnouncement"
"xpos" "c-150"
"ypos" "300"
"wide" "300"
"tall" "15"
"visible" "0"
"enabled" "1"
"PaintBackgroundType" "2"
}
CHudTeamMateInPerilNotice
{
"fieldName" "CHudTeamMateInPerilNotice"
"ypos" "50"
"visible" "1"
"enabled" "1"
}
HudIntensityGraph
{
"fieldName" "HudIntensityGraph"
"xpos" "r843"
"ypos" "190"
"wide" "70"
"tall" "100"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
}
HudLeavingAreaWarning
{
"fieldName" "HudLeavingAreaWarning"
"xpos" "778"
"ypos" "c26"
"wide" "200"
"tall" "14"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"usetitlesafe" "2"
}
CItemPickupPanel
{
"fieldName" "CItemPickupPanel"
"xpos" "910"
"ypos" "0"
"wide" "f0"
"tall" "f0"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"usetitlesafe" "0"
}
HudPZDamageRecord
{
"fieldName" "HudPZDamageRecord"
"xpos" "910"
"ypos" "170"
"wide" "f0"
"tall" "75"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
"usetitlesafe" "1"
"label_textalign" "west"
"if_split_screen_horizontal"
{
"ypos" "55"
"label_textalign" "west"
}
"if_split_screen_vertical"
{
"ypos" "55"
"label_textalign" "center"
}
}
StatsCrawl
{
"fieldName" "StatsCrawl"
"visible" "1"
"enabled" "1"
"xpos" "910"
"ypos" "0"
"wide" "f0"
"tall" "f0"
"vote_bot_inset_x" "150" [$X360]
"vote_bot_inset_y" "75" [$X360]
"skip_legend_inset_x" "70" [$X360]
"skip_legend_inset_y" "55" [$X360]
"vote_bot_inset_x" "90" [$WIN32]
"vote_bot_inset_y" "45" [$WIN32]
"skip_legend_inset_x" "10" [$WIN32]
"skip_legend_inset_y" "25" [$WIN32]
"SkipLabelFont" "DefaultLarge"
"ButtonFont" "GameUIButtons"
"StatsCrawlFont" "OuttroStatsCrawl"
"StatsCrawlUnderlineFont" "OuttroStatsCrawlUnderline"
"CreditsCrawlFont" "Credits"
"votes"
{
"box_size" "16"
"spacer" "4"
"box_inset" "1"
}
}
PZEndGamePanel
{
"fieldName" "PZEndGamePanel"
"visible" "1"
"enabled" "1"
"xpos" "c-177"
"ypos" "c10"
"wide" "354"
"tall" "200"
}
CHudZombieTeamDisplay
{
"fieldName" "CHudZombieTeamDisplay"
"visible" "1"
"enabled" "1"
"usetitlesafe" "1"
"xpos" "910"
"ypos" "r75"
"wide" "f0"
"tall" "100"
// vert:
//"xpos" "r100"
//"ypos" "20"
//"wide" "100"
//"tall" "460"
"VertPanelSpacing" "45"
"HorizPanelSpacing" "140"
"if_split_screen_horizontal"
{
"ypos" "c-59"
}
"if_split_screen_vertical"
{
"xpos" "c-140"
}
}
}
I have a question that maybe someone can answer for me. when I extract the dir, i see mudlayout.res. Is this the same file as hudlayout.res? if so, how does renaming it set the proper settings but having it as mudlayout.res does not.
-Tanshin
I'm trying to move the chat to center monitor.
![]()
-Tanshin
About the filenames and such...take a look at my fourth or fifth post on the first page of this thread for an explanation of how the game "sees" files. some trickery is needed to get the mod to work. apply the same procedure to basechat.res and it should function the same (I haven't modded this file yet myself).
Code: Select all
"Resource/UI/BaseChat.res"
{
"HudChat"
{
"ControlName" "EditablePanel"
"fieldName" "HudChat"
"visible" "1"
"enabled" "1"
"xpos" "910"
"ypos" "r205" [$WIN32]
"ypos" "5" [$X360]
"wide" "280" [$WIN32]
"wide" "350" [$X360]
"tall" "120"
"PaintBackgroundType" "2"
"usetitlesafe" "1"
}
KeyStateLabel
{
"ControlName" "Label"
"fieldname" "KeyStateLabel"
"visible" "1"
"enabled" "1"
"xpos" "10" [$WIN32]
"xpos" "42" [$X360]
"ypos" "2"
"wide" "300"
"tall" "12"
"textAlignment" "north-west"
}
ChatInputLine
{
"ControlName" "EditablePanel"
"fieldName" "ChatInputLine"
"visible" "1"
"enabled" "1"
"xpos" "10" [$WIN32]
"xpos" "42" [$X360]
"ypos" "395"
"wide" "260"
"tall" "2"
"PaintBackgroundType" "0"
}
"ChatFiltersButton"
{
"ControlName" "Button"
"fieldName" "ChatFiltersButton"
"xpos" "225"
"ypos" "2"
"wide" "45"
"tall" "15"
"autoResize" "1"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"labelText" "#chat_filterbutton"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}
"HudChatHistory"
{
"ControlName" "RichText"
"fieldName" "HudChatHistory"
"xpos" "10" [$WIN32]
"ypos" "17" [$WIN32]
"xpos" "10" [$X360]
"ypos" "10" [$X360]
"wide" "260" [$WIN32]
"wide" "350" [$X360]
"tall" "75" [$WIN32]
"tall" "120" [$X360]
"wrap" "1"
"autoResize" "1"
"pinCorner" "1"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "south-west"
"font" "ChatFont"
"maxchars" "-1"
}
}
L4D2HUD-5760x1080-delphium.zip
Here is mine quickly updated.