Upvote Upvoted 0 Downvote Downvoted
Target ID Health Issue
posted in Q/A Help
1
#1
-1 Frags +

I'm currently trying to customize my hud to make the health number of my healing target bigger. I managed to increase the font size, but now it's getting cut off by an invisible box that I'm not able to remove no matter what I edit.

Problem: http://i.imgur.com/Dd0PGvI.jpg

Does anyone know what specific element I'd have to edit in order to stop the numbers from getting cropped off at the sides? I know it has something to do with TargetID.res and maybe hudlayout.res, but that's as far as my knowledge goes. Thanks in advance.

I'm currently trying to customize my hud to make the health number of my healing target bigger. I managed to increase the font size, but now it's getting cut off by an invisible box that I'm not able to remove no matter what I edit.

Problem: http://i.imgur.com/Dd0PGvI.jpg

Does anyone know what specific element I'd have to edit in order to stop the numbers from getting cropped off at the sides? I know it has something to do with TargetID.res and maybe hudlayout.res, but that's as far as my knowledge goes. Thanks in advance.
2
#2
5 Frags +

The annoying thing about editing TargetIDs is that you have multiple different bits of code scattered throughout various HUD files that all interact inside this tiny area of the screen...in my experience it takes a lot of trial and error to get everything right.

-There are entries for the overall TargetID size and position in Hudlayout.res, starting with "CMainTargetID."
-There are more entries for the size and color at the top of TargetID.res.
-Further down in TargetID.res you have "SpectatorGUIHealth" which controls the overall size of the health cross "region" of the targetID.
-Then in SpectatorGUIHealth.res you find more shit that specifically controls the size and shape of the health cross/health value itself.

You have to manipulate all of these variables simultaneously in order to get what you want based on the font size and shape, etc. (that surface font is somewhat wider than normal) Generally those "invisible boxes" are controlled by "wide" and "tall" values.

The annoying thing about editing TargetIDs is that you have multiple different bits of code scattered throughout various HUD files that all interact inside this tiny area of the screen...in my experience it takes a lot of trial and error to get everything right.

-There are entries for the overall TargetID size and position in Hudlayout.res, starting with "CMainTargetID."
-There are more entries for the size and color at the top of TargetID.res.
-Further down in TargetID.res you have "SpectatorGUIHealth" which controls the overall size of the health cross "region" of the targetID.
-Then in SpectatorGUIHealth.res you find more shit that specifically controls the size and shape of the health cross/health value itself.

You have to manipulate all of these variables simultaneously in order to get what you want based on the font size and shape, etc. (that surface font is somewhat wider than normal) Generally those "invisible boxes" are controlled by "wide" and "tall" values.
3
#3
1 Frags +

digging this thread, i

digging this thread, i
4
#4
3 Frags +

In TargetID.res, look for the entry called "TargetIDBG" and change the xpos or ypos to "99999"

In TargetID.res, look for the entry called "TargetIDBG" and change the xpos or ypos to "99999"
5
#5
0 Frags +

that worked tks dude, its confusing changing spec values because setting visible to 0 doesnt work, and changing x/y pos works .... i

that worked tks dude, its confusing changing spec values because setting visible to 0 doesnt work, and changing x/y pos works .... i
6
#6
0 Frags +

edit: wrong thread

edit: wrong thread
Please sign in through STEAM to post a comment.