trigger_gravity
Last edited 2 years ago2022-09-07 01:37:23 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
This entity sets the effect of gravity to the player who trigger it, acts as a multiplier value of sv_gravity command. The entity is NOT toggleable even when using a master.
Attributes
- Target (target)
- Name (targetname) - Property used to identify entities.
- Master (master)
- Delay before trigger (delay)
- Kill target (killtarget)
- Target Path (netname)
- Sound style (sounds)
- Message (message)
- Gravity (gravity) - Value by which the default gravity of the server is multiplied (1 being normal gravity, less is low gravity, more is high gravity).
Flags
- Monsters (1)
- No Clients (2)
- Pushables (4)
Notes
- Level of gravity stays set after being put into effect - use two brushes, one with the new gravity, one with the old, to make sure the player returns to normal gravity in situations where that is necessary.
- Can use CLIPHULL textures, for example: with the CLIPHULL3 texture can only be trigger when the player crouches (
+duck
) (a pseudo-toggle ON).
Related vault examples
Gravity TestGravity Lift Example
4 Comments
You must log in to post a comment.
You can login or register a new account.
source:
Valve's hlsdk repository halflife/engine/progdefs.h line 110
Valve's hlsdk repository halflife/dlls/triggers.cpp line 2072
apparently the only useful attribute is Gravity