Skip to content

Commit 3818f16

Browse files
committed
feat[p2ce]: Add a number of keyvalues for customising fizzlers
1 parent d9d6626 commit 3818f16

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

fgd/brush/trigger/trigger_portal_cleanser.fgd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@SolidClass base(Trigger, RenderFields, Reflection)
22
appliesto(P2CE)
3-
= trigger_portal_cleanser: "A trigger volume that disolves any entities that touch it and fizzles active portals when the player touches it.|||An Aperture Science Material Emancipation Grid."
3+
= trigger_portal_cleanser: "A trigger volume that disolves any entities that touch it and fizzles active portals when the player touches it."
44
[
55
spawnflags(flags) : "spawnflags" =
66
[
@@ -17,13 +17,19 @@
1717

1818
visible(boolean) : "Visible" : 1 : "If the fizzler is visible. This controls whether sounds will play."
1919
usescanline(boolean) : "Use Scanline" : 1 : "If the field uses a scanline particle effect."
20+
scanlinecolor(color255) : "Scanline Color" : "106 178 198 15" : "The color to use for the scanline particle effect."
21+
blockportalshots(boolean) : "Block Portal Shots" : 1 : "Whether the fizzler will block portal shots."
22+
obstructportals(boolean) : "Obstruct Portals" : 1 : "Whether the fizzler will act like a portal bumper, and fizzle portals when enabled."
23+
loopsound(sound) : "Looping Sound" : "VFX.FizzlerLp" : "Sound played continuously while the fizzler is active."
24+
startsound(sound) : "Start Sound" : "VFX.FizzlerStart" : "Sound played when the fizzler turns on."
25+
stopsound(sound) : "Stop Sound" : "VFX.FizzlerStop" : "Sound played when the fizzler turns off."
2026

2127
// Inputs
2228
input FizzleTouchingPortals(void) : "Cause any portals in our volume to immediately fizzle."
2329

2430
// Outputs
2531
output OnDissolve(void) : "Fired whenever an entity is dissolved."
26-
output OnFizzle(void) : "Fired whenever an portals are fizzled."
32+
output OnFizzle(void) : "Fired whenever any portals are fizzled."
2733
output OnDissolveBox(void) : "This cleanser dissolved an entity with a targetname of 'Box.'"
2834
output OnPrimaryHit(void) : "Fired whenever the primary portal hits the cleanser."
2935
output OnSecondaryHit(void) : "Fired whenever the secondary portal hits the cleanser."

0 commit comments

Comments
 (0)