trigger_camera (Half-Life)
Last edited 16 years ago2008-06-11 08:13:39 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 article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point EntityThis entity allows you to place moving cameras in your maps that take control away from the player for a time.
Attributes
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Delay before trigger (delay) - 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.
- KillTarget (killtarget) - When an entity is triggered, it will remove from the game the entity specified by this property.
- Name (targetname) - Property used to identify entities.
- Hold time (wait) - Time to keep the camera going.
- Path Corner (moveto) - The first path_corner to aim for.
- Initial Speed (speed) - The speed to start at.
- Acceleration units/sec^2 (acceleration)
- Stop Deceleration units/sec^2 (deceleration)
Flags
- Start At Player (1) - Begin with the player's view.
- Follow Player (2) - Use the player as the focal point.
- Freeze Player (4) - Stop the player from moving while camera is in action.
Inputs
Outputs
Notes
- The camera can be set up to work in any of several ways - fixed position, with a fixed or moving target (e.g. a security camera), or moving, with a fixed or moving target. Camera sequences can get very complicated.
- The player must be near the area that the camera is to move in. If not, the game engine will not draw the area. You may need to teleport the player into and out of each area.
2 Comments
You must log in to post a comment.
You can login or register a new account.
键:effects
值:1
这可以让摄像机周围布满粒子,方便在使用后查看摄像机的当前位置。
You can add a set of key values when debugging a motion camera:
Key: effects
Value: 1
This allows particles to surround the camera, making it easy to see the current position of the camera after use.
https://twhl.info/wiki/page/Entity_Attribute%3A_Entity_Effects
https://twhl.info/wiki/page/Tutorial%3A_Non-coding_workarounds_for_your_mod