Skip to content

Commit d9d6626

Browse files
authored
Add paint tints to info_overlay and prop_static (#306)
1 parent a7bd8a6 commit d9d6626

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

fgd/point/info/info_overlay.fgd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
]
2525
tint(color255) : "Tint Color" : "255 255 255 255" : "Applies a color tint using multiply mix mode. Color will be put as $color shader parameter. Alpha will be put as $alpha shader parameter, so make sure the overlay's material allows the use of those parameters."
2626

27+
colorvar(string) : "Color Var" : : "If set, override the $color tint by the specified color var."
28+
colorvar[P2CE](choices) : "Paint Tinting" : : "If enabled, override the $color tint by the color of the specified paint type." =
29+
[
30+
"": "Disabled"
31+
"paint_bounce": "Repulsion Gel"
32+
"paint_reflect": "Reflection Gel"
33+
"paint_speed": "Propulsion Gel"
34+
"paint_portal": "Conversion Gel"
35+
"paint_erase": "Cleansing Gel"
36+
"paint_stick": "Adhesion Gel"
37+
]
38+
2739
startu(float) : "U Start" : 0.0 : "A value between 0-1, defining the starting X axis position in the overlay material."
2840
endu(float) : "U End" : 1.0 : "A value between 0-1, defining the ending X axis position in the overlay material."
2941
startv(float) : "V Start" : 0.0 : "A value between 0-1, defining the starting Y axis position in the overlay material."

fgd/point/prop/prop_static.fgd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@
3333
renderamt(integer) : "Alpha" : 255 : "Alpha of the fade, where 0 = fully transparent and 255 = fully opaque."
3434
rendercolor(color255) : "Color (R G B)" : "255 255 255"
3535

36+
colorvar(string) : "Color Var" : : "If set, override the tint by the specified color var."
37+
colorvar[P2CE](choices) : "Paint Tinting" : : "If enabled, override the tint by the color of the specified paint type." =
38+
[
39+
"": "Disabled"
40+
"paint_bounce": "Repulsion Gel"
41+
"paint_reflect": "Reflection Gel"
42+
"paint_speed": "Propulsion Gel"
43+
"paint_portal": "Conversion Gel"
44+
"paint_erase": "Cleansing Gel"
45+
"paint_stick": "Adhesion Gel"
46+
]
47+
3648
uniformscale(float) : "Uniform Scale Override" : 1 : "Resizes the static prop uniformly."
3749
scale(vector) : "Scale Override" : "1 1 1" : "Resizes the static prop."
3850

0 commit comments

Comments
 (0)