From 438aff66792ebaa32d76b59f65930c43940f7448 Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 01:16:11 -0600 Subject: [PATCH 1/8] Fix prop_portal using both bbox and model --- fgd/point/prop/prop_portal.fgd | 1 - 1 file changed, 1 deletion(-) diff --git a/fgd/point/prop/prop_portal.fgd b/fgd/point/prop/prop_portal.fgd index e2445322f..104488e0b 100644 --- a/fgd/point/prop/prop_portal.fgd +++ b/fgd/point/prop/prop_portal.fgd @@ -1,7 +1,6 @@ @PointClass base(BaseEntityPoint, PortalBase) appliesto(P2CE) studioprop("models/editor/prop_portal.mdl") - size(-32 -16 -64, 32 16 64) = prop_portal: "A portal." [ activated[engine](boolean) : "Start Activated" : 0 From 5997e6ff70223bcb5461ad9367eb8271a7d21b80 Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 02:23:51 -0600 Subject: [PATCH 2/8] Glow kvs and i/o --- fgd/bases/BaseEntityAnimating.fgd | 11 +++++++++++ fgd/bases/BaseEntityPhysics.fgd | 11 +++++++++++ fgd/point/prop/prop_door_rotating.fgd | 6 ------ fgd/point/prop/prop_dynamic_glow.fgd | 10 ---------- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/fgd/bases/BaseEntityAnimating.fgd b/fgd/bases/BaseEntityAnimating.fgd index 157d77dc3..f82cbc2fe 100644 --- a/fgd/bases/BaseEntityAnimating.fgd +++ b/fgd/bases/BaseEntityAnimating.fgd @@ -59,6 +59,10 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." + glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." + glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." + glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." + disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." shadowdepthnocache(choices) : "Projected Texture Cache" : "0" : "Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead." = @@ -86,6 +90,13 @@ input fademindist(float) : "Sets distance at which the entity starts fading. If <0, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a 3D Skybox." input fademaxdist(float) : "Sets distance at which the entity ends fading. If <0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox." + input SetGlowEnabled(void) : "Enable a glow outline around this model." + input SetGlowColor(color255) : "Sets the RGB color of the glow outline, if enabled." + input SetGlowDisabled(void) : "Disable the glow outline." + input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." + input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." + input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." + input DisableReceivingFlashlight(void) : "This object will not recieve light or shadows from clustered lights." input EnableReceivingFlashlight(void) : "This object will recieve light or shadows from clustered lights." diff --git a/fgd/bases/BaseEntityPhysics.fgd b/fgd/bases/BaseEntityPhysics.fgd index 90e3bcf49..2b3e6de76 100644 --- a/fgd/bases/BaseEntityPhysics.fgd +++ b/fgd/bases/BaseEntityPhysics.fgd @@ -30,6 +30,10 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." + glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." + glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." + glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." + disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." modelscale(float) : "Model Scale" : : "A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however. Negative values can crash the game!" @@ -52,6 +56,13 @@ input fademindist(float) : "Sets distance at which the entity starts fading. If <0, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a 3D Skybox." input fademaxdist(float) : "Sets distance at which the entity ends fading. If <0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox." + input SetGlowEnabled(void) : "Enable a glow outline around this model." + input SetGlowColor(color255) : "Sets the RGB color of the glow outline, if enabled." + input SetGlowDisabled(void) : "Disable the glow outline." + input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." + input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." + input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." + input DisableReceivingFlashlight(void) : "This object will not recieve light or shadows from clustered lights." input EnableReceivingFlashlight(void) : "This object will recieve light or shadows from clustered lights." diff --git a/fgd/point/prop/prop_door_rotating.fgd b/fgd/point/prop/prop_door_rotating.fgd index 63c91d460..f6583ea83 100644 --- a/fgd/point/prop/prop_door_rotating.fgd +++ b/fgd/point/prop/prop_door_rotating.fgd @@ -68,10 +68,6 @@ 2: "Open Counter-Clockwise Only" ] - glowdist(integer) : "Glow Distance" : 1024 - glowenabled(boolean) : "Does the prop glow by default?" : 0 - glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow (if enabled)." - // Inputs input Open(void) : "Open the door, if it is not fully open." input OpenAwayFrom(string) : "Open the door away from the specified entity." @@ -83,8 +79,6 @@ input SetSpeed(float) : "Set the speed at which the door rotates. 100 is default." input MoveToRotationDistance(float) : "Sets the open distance (in degrees) and moves there." - input SetGlowEnabled(void) : "Starts the glow." - input SetGlowDisabled(void) : "Stops the glow." input SetUnbreakable(void) : "The door can't be broken." input SetBreakable(void) : "The door can be broken." diff --git a/fgd/point/prop/prop_dynamic_glow.fgd b/fgd/point/prop/prop_dynamic_glow.fgd index 9f6009940..afcd6149b 100644 --- a/fgd/point/prop/prop_dynamic_glow.fgd +++ b/fgd/point/prop/prop_dynamic_glow.fgd @@ -1,9 +1,7 @@ @PointClass base(prop_dynamic) = prop_dynamic_glow: "A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage.\nWorks exactly like a prop_dynamic, but it can optionally have a custom glow around it." [ - glowdist(integer) : "Glow Distance" : 1024 glowenabled(boolean) : "Does the prop glow by default?" : 1 - glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow (if enabled)." glowstyle[engine](integer) : "Glow Style" : 0 glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = @@ -14,12 +12,4 @@ 3: "Outline Pulse (doesn't glow through walls)" ] - - // Inputs - input SetGlowEnabled(void) : "Starts the glow." - input SetGlowDisabled(void) : "Stops the glow." - input SetGlowColor(color255) : "Change the glow's color. Format: " - input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." - input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." - input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." ] From 474805e847edb8a233702bf5d679763c51c0b5cc Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 18:36:54 -0600 Subject: [PATCH 3/8] glowstyle kv --- fgd/bases/BaseEntityAnimating.fgd | 7 +++++++ fgd/bases/BaseEntityPhysics.fgd | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/fgd/bases/BaseEntityAnimating.fgd b/fgd/bases/BaseEntityAnimating.fgd index f82cbc2fe..034610005 100644 --- a/fgd/bases/BaseEntityAnimating.fgd +++ b/fgd/bases/BaseEntityAnimating.fgd @@ -62,6 +62,13 @@ glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." + glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = + [ + 0: "Default (through walls)" + 1: "Shimmer (doesn't glow through walls)" + 2: "Outline (doesn't glow through walls)" + 3: "Outline Pulse (doesn't glow through walls)" + ] disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." diff --git a/fgd/bases/BaseEntityPhysics.fgd b/fgd/bases/BaseEntityPhysics.fgd index 2b3e6de76..f9a264278 100644 --- a/fgd/bases/BaseEntityPhysics.fgd +++ b/fgd/bases/BaseEntityPhysics.fgd @@ -33,6 +33,13 @@ glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." + glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = + [ + 0: "Default (through walls)" + 1: "Shimmer (doesn't glow through walls)" + 2: "Outline (doesn't glow through walls)" + 3: "Outline Pulse (doesn't glow through walls)" + ] disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." From 48bd292b552bd6f7e3c70bc429508efab5e555aa Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 18:39:49 -0600 Subject: [PATCH 4/8] remove glowstyle from prop_dynamic_glow this entity inherits all the keyvalues from prop_dynamic, so the only different keyvalue it should have is enabling glow by default --- fgd/point/prop/prop_dynamic_glow.fgd | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fgd/point/prop/prop_dynamic_glow.fgd b/fgd/point/prop/prop_dynamic_glow.fgd index afcd6149b..b53828d46 100644 --- a/fgd/point/prop/prop_dynamic_glow.fgd +++ b/fgd/point/prop/prop_dynamic_glow.fgd @@ -2,14 +2,4 @@ = prop_dynamic_glow: "A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage.\nWorks exactly like a prop_dynamic, but it can optionally have a custom glow around it." [ glowenabled(boolean) : "Does the prop glow by default?" : 1 - - glowstyle[engine](integer) : "Glow Style" : 0 - glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = - [ - 0: "Default (through walls)" - 1: "Shimmer (doesn't glow through walls)" - 2: "Outline (doesn't glow through walls)" - 3: "Outline Pulse (doesn't glow through walls)" - ] - ] From 326d143b57a3be5b84af63361b98329e2ff39944 Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 18:41:32 -0600 Subject: [PATCH 5/8] correction in glow kv description the existance of the glowstyle kv means that it's not always visible through walls --- fgd/bases/BaseEntityAnimating.fgd | 2 +- fgd/bases/BaseEntityPhysics.fgd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fgd/bases/BaseEntityAnimating.fgd b/fgd/bases/BaseEntityAnimating.fgd index 034610005..838f080b9 100644 --- a/fgd/bases/BaseEntityAnimating.fgd +++ b/fgd/bases/BaseEntityAnimating.fgd @@ -59,7 +59,7 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." - glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." + glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect allows the player to see important props more easily." glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = diff --git a/fgd/bases/BaseEntityPhysics.fgd b/fgd/bases/BaseEntityPhysics.fgd index f9a264278..024f687a8 100644 --- a/fgd/bases/BaseEntityPhysics.fgd +++ b/fgd/bases/BaseEntityPhysics.fgd @@ -30,7 +30,7 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." - glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect is visible through walls and allows the player to see important props more easily." + glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect allows the player to see important props more easily." glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = From cbae03b4d65edc0420a01729db799bb91b71f66c Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 18:46:03 -0600 Subject: [PATCH 6/8] More accurate descriptors for glowstyle --- fgd/bases/BaseEntityAnimating.fgd | 8 ++++---- fgd/bases/BaseEntityPhysics.fgd | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fgd/bases/BaseEntityAnimating.fgd b/fgd/bases/BaseEntityAnimating.fgd index 838f080b9..c41c3700d 100644 --- a/fgd/bases/BaseEntityAnimating.fgd +++ b/fgd/bases/BaseEntityAnimating.fgd @@ -64,10 +64,10 @@ glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = [ - 0: "Default (through walls)" - 1: "Shimmer (doesn't glow through walls)" - 2: "Outline (doesn't glow through walls)" - 3: "Outline Pulse (doesn't glow through walls)" + 0: "Outline (glows through walls)" + 1: "Full Glow (doesn't glow through walls)" + 2: "Wireframe (doesn't glow through walls)" + 3: "Wireframe Pulse (doesn't glow through walls)" ] disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." diff --git a/fgd/bases/BaseEntityPhysics.fgd b/fgd/bases/BaseEntityPhysics.fgd index 024f687a8..ea957f924 100644 --- a/fgd/bases/BaseEntityPhysics.fgd +++ b/fgd/bases/BaseEntityPhysics.fgd @@ -35,10 +35,10 @@ glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = [ - 0: "Default (through walls)" - 1: "Shimmer (doesn't glow through walls)" - 2: "Outline (doesn't glow through walls)" - 3: "Outline Pulse (doesn't glow through walls)" + 0: "Outline (glows through walls)" + 1: "Full Glow (doesn't glow through walls)" + 2: "Wireframe (doesn't glow through walls)" + 3: "Wireframe Pulse (doesn't glow through walls)" ] disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." From 6fe171330eb0f29709b2d6dfb7cba5133a851fd0 Mon Sep 17 00:00:00 2001 From: lenship2 Date: Tue, 4 Aug 2026 20:16:03 -0600 Subject: [PATCH 7/8] Added Glow BaseClass --- fgd/bases/BaseEntityAnimating.fgd | 20 +------------------- fgd/bases/BaseEntityPhysics.fgd | 20 +------------------- fgd/bases/Glow.fgd | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 38 deletions(-) create mode 100644 fgd/bases/Glow.fgd diff --git a/fgd/bases/BaseEntityAnimating.fgd b/fgd/bases/BaseEntityAnimating.fgd index c41c3700d..43816bf9d 100644 --- a/fgd/bases/BaseEntityAnimating.fgd +++ b/fgd/bases/BaseEntityAnimating.fgd @@ -1,5 +1,5 @@ // All model entities have this. -@BaseClass base(BaseEntityPoint, RenderFields, Reflection, ToggleDraw, DamageFilter) +@BaseClass base(BaseEntityPoint, RenderFields, Glow, Reflection, ToggleDraw, DamageFilter) sphere(fademindist) sphere(fademaxdist) = BaseEntityAnimating [ @@ -59,17 +59,6 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." - glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect allows the player to see important props more easily." - glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." - glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." - glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = - [ - 0: "Outline (glows through walls)" - 1: "Full Glow (doesn't glow through walls)" - 2: "Wireframe (doesn't glow through walls)" - 3: "Wireframe Pulse (doesn't glow through walls)" - ] - disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." shadowdepthnocache(choices) : "Projected Texture Cache" : "0" : "Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead." = @@ -97,13 +86,6 @@ input fademindist(float) : "Sets distance at which the entity starts fading. If <0, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a 3D Skybox." input fademaxdist(float) : "Sets distance at which the entity ends fading. If <0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox." - input SetGlowEnabled(void) : "Enable a glow outline around this model." - input SetGlowColor(color255) : "Sets the RGB color of the glow outline, if enabled." - input SetGlowDisabled(void) : "Disable the glow outline." - input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." - input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." - input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." - input DisableReceivingFlashlight(void) : "This object will not recieve light or shadows from clustered lights." input EnableReceivingFlashlight(void) : "This object will recieve light or shadows from clustered lights." diff --git a/fgd/bases/BaseEntityPhysics.fgd b/fgd/bases/BaseEntityPhysics.fgd index ea957f924..0835ae695 100644 --- a/fgd/bases/BaseEntityPhysics.fgd +++ b/fgd/bases/BaseEntityPhysics.fgd @@ -1,6 +1,6 @@ // Stripped down version of BaseAnimating for physically-simulated objects, which do not have some keyvalues -@BaseClass base(BaseEntityPoint, RenderFields, Reflection, DamageFilter) +@BaseClass base(BaseEntityPoint, RenderFields, Glow, Reflection, DamageFilter) sphere(fademindist) sphere(fademaxdist) = BaseEntityPhysics [ @@ -30,17 +30,6 @@ "Numbers smaller than 1 cause the prop to fade out at further distances, " + "and greater than 1 cause it to fade out at closer distances." - glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow outline around this prop. This effect allows the player to see important props more easily." - glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow outline (if enabled)." - glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow outline fades out." - glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = - [ - 0: "Outline (glows through walls)" - 1: "Full Glow (doesn't glow through walls)" - 2: "Wireframe (doesn't glow through walls)" - 3: "Wireframe Pulse (doesn't glow through walls)" - ] - disablereceiveshadows(boolean) : "Disable Receiving Shadows?" : 0 : "Prevents dynamic shadows (e.g. player and prop shadows) from appearing on this entity." disableshadowdepth(boolean) : "Disable ShadowDepth" : 0 : "Used to disable rendering into shadow depth (for clustered lights) for this entity." modelscale(float) : "Model Scale" : : "A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however. Negative values can crash the game!" @@ -63,13 +52,6 @@ input fademindist(float) : "Sets distance at which the entity starts fading. If <0, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a 3D Skybox." input fademaxdist(float) : "Sets distance at which the entity ends fading. If <0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox." - input SetGlowEnabled(void) : "Enable a glow outline around this model." - input SetGlowColor(color255) : "Sets the RGB color of the glow outline, if enabled." - input SetGlowDisabled(void) : "Disable the glow outline." - input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." - input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." - input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." - input DisableReceivingFlashlight(void) : "This object will not recieve light or shadows from clustered lights." input EnableReceivingFlashlight(void) : "This object will recieve light or shadows from clustered lights." diff --git a/fgd/bases/Glow.fgd b/fgd/bases/Glow.fgd new file mode 100644 index 000000000..cd5466f02 --- /dev/null +++ b/fgd/bases/Glow.fgd @@ -0,0 +1,21 @@ +@BaseClass = Glow + [ + glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow effect around this prop. This effect allows the player to see important props more easily." + glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow (if enabled)." + glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow fades out." + glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = + [ + 0: "Outline (glows through walls)" + 1: "Full Glow (doesn't glow through walls)" + 2: "Wireframe (doesn't glow through walls)" + 3: "Wireframe Pulse (doesn't glow through walls)" + ] + + // Inputs + input SetGlowEnabled(void) : "Enable a glow effect around this model." + input SetGlowDisabled(void) : "Disable the glow effect." + input SetGlowColor(color255) : "Sets the RGB color of the glow outline, if enabled." + input GlowColorRedValue(float) : "Sets the glow red color channel's value (0 - 255)." + input GlowColorGreenValue(float) : "Sets the glow green color channel's value (0 - 255)." + input GlowColorBlueValue(float) : "Sets the glow blue color channel's value (0 - 255)." + ] From cdeda157d5732e9895b1b07ccf19da9471b1faff Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Wed, 5 Aug 2026 12:22:20 +1000 Subject: [PATCH 8/8] Add engine glowstyle definition --- fgd/bases/Glow.fgd | 1 + 1 file changed, 1 insertion(+) diff --git a/fgd/bases/Glow.fgd b/fgd/bases/Glow.fgd index cd5466f02..e85b15ad0 100644 --- a/fgd/bases/Glow.fgd +++ b/fgd/bases/Glow.fgd @@ -3,6 +3,7 @@ glowenabled(boolean) : "Enable Glow" : 0 : "Enable a glow effect around this prop. This effect allows the player to see important props more easily." glowcolor(color255) : "Glow Color (R G B)" : "255 255 255" : "The color of the glow (if enabled)." glowdist(integer) : "Glow Distance" : 1024 : "The max distance before the glow fades out." + glowstyle[engine](integer) : "Glow Style" : 0 glowstyle(choices) : "Glow Style" : 0 : "What style of glow should be used." = [ 0: "Outline (glows through walls)"