Skip to content

Commit

Permalink
feat: Add func_reflect
Browse files Browse the repository at this point in the history
  • Loading branch information
Panzerhandschuh committed Aug 5, 2024
1 parent e078026 commit 3e7c966
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/factories/momentum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func_precipitation
func_precipitation_blocker
func_proprrespawnzone
func_pushable
func_reflect
func_reflective_glass
func_rot_button
func_rotating
Expand Down
8 changes: 8 additions & 0 deletions fgd/brush/func/func_reflect.fgd
Original file line number Diff line number Diff line change
@@ -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."
]
1 change: 1 addition & 0 deletions fgd/visgroups.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
- Func Brush
* `func_brush`
* `func_bhop`
* `func_reflect`
* `func_wall`
* `func_wall_toggle`
* `func_momentum_brush`
Expand Down

0 comments on commit 3e7c966

Please sign in to comment.