trigger_gravity
Last edited 2 years ago2022-09-06 18:07:12 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 when the player touches it, acts as a multiplier factor 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) - Factor by which the server's default gravity 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 CLIPHULL3 trigger entity only when the player crouches.(Acts as pseudo-toggleable)
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