Upvote Upvoted 2 Downvote Downvoted
Marked for death?
posted in Customization
1
#1
1 Frags +

I'm currently using BXhud, slightly modified, and currently working on modifying it more.

HOWEVER biggest issue that I have is that I can't seem to get a marked for deaths symbol to appear, whether it be with the GRU or the escape plan, it would be nice to have the symbol appear on my screen, but I have not been able to quite figure out how to do that.

Somebody please come tell me that I'm an idiot and give me the few lines of code I'm stupidly missing so I can fix it. I will love you for about ten minutes, promise.

I'm currently using BXhud, slightly modified, and currently working on modifying it more.

HOWEVER biggest issue that I have is that I can't seem to get a marked for deaths symbol to appear, whether it be with the GRU or the escape plan, it would be nice to have the symbol appear on my screen, but I have not been able to quite figure out how to do that.

Somebody please come tell me that I'm an idiot and give me the few lines of code I'm stupidly missing so I can fix it. I will love you for about ten minutes, promise.
2
#2
0 Frags +

In hudplayerhealth.res:

"PlayerStatusHealthImage"
{
	"ControlName"	"ImagePanel"
	"fieldName"		"PlayerStatusHealthImage"
	"xpos"			"75"
	"ypos"			"35"
	"zpos"			"4"
	"wide"			"51"
	"tall"			"51"
	"visible"		"0"
	"enabled"		"1"
	"scaleImage"	"1"	
}

You need to have visible set to 0 so that the health cross doesn't show.

In hudplayerhealth.res:
[code]"PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
"xpos" "75"
"ypos" "35"
"zpos" "4"
"wide" "51"
"tall" "51"
"visible" "0"
"enabled" "1"
"scaleImage" "1"
}[/code]
You need to have visible set to 0 so that the health cross doesn't show.
3
#3
2 Frags +

Copy this into HudPlayerHealth.res and delete the entry that is already there.

"PlayerStatusMarkedForDeathSilentImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathSilentImage"
"xpos" "78"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}

A few important things to note: the xpos of these images are linked to the xpos of the Health Image itself. Because of this, you cannot move this horizontally on its own. The ypos is freely editable, but to move it's xpos you HAVE to move the xpos of the Health Image.

Copy this into HudPlayerHealth.res and delete the entry that is already there.

"PlayerStatusMarkedForDeathSilentImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathSilentImage"
"xpos" "78"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}

A few important things to note: the xpos of these images are linked to the xpos of the Health Image itself. Because of this, you cannot move this horizontally on its own. The ypos is freely editable, but to move it's xpos you HAVE to move the xpos of the Health Image.
4
#4
0 Frags +

Thank you both

Thank you both
5
#5
0 Frags +

KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, (*PlayerStatusMarkedForDeathImage*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*HudPlayerHealth*), (*PlayerStatusMarkedForDeathImage*),

So, thought I fixed it yesterday, but started up tf2 today and after trying to figure it out, found this in my console upon loading the hud.

I do not understand... Someone wiser than I please aid me in my quest to make a usable center stack hud

KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, (*PlayerStatusMarkedForDeathImage*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*HudPlayerHealth*), (*PlayerStatusMarkedForDeathImage*),


So, thought I fixed it yesterday, but started up tf2 today and after trying to figure it out, found this in my console upon loading the hud.

I do not understand... Someone wiser than I please aid me in my quest to make a usable center stack hud
6
#6
0 Frags +
JGrassoundKeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, (*PlayerStatusMarkedForDeathImage*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*HudPlayerHealth*), (*PlayerStatusMarkedForDeathImage*),

So, thought I fixed it yesterday, but started up tf2 today and after trying to figure it out, found this in my console upon loading the hud.

I do not understand... Someone wiser than I please aid me in my quest to make a usable center stack hud

Upload your hudplayerhealth.res to paste bin

[quote=JGrassound]KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, HudPlayerHealth, (*PlayerStatusMarkedForDeathImage*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*HudPlayerHealth*), (*PlayerStatusMarkedForDeathImage*),


So, thought I fixed it yesterday, but started up tf2 today and after trying to figure it out, found this in my console upon loading the hud.

I do not understand... Someone wiser than I please aid me in my quest to make a usable center stack hud[/quote]
Upload your hudplayerhealth.res to paste bin
7
#7
0 Frags +

http://pastebin.com/jr63TUSm

Hope this works

http://pastebin.com/jr63TUSm

Hope this works
8
#8
0 Frags +

try this
http://pastebin.com/AZTp26cY

try this
http://pastebin.com/AZTp26cY
9
#9
0 Frags +

thanks, I'll give it a try

thanks, I'll give it a try
10
#10
0 Frags +

got this: this time

KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*PlayerStatusMarkedForDeathImage*),
-

Looks a little different, but something is still not quite right. Since of course it can't be that easy

got this: this time

KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, PlayerStatusMarkedForDeathImage,
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file resource/UI/HudPlayerHealth.res
resource/UI/HudPlayerHealth.res, (*PlayerStatusMarkedForDeathImage*),
-

Looks a little different, but something is still not quite right. Since of course it can't be that easy
11
#11
0 Frags +

Your brackets need to be tabbed over under the PlayerStatusMarkedForDeathImage entry. With the way the closing bracket is right now the game thinks that it is the end of the file (hence the EOF, or End of File error).

Your brackets need to be tabbed over under the PlayerStatusMarkedForDeathImage entry. With the way the closing bracket is right now the game thinks that it is the end of the file (hence the EOF, or End of File error).
12
#12
0 Frags +

gotcha. so just tab all of those lines, like the button TAB?

I feel 150% stupid for asking that question, and I'll probably try it before I get a response, but yeah

ok, did that, and still having issues.. hrm

gotcha. so just tab all of those lines, like the button TAB?

I feel 150% stupid for asking that question, and I'll probably try it before I get a response, but yeah

ok, did that, and still having issues.. hrm
13
#13
0 Frags +

still looking for help, still having the same errors I did in post 10

still looking for help, still having the same errors I did in post 10
14
#14
-1 Frags +

replace your PlayerStatusMarkedForDeathImage and PlayerStatusMarkedForDeathSilentImage with these
http://pastebin.com/aYYWWVyT
it works for me with bxhud

replace your PlayerStatusMarkedForDeathImage and PlayerStatusMarkedForDeathSilentImage with these
http://pastebin.com/aYYWWVyT
it works for me with bxhud
15
#15
0 Frags +
Ruelelreplace your PlayerStatusMarkedForDeathImage and PlayerStatusMarkedForDeathSilentImage with these
http://pastebin.com/aYYWWVyT
it works for me with bxhud

Thanks, had to tweak locations, but that's personal preference.

[quote=Ruelel]replace your PlayerStatusMarkedForDeathImage and PlayerStatusMarkedForDeathSilentImage with these
http://pastebin.com/aYYWWVyT
it works for me with bxhud[/quote]


Thanks, had to tweak locations, but that's personal preference.
Please sign in through STEAM to post a comment.