HUD Help

It dun wurk.

By
Sneeza
10 months ago

I'm trying to customize a HUD that I downloaded, but I'm having problems making icons move. Here's the code for HUDHealth from HudLayout.res:

HudHealth
{
  "fieldName" "HudHealth"
  "xpos" "6"
  "ypos" "445"
  "wide" "70"
  "tall" "30"
  "visible" "1"
  "enabled" "1"

  "PaintBackgroundType" "2"

  "icon_xpos" "2" // This should move it right, right?
  "icon_ypos" "-2" // This works fine.
  "digit_xpos" "20"
  "digit_ypos" "0"

  "LowHealthColor" "HudIcon_Red"
}

At the moment, I can move the icon using iconypos freely - when I change the value it moves accordingly. As for the iconxpos, it's another story. I've tried many values (-2, -10, 10, 100) and it doesn't move at all. Am I doing something wrong? Screenshot for reference (I want to move it to the right more):

Halp.

1 post 427 views

Replies

    • P4: Worker
      Points: 25,833
    • E1: Helper
      EF: 1
    • C2: Ripe Member
    • A5: Veteran
      Account Age: 5 years
    Sneeza

    I dun a bump.

    Too busy to make ubers!