From 76b36e67191a109b20ce72ed9fc83efaa4151e20 Mon Sep 17 00:00:00 2001 From: Panzer Date: Mon, 29 Jul 2024 23:14:48 -0600 Subject: [PATCH] feat: Add func_reflect --- db/factories/momentum.txt | 1 + fgd/brush/func/func_reflect.fgd | 8 ++++++++ fgd/visgroups.cfg | 1 + 3 files changed, 10 insertions(+) create mode 100644 fgd/brush/func/func_reflect.fgd diff --git a/db/factories/momentum.txt b/db/factories/momentum.txt index 3e8f4585..2e4d4833 100644 --- a/db/factories/momentum.txt +++ b/db/factories/momentum.txt @@ -131,6 +131,7 @@ func_precipitation func_precipitation_blocker func_proprrespawnzone func_pushable +func_reflect func_reflective_glass func_rot_button func_rotating diff --git a/fgd/brush/func/func_reflect.fgd b/fgd/brush/func/func_reflect.fgd new file mode 100644 index 00000000..621dbb4e --- /dev/null +++ b/fgd/brush/func/func_reflect.fgd @@ -0,0 +1,8 @@ +@SolidClass base(func_brush) + appliesto(MOMENTUM) += func_reflect: "A brush entity that reflects the player's velocity on impact." + [ + linedivider_reflect(string) readonly : "----------------------------------------------------------------------------------------------------------" + + ReflectScale(float) : "Reflect Scale" : 1 : "How much to scale the reflected velocity." + ] diff --git a/fgd/visgroups.cfg b/fgd/visgroups.cfg index 573fd36f..3e970041 100644 --- a/fgd/visgroups.cfg +++ b/fgd/visgroups.cfg @@ -233,6 +233,7 @@ - Func Brush * `func_brush` * `func_bhop` + * `func_reflect` * `func_touch` * `func_wall` * `func_wall_toggle`