Upvote Upvoted 1 Downvote Downvoted
HUD Text Cutoff (Can't Resolve)
posted in Q/A Help
1
#1
0 Frags +

I'm trying to fix the text cutoff shown here. It only affects the Engineer's Pistol, the Medic's Needles, and the Sniper's SMG as far as I'm aware.

I had the same problem with the UberCharge Percent label but I was able to fix that by increasing the "wide" values in hudlayout.res. Unfortunately it doesn't seem to be helping me here, even if I change them to something like "600".

Screenshot:

http://cloud-3.steampowered.com/ugc/919023951559641946/A486AE92CFC7D3B6474691C0F2C8A4CEA6EF368F/

I'm trying to fix the text cutoff shown here. It only affects the Engineer's Pistol, the Medic's Needles, and the Sniper's SMG as far as I'm aware.

I had the same problem with the UberCharge Percent label but I was able to fix that by increasing the "wide" values in hudlayout.res. Unfortunately it doesn't seem to be helping me here, even if I change them to something like "600".

Screenshot:
[img]http://cloud-3.steampowered.com/ugc/919023951559641946/A486AE92CFC7D3B6474691C0F2C8A4CEA6EF368F/[/img]
2
#2
0 Frags +

just change "wide" in hudammoweapons.res(ammoinclip/ammoinreserve etc) / hudmediccharge.res and other

just change "wide" in hudammoweapons.res(ammoinclip/ammoinreserve etc) / hudmediccharge.res and other
3
#3
huds.tf
0 Frags +

It appears the value of the ammo is too close to the side of the ammo panel. Try changing the xpos of "AmmoInClip" "AmmoInReserve" and "AmmoNoClip" inside HudAmmoWeapons.res

It appears the value of the ammo is too close to the side of the ammo panel. Try changing the xpos of "AmmoInClip" "AmmoInReserve" and "AmmoNoClip" inside HudAmmoWeapons.res
4
#4
0 Frags +

I believe changing the alignment of the two elements to opposing directions (one west one east) might help, not sure though. Did you increase wide and tall, maybe?

I believe changing the alignment of the two elements to opposing directions (one west one east) might help, not sure though. Did you increase wide and tall, maybe?
5
#5
0 Frags +
skappajust change "wide" in hudammoweapons.res(ammoinclip/ammoinreserve etc) / hudmediccharge.res and other

Yeah, I've been tinkering with that, I had to change it just to fit the resized fonts, but if I make it any wider it pushes the ammo to the right, and then I have to change the xpos, and then it's cut off in the exact same manner. I did fix the ammo in reserve, although it is slightly cut off screen.

omniIt appears the value of the ammo is too close to the side of the ammo panel. Try changing the xpos of "AmmoInClip" "AmmoInReserve" and "AmmoNoClip" inside HudAmmoWeapons.res

No success. I can move the numbers all I want but the cutoff still exists in that spot.

hanbroloI believe changing the alignment of the two elements to opposing directions (one west one east) might help, not sure though.

It's already aligned that way, which is standard to omphud.

[quote=skappa]just change "wide" in hudammoweapons.res(ammoinclip/ammoinreserve etc) / hudmediccharge.res and other[/quote]

Yeah, I've been tinkering with that, I had to change it just to fit the resized fonts, but if I make it any wider it pushes the ammo to the right, and then I have to change the xpos, and then it's cut off in the exact same manner. I did fix the ammo in reserve, although it is slightly cut off screen.

[quote=omni]It appears the value of the ammo is too close to the side of the ammo panel. Try changing the xpos of "AmmoInClip" "AmmoInReserve" and "AmmoNoClip" inside HudAmmoWeapons.res[/quote]

No success. I can move the numbers all I want but the cutoff still exists in that spot.

[quote=hanbrolo]I believe changing the alignment of the two elements to opposing directions (one west one east) might help, not sure though.[/quote]

It's already aligned that way, which is standard to omphud.
6
#6
0 Frags +
Controlopesnip

So maybe move the element around within the box that you made bigger with wide and tall? Also maybe try making the whole thing wider/taller in hudlayout.res?

[quote=Controlope]snip[/quote]

So maybe move the element around within the box that you made bigger with wide and tall? Also maybe try making the whole thing wider/taller in hudlayout.res?
7
#7
0 Frags +

i had the exact same problem with omp hud, trying to get the minmode hp/ammo values down cuts them, not rly sure why, never found a solution

i had the exact same problem with omp hud, trying to get the minmode hp/ammo values down cuts them, not rly sure why, never found a solution
8
#8
4 Frags +

So I'm not at my computer right now, so these instructions might not be 100% accurate, but hopefully it'll lead you in the right direction.

Essentially the ammo's positioning is too close to the edge of the ammo frame (which Omni stated), so the solution would be to move the entire panel over a certain amount, then manually shifting all of the ammo elements inside of that frame over the same amount in an opposite direction.

In order to do this, you must first locate the ammo frame, which can be located in hudlayout.res. Once you have that open, search for "HudWeaponAmmo" I believe. From there, you can change the x/ypos of the entire frame, which, you'll notice will move all of the numbers associated with ammo. In your case, I'd try adjusting the xpos so everything is shifted over a bit to the left, maybe 50-75 or so units.

Once everything is shifted over, then you must open up your HudAmmoWeapons.res file, and manually shift over all of the elements (AmmoInClip, AmmoInReserve, etc.) the same amount to the right that you shifted the entire ammo frame to the left. This should move the farther away from the edge of the frame.

If anything is cut off on the right-hand side, it simply means that the ammo frame itself isn't big enough, which you can fix by changing the "wide" value of "HudWeaponAmmo" in hudlayout.res

Hope this helps. :3

EDIT: I also noticed that the number of needles in your secondary clip was cut off. This issue is a lot easier to solve than the main one, all you'll have to do is simply adjust the wide values of your "AmmoInReserve" and "AmmoInReserveShadow" or "AmmoInReserveBG" to be higher than they currently are.

So I'm not at my computer right now, so these instructions might not be 100% accurate, but hopefully it'll lead you in the right direction.

Essentially the ammo's positioning is too close to the edge of the ammo frame (which Omni stated), so the solution would be to move the entire panel over a certain amount, then manually shifting all of the ammo elements inside of that frame over the same amount in an opposite direction.

In order to do this, you must first locate the ammo frame, which can be located in hudlayout.res. Once you have that open, search for "HudWeaponAmmo" I believe. From there, you can change the x/ypos of the entire frame, which, you'll notice will move all of the numbers associated with ammo. In your case, I'd try adjusting the xpos so everything is shifted over a bit to the left, maybe 50-75 or so units.

Once everything is shifted over, then you must open up your HudAmmoWeapons.res file, and manually shift over all of the elements (AmmoInClip, AmmoInReserve, etc.) the same amount to the right that you shifted the entire ammo frame to the left. This should move the farther away from the edge of the frame.

If anything is cut off on the right-hand side, it simply means that the ammo frame itself isn't big enough, which you can fix by changing the "wide" value of "HudWeaponAmmo" in hudlayout.res

Hope this helps. :3

EDIT: I also noticed that the number of needles in your secondary clip was cut off. This issue is a lot easier to solve than the main one, all you'll have to do is simply adjust the wide values of your "AmmoInReserve" and "AmmoInReserveShadow" or "AmmoInReserveBG" to be higher than they currently are.
9
#9
0 Frags +

that worked for me thanks dude

that worked for me thanks dude
10
#10
1 Frags +
rays[the bible]

Thanks, I was able to move the frame and reposition the numbers as you suggested.

And thanks to everyone else who pitched in!

[quote=rays][the bible][/quote]

Thanks, I was able to move the frame and reposition the numbers as you suggested.

And thanks to everyone else who pitched in!
Please sign in through STEAM to post a comment.