Upvote Upvoted 3 Downvote Downvoted
Help with damage crosshair!
posted in Customization
1
#1
2 Frags +

I've been trying to add in some konrwings into the hud I'm using, and for the life of me I can't seem to get it working. I've gone into multiple HUDS, and have quadruple checked that I have all the syntax right, and I do. What I have in my hudanimations_tf.txt is this:

event DamagedPlayer
{
	Animate	KonrWings	FgColor "255 0 0 120"	Accel 0.0 0.0
	Animate KonrWings 	FgColor "255 255 255 120" Accel 0.2 0.0
}

And in my hudlayout.res, I have this:

KonrWings
	{
		"controlName"	"CExLabel"
		"fieldName"	 	"KonrWings"
		"visible"		"1"
		"enabled"		"1"
		"zpos"			"2"

		"xpos"			"c-103"
		"ypos"			"c-100"
		"wide"			"198"
		"tall"			"202"

		//"font"		"KonrWings16"

		"font"			"CrosshairWings"
		"labelText"		"i"
		"textAlignment"	"center"	

		"fgcolor"		"255 255 255 120"
	}

If you're curious, this is what the crosshair looks like.

http://i.imgur.com/uO9YBA1.jpg

What's puzzling to me is that the crosshair shows up the hud, but refuses to comply with any animations. Is there something I need to modify in the hud that will allow me to use this animation set? I'm really curious about this, so please help.

Thanks for your time!

I've been trying to add in some konrwings into the hud I'm using, and for the life of me I can't seem to get it working. I've gone into multiple HUDS, and have quadruple checked that I have all the syntax right, and I do. What I have in my hudanimations_tf.txt is this:

[code]
event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Accel 0.0 0.0
Animate KonrWings FgColor "255 255 255 120" Accel 0.2 0.0
}
[/code]

And in my hudlayout.res, I have this:
[code]
KonrWings
{
"controlName" "CExLabel"
"fieldName" "KonrWings"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-103"
"ypos" "c-100"
"wide" "198"
"tall" "202"

//"font" "KonrWings16"

"font" "CrosshairWings"
"labelText" "i"
"textAlignment" "center"

"fgcolor" "255 255 255 120"
}
[/code]

If you're curious, this is what the crosshair looks like. [URL=http://i.imgur.com/uO9YBA1.jpg][IMG]http://i.imgur.com/uO9YBA1.jpg[/IMG][/URL]

What's puzzling to me is that the crosshair shows up the hud, but refuses to comply with any animations. Is there something I need to modify in the hud that will allow me to use this animation set? I'm really curious about this, so please help.

Thanks for your time!
2
#2
0 Frags +

event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.00001
Animate KonrWings FgColor "255 255 255 120" Linear 0.10 0.10001
}

event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.00001
Animate KonrWings FgColor "255 255 255 120" Linear 0.10 0.10001
}
3
#3
0 Frags +
danboevent DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.00001
Animate KonrWings FgColor "255 255 255 120" Linear 0.10 0.10001
}

I just tried that, and it doesn't work.

[quote=danbo]event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.00001
Animate KonrWings FgColor "255 255 255 120" Linear 0.10 0.10001
}[/quote]

I just tried that, and it doesn't work.
4
#4
0 Frags +

Not sure if you still need to get it working but this should fix it.

event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.0
Animate KonrWings FgColor "255 255 255 120" Linear 0.15 0.0
}

Not sure if you still need to get it working but this should fix it.

event DamagedPlayer
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.0
Animate KonrWings FgColor "255 255 255 120" Linear 0.15 0.0
}
5
#5
0 Frags +
event DamagedPlayer
{
	RunEvent KonrWingsHit 0.0
}

event KonrWingsHit
{
	Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.0
	Animate KonrWings FgColor "255 255 255 120" Linear 0.2 0.0
}

Not sure if that will actually change anything, but you could try it...

[code]event DamagedPlayer
{
RunEvent KonrWingsHit 0.0
}

event KonrWingsHit
{
Animate KonrWings FgColor "255 0 0 120" Linear 0.0 0.0
Animate KonrWings FgColor "255 255 255 120" Linear 0.2 0.0
}[/code]
Not sure if that will actually change anything, but you could try it...
6
#6
-2 Frags +

hey. if you haven't got this working yet i think i know the solution.
my didn't work first but that was because it was "//" was there.
i'm using:
Animate OmpCrosshairCircle FgColor "0 255 26 255" Linear 0.0 0.00001
Animate OmpCrosshairCircle FgColor "0 0 0 255" Linear 0.20 0.20001

hey. if you haven't got this working yet i think i know the solution.
my didn't work first but that was because it was "//" was there.
i'm using:
Animate OmpCrosshairCircle FgColor "0 255 26 255" Linear 0.0 0.00001
Animate OmpCrosshairCircle FgColor "0 0 0 255" Linear 0.20 0.20001
Please sign in through STEAM to post a comment.