View difference between Paste ID: 5c6mj4S4 and nZKJuQFD
SHOW: | | - or go back to the newest paste.
1
//// STEP 1: Place this in HudAnimations_tf.txt, replacing any other thing that says "event DamagedPlayer"
2
3
event DamagedPlayer
4
{
5
Animate HUDxhair FgColor "255 0 0 255" Linear 0.0 0.00001
6
Animate HUDxhair FgColor "0 255 0 255" Linear 0.15 0.15001
7
}
8
9
10
11
12
13
14
//// Step 2: Find Omp's crosshair in HUDLayout.res, because for some reason his broke ass nigga crosshair
15-
//// name doesn't seem to like the script.
15+
//// name doesn't seem to like the script. You only have to do this to "OmpCrosshair2" because that
16
//// is the plus crosshair in the middle.
17
18
	"OmpCrosshair2" // See this right here? Change it to "HUDxhair"
19
	{
20
		"controlName" "CExLabel"
21
		"fieldName" "OmpCrosshair2" // This one too, change it to "HUDxhair"
22
		"font" "CrosshairsSharp15"
23
		"fgcolor" "0 255 0 255"
24
		"labelText" "2"
25
		"xpos" "c-101"
26
		"ypos" "c-100"
27
		"wide" "200"
28
		"tall" "202"
29
		"visible" "1"
30
		"enabled" "1"
31
		"textAlignment" "center"
32
	}
33
34
//// So your end result should look like this:
35
36
	"HUDxhair"
37
	{
38
		"controlName" "CExLabel"
39
		"fieldName" "HUDxhair"
40
		"font" "CrosshairsSharp15"
41
		"fgcolor" "0 255 0 255"
42
		"labelText" "2"
43
		"xpos" "c-101"
44
		"ypos" "c-100"
45
		"wide" "200"
46
		"tall" "202"
47
		"visible" "1"
48
		"enabled" "1"
49
		"textAlignment" "center"
50
	}