func_train (Half-Life) Last edited 16 years ago2008-06-11 08:13:46 UTC

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

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. 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.
Brush Entity

This entity creates a moving object. Not just used for trains; in fact, the func_train is more commonly seen in elevators, platforms, laser targets etc.

Attributes

[list]
[li]0 = Normal [li]Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are: [li]Move Sound (movesnd) - These apply either to door or elevator type entities. For doors, the options are as follows: And for elevators: [li]Stop Sound (stopsnd) - This property is found in both door and elevator type entities. For doors, the options are: And these are elevator options: [li]Global Entity Name (globalname)[/li]
[li]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]ZHLT Lightflags (zhlt_lightflags)[/li]
[li]Light Origin Target (light_origin)[/li]
[li]First stop Target (target) - The name of the path_corner you want the entity to begin its journey at.[/li]
[li]Speed (speed) - The speed the entity will move at in units/second.[/li]
[li]Angular velocity (avelocity) - Sets up axial rotation. Format: Y Z X.[/li]
[li]Damage on crush (dmg) - If the player is caught between the entity and a solid brush, this is the amount of damage he will sustain.[/li]
[li]Contents (skin)[/li]
[li]Sound Volume (volume) - Range: 0.0 - 1.0[/li]
[li]Minimum Light Level (_minlight)[/li]
[/list]

Flags

Inputs

Outputs

Notes

2 Comments

Commented 4 years ago2020-04-06 01:23:31 UTC Comment #102640
"Contents" can be set to -3 to replicate water inside the brush
Commented 2 months ago2024-09-05 11:52:33 UTC Comment #106372
TO DO: Add a note about sprite trains ( https://twhl.info/vault/view/6461 )

You must log in to post a comment. You can login or register a new account.