env_sprite (Half-Life) Last edited 16 years ago2008-06-11 08:13:34 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.
Point Entity

Places a sprite (small 2D image) in your map.

Attributes

[list]
[li]0 = Normal [li]Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are: [li]Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.[/li]
[li]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]Framerate (framerate) - For animated sprites, controls the framerate.[/li]
[li]Sprite Name (model) - The path and name of the sprite as found in the PAK (default is 'sprites/glow01.spr').[/li]
[li]Scale (scale) - Sets the scale. Default is 1:1.[/li]
[/list]

Flags

Inputs

Outputs

Notes

1 Comment

Commented 1 year ago2022-12-20 09:33:56 UTC Comment #104936
To do: describe the weird Pitch Yaw Roll behaviour better. Relevant code: https://github.com/ValveSoftware/halflife/blob/c7240b965743a53a29491dd49320c88eecf6257b/dlls/effects.cpp#L1198

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