From d9df90b2bc00b51c57ebb4d08378393e8d4410f6 Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Fri, 6 Mar 2026 11:46:43 +1000 Subject: [PATCH 1/2] Add paint tints to info_overlay and prop_static --- fgd/point/info/info_overlay.fgd | 12 ++++++++++++ fgd/point/prop/prop_static.fgd | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/fgd/point/info/info_overlay.fgd b/fgd/point/info/info_overlay.fgd index b78cc5b3c..97888ac7f 100644 --- a/fgd/point/info/info_overlay.fgd +++ b/fgd/point/info/info_overlay.fgd @@ -24,6 +24,18 @@ ] 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." + painttint[engine](integer) : "Paint Tint": -1 + painttint[P2CE](choices) : "Paint Tinting" : -1 : "If enabled, override the $color tint by the color of the specified paint type." = + [ + -1: "Disabled" + 0: "Repulsion Gel" + 1: "Reflection Gel" + 2: "Propulsion Gel" + 3: "Conversion Gel" + 4: "Cleansing Gel" + 5: "Adhesion Gel" + ] + startu(float) : "U Start" : 0.0 : "A value between 0-1, defining the starting X axis position in the overlay material." endu(float) : "U End" : 1.0 : "A value between 0-1, defining the ending X axis position in the overlay material." startv(float) : "V Start" : 0.0 : "A value between 0-1, defining the starting Y axis position in the overlay material." diff --git a/fgd/point/prop/prop_static.fgd b/fgd/point/prop/prop_static.fgd index 63e7119e4..8245e1de1 100644 --- a/fgd/point/prop/prop_static.fgd +++ b/fgd/point/prop/prop_static.fgd @@ -33,6 +33,18 @@ renderamt(integer) : "Alpha" : 255 : "Alpha of the fade, where 0 = fully transparent and 255 = fully opaque." rendercolor(color255) : "Color (R G B)" : "255 255 255" + painttint[engine](integer) : "Paint Tint": -1 + painttint[P2CE](choices) : "Paint Tinting" : -1 : "If enabled, override the tint by the color of the specified paint type." = + [ + -1: "Disabled" + 0: "Repulsion Gel" + 1: "Reflection Gel" + 2: "Propulsion Gel" + 3: "Conversion Gel" + 4: "Cleansing Gel" + 5: "Adhesion Gel" + ] + uniformscale(float) : "Uniform Scale Override" : 1 : "Resize the static prop uniformly." scale(vector) : "Scale Override" : "1 1 1" : "Resize the static prop." From 7798ca377f971dc93f531e0887eb4b2210335315 Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Sun, 8 Mar 2026 16:46:24 +1000 Subject: [PATCH 2/2] Switch to a more generic system --- fgd/point/info/info_overlay.fgd | 18 +++++++++--------- fgd/point/prop/prop_static.fgd | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/fgd/point/info/info_overlay.fgd b/fgd/point/info/info_overlay.fgd index 97888ac7f..0d350e30a 100644 --- a/fgd/point/info/info_overlay.fgd +++ b/fgd/point/info/info_overlay.fgd @@ -24,16 +24,16 @@ ] 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." - painttint[engine](integer) : "Paint Tint": -1 - painttint[P2CE](choices) : "Paint Tinting" : -1 : "If enabled, override the $color tint by the color of the specified paint type." = + colorvar(integer) : "Color Var" : : "If set, override the $color tint by the specified color var." + colorvar[P2CE](choices) : "Paint Tinting" : : "If enabled, override the $color tint by the color of the specified paint type." = [ - -1: "Disabled" - 0: "Repulsion Gel" - 1: "Reflection Gel" - 2: "Propulsion Gel" - 3: "Conversion Gel" - 4: "Cleansing Gel" - 5: "Adhesion Gel" + "": "Disabled" + "paint_bounce": "Repulsion Gel" + "paint_reflect": "Reflection Gel" + "paint_speed": "Propulsion Gel" + "paint_portal": "Conversion Gel" + "paint_erase": "Cleansing Gel" + "paint_stick": "Adhesion Gel" ] startu(float) : "U Start" : 0.0 : "A value between 0-1, defining the starting X axis position in the overlay material." diff --git a/fgd/point/prop/prop_static.fgd b/fgd/point/prop/prop_static.fgd index 8245e1de1..84f91c60d 100644 --- a/fgd/point/prop/prop_static.fgd +++ b/fgd/point/prop/prop_static.fgd @@ -33,16 +33,16 @@ renderamt(integer) : "Alpha" : 255 : "Alpha of the fade, where 0 = fully transparent and 255 = fully opaque." rendercolor(color255) : "Color (R G B)" : "255 255 255" - painttint[engine](integer) : "Paint Tint": -1 - painttint[P2CE](choices) : "Paint Tinting" : -1 : "If enabled, override the tint by the color of the specified paint type." = + colorvar(integer) : "Color Var" : : "If set, override the tint by the specified color var." + colorvar[P2CE](choices) : "Paint Tinting" : : "If enabled, override the tint by the color of the specified paint type." = [ - -1: "Disabled" - 0: "Repulsion Gel" - 1: "Reflection Gel" - 2: "Propulsion Gel" - 3: "Conversion Gel" - 4: "Cleansing Gel" - 5: "Adhesion Gel" + "": "Disabled" + "paint_bounce": "Repulsion Gel" + "paint_reflect": "Reflection Gel" + "paint_speed": "Propulsion Gel" + "paint_portal": "Conversion Gel" + "paint_erase": "Cleansing Gel" + "paint_stick": "Adhesion Gel" ] uniformscale(float) : "Uniform Scale Override" : 1 : "Resize the static prop uniformly."