Func rot button (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{tabs|func_rot_button|goldsrc=1|source=1|main=source}} {{This is a|name=func_rot_button|e2|engine=1}} This entity creates a button that rotates. == Key Values == {{Hl1 kv ta...") |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
| Line 1: | Line 1: | ||
{{tabs|func_rot_button|goldsrc=1|source=1|main=source}} | {{tabs|func_rot_button|goldsrc=1|source=1|main=source}} | ||
{{ | {{this is a|brush entity|name=func_rot_button|engine=GoldSrc}} This entity creates a button that rotates. | ||
== Key Values == | == Key Values == | ||
Latest revision as of 20:07, 17 May 2024
func_rot_button is a brush entity available in all
GoldSrc games. This entity creates a button that rotates.
Key Values
- Name (targetname) <string>
- The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
- Global Entity Name (globalname) <string>
- Name to identify entity accross level transitions. Entities with the same global name will have the same status accross maps.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Targetted object (target) <targetname>
- The event that the button will activate.
- ChangeTarget Name (speed) <integer>
- Master (master) <targetname>
- Name of a master entity. If the master hasn't been activated, this entity will not activate.
- Speed (changetarget) <targetname>
- Health (shootable if > 0) (health) <integer>
- Sounds (sounds) <choices>
| # | Description |
|---|---|
| 21 | Squeaky |
| 22 | Squeaky Pneumatic |
| 23 | Ratchet Groan |
| 24 | Clean Ratchet |
| 25 | Gas Clunk |
- Delay before reset (wait) <choices>
- -1: Stays pressed
- Delay before trigger (delay) <string>
- Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.
- Distance (deg) (distance) <integer>
- Minimum light level (_minlight) <string>
- Render Mode (rendermode) <choices>
- Render Mode to use.
Render modes - Normal
- Color
- Texture
- Glow
- Solid
- Additive
- Render Amount (0-255) (renderamt) <integer>
- Controls transparency when using another render mode then normal. 0 is completely invisible, and 255 is opaque. If render mode is solid, then all values except 0 are opaque.
- Render Color (R G B) (rendercolor) <color255>
- Color to use by the specified render mode.
Also used on brush entities to control the speed of scrolling textures; see func_conveyor for more information.
- Render FX (renderfx) <choices>
- Render FX mode to use, for special effects.
Render effects - Normal
- Slow Pulse
- Fast Pulse
- Slow Wide Pulse
- Fast Wide Pulse
- Slow Fade Away
- Fast Fade Away
- Slow Become Solid
- Fast Become Solid
- Slow Strobe
- Fast Strobe
- Faster Strobe
- Slow Flicker
- Fast Flicker
- Constant Glow
- Distort
- Hologram (Distort + fade)
- Minimum light level (_minlight) <float>
- Range 0-2. 1 is full brightness, 2 is maximum overbright brightness.
|
|
Flags
- Not Solid : [1]
- Reverse Dir : [2]
- Toggle : [32]
- X Axis : [64]
- Y Axis : [128]
- Touch Activates : [256]