Skip to content

Commit 3e7c966

Browse files
feat: Add func_reflect
1 parent e078026 commit 3e7c966

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

db/factories/momentum.txt

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ func_precipitation
131131
func_precipitation_blocker
132132
func_proprrespawnzone
133133
func_pushable
134+
func_reflect
134135
func_reflective_glass
135136
func_rot_button
136137
func_rotating

fgd/brush/func/func_reflect.fgd

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@SolidClass base(func_brush)
2+
appliesto(MOMENTUM)
3+
= func_reflect: "A brush entity that reflects the player's velocity on impact."
4+
[
5+
linedivider_reflect(string) readonly : "----------------------------------------------------------------------------------------------------------"
6+
7+
ReflectScale(float) : "Reflect Scale" : 1 : "How much to scale the reflected velocity."
8+
]

fgd/visgroups.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
- Func Brush
234234
* `func_brush`
235235
* `func_bhop`
236+
* `func_reflect`
236237
* `func_wall`
237238
* `func_wall_toggle`
238239
* `func_momentum_brush`

0 commit comments

Comments
 (0)