Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add func_reflect #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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_touch`
* `func_wall`
* `func_wall_toggle`
Expand Down
Loading