Entities Misc: Difference between revisions
Created page with "== misc_alarm == '''Map Entity Color:''' (1 .5 0) (<span style="color:#FF8000;">COLOR PREVIEW</span>) '''Dimensions:''' (-8 -8 -8) (8 8 8) Rings when triggered, when turned on, triggers the 'alarm' eventscript. '''Keys''' {| class="wikitable" |- ! Key !! Description |- | targetname || This entity's ID |- | count || Duration of alarm ringing (default=60) |} == misc_cutscene_camera == '''Map Entity Color:''' (0 0 1) (<span style="color:#0000FF;">COLOR PREVIEW</span>..." |
(No difference)
|
Latest revision as of 01:52, 3 March 2025
misc_alarm
Map Entity Color: (1 .5 0) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)
Rings when triggered, when turned on, triggers the 'alarm' eventscript.
Keys
| Key | Description |
|---|---|
| targetname | This entity's ID |
| count | Duration of alarm ringing (default=60) |
misc_cutscene_camera
Map Entity Color: (0 0 1) (COLOR PREVIEW) Dimensions: (-16 -16 -16) (16 16 16)
Camera, must be triggered by a misc_cutscene_trigger or misc_use_cutscene. Relays from misc_cutscene_camera to misc_cutscene_camera using 'target', cutscene will end when there's no more camera.
Keys
| Key | Description |
|---|---|
| targetname | This camera's ID |
| target | Next camera's ID to target |
| cameraorigin | X Y Z camera start position (overrides entity's origin) |
| cameraangle | X Y Z start angles |
| rotate | X Y Z rotational velocity during cut scene |
| target2 | Always look at that entity (overrides angles when moving) |
| cameravel | [forward] [right] [up] speed to move from initial angle |
| cameravelrel | [forward] [right] [up] speed to move relative to current frame angle |
| wait | Time before switching to next camera in seconds (default=5) |
| accel | Acceleration rate when starting to move |
| decel | Deceleration rate when approaching the end of use |
| delay | Delay before starting to move ('decel' and 'accel' must be set) |
| reactdelay | Moving time ('accel' must be set, if there's no 'decel', will never stop moving) |
| duration | Fade out time |
| name | Sound to play once triggered |
| sight_target | Talking actor (if there's a sound to play) |
| deadticks | FOV for this camera (default=90) |
| scriptname | Script name to trigger when starting the camera |
| count | Used in Xatrix maps but always reset to 1 by the game code (so what's the use?) |
misc_cutscene_trigger
Map Entity Color: (0 0 1) (COLOR PREVIEW) Dimensions: Size of map components used
This entity tells the code to unlink the camera from the client, so we can move it around. Once triggered, this entity should trigger a misc_cutscene_camera.
Keys
| Key | Description |
|---|---|
| target | misc_cutscene_camera to trigger |
| debugprint | When set to 1, will print out camera end position and angles |
| duration | Fade in time in seconds |
misc_teleporter
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-32 -32 -24) (32 32 -16)
Stepping onto this disc will teleport players to the targeted misc_teleporter_dest object.
Keys
| Key | Description |
|---|---|
| target | Target entity's ID |
misc_teleporter_dest
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-32 -32 -24) (32 32 -16)
Teleporter destination point.
Keys
| Key | Description |
|---|---|
| targetname | This entity's ID |
| angle | Facing angle when exiting teleporter |
misc_use_cutscene
Map Entity Color: (.5 .5 .5) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)
This entity tells the code to unlink the camera from the client, so we can move it around. Once triggered, this entity should trigger a misc_cutscene_camera.
Keys
| Key | Description |
|---|---|
| target | misc_cutscene_camera to trigger |
| debugprint | When set to 1, will print out camera end position and angles |
| duration | Fade in time in seconds |