Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Fixed adrenaline bar #1

Merged
merged 1 commit into from
Feb 17, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/CHUD_Client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ function ApplyCHUD(script, scriptName)
CHUDSmokeSize = 128
end
ReplaceLocals(GUIAlienHUD.CreateHealthBall, {kHealthBackgroundTextureX2 = CHUDSmokeSize, kHealthBackgroundTextureY2 = CHUDSmokeSize, kTextureName = kTextureNameCHUD})
ReplaceLocals(GUIAlienHUD.CreateEnergyBall, {kHealthBackgroundTextureX2 = CHUDSmokeSize, kHealthBackgroundTextureY2 = CHUDSmokeSize, kTextureName = kTextureNameCHUD, kEnergyBackgroundOffset = Vector(-160-94, -62, 0),
ReplaceLocals(GUIAlienHUD.CreateEnergyBall, {kHealthBackgroundTextureX2 = CHUDSmokeSize, kHealthBackgroundTextureY2 = CHUDSmokeSize, kTextureName = kTextureNameCHUD,
energyBallSettings = {
BackgroundWidth = GUIScale(160),
BackgroundHeight = GUIScale(160),
BackgroundAnchorX = GUIItem.Right,
BackgroundAnchorY = GUIItem.Bottom,
BackgroundOffset = Vector(-160 - 45, -50, 0),
BackgroundOffset = Vector(-160 - 45, -50, 0) * GUIScale(1),
BackgroundTextureName = kTextureNameCHUD,
BackgroundTextureX1 = 0,
BackgroundTextureY1 = 0,
Expand Down