Skip to content

Commit 8a06089

Browse files
committed
HudMsg for CSS
Allows the use of HudMsg in CSS
1 parent 702c985 commit 8a06089

File tree

1 file changed

+74
-1
lines changed
  • addons/source-python/data/source-python/messages/games

1 file changed

+74
-1
lines changed

Diff for: addons/source-python/data/source-python/messages/games/cstrike.ini

+74-1
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,84 @@ type = "byte"
5151
MESSAGE_CLASS = "cstrike.vguimenu", "VGUIMenu"
5252

5353

54+
#=============================================================================
55+
[HudMsg]
56+
#=============================================================================
57+
REQUIRED_PARAMETERS = "channel", "x", "y", "red", "green", "blue", "alpha", "effect", "fadein", "fadeout", "hold", "time", "message"
58+
59+
[[channel]]
60+
default_value = "0"
61+
type = "byte"
62+
63+
[[x]]
64+
default_value = "0"
65+
type = "float"
66+
67+
[[y]]
68+
default_value = "0"
69+
type = "float"
70+
71+
[[red]]
72+
default_value = "0"
73+
type = "byte"
74+
75+
[[green]]
76+
default_value = "0"
77+
type = "byte"
78+
79+
[[blue]]
80+
default_value = "0"
81+
type = "byte"
82+
83+
[[alpha]]
84+
default_value = "0"
85+
type = "byte"
86+
87+
[[red2]]
88+
default_value = "255"
89+
type = "byte"
90+
91+
[[green2]]
92+
default_value = "255"
93+
type = "byte"
94+
95+
[[blue2]]
96+
default_value = "255"
97+
type = "byte"
98+
99+
[[alpha2]]
100+
default_value = "0"
101+
type = "byte"
102+
103+
[[effect]]
104+
default_value = "0"
105+
type = "byte"
106+
107+
[[fadein]]
108+
default_value = "0"
109+
type = "float"
110+
111+
[[fadeout]]
112+
default_value = "0"
113+
type = "float"
114+
115+
[[hold]]
116+
default_value = "0"
117+
type = "float"
118+
119+
[[time]]
120+
default_value = "0"
121+
type = "float"
122+
123+
[[message]]
124+
default_value = ""
125+
type = "string"
126+
54127
#=============================================================================
55128
[KeyHintText]
56129
#=============================================================================
57130
REQUIRED_PARAMETERS = "_blah", "message"
58131

59132
[[_blah]]
60133
default_value = "1"
61-
type = "byte"
134+
type = "byte"

0 commit comments

Comments
 (0)