env_sprite Last edited 10 months ago2023-12-18 03:29:54 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.

env_sprite - Point Entity

The env_sprite entity places a sprite within the map. It can also be used to place models, although it can only use the first submodel and skin.

Attributes

Flags

Notes

Render modes and sprite texture formats

Besides Render Mode, the appearance of a sprite also depends on the texture format of the sprite file itself. There are 4 different formats: The following screenshots show a normal, an additive, an index-alpha and an alpha-test sprite, using different render modes and FX settings:

FX Amount: 255FX Amount: 255 FX Amount: 63FX Amount: 63 FX Color: 255 0 0FX Color: 255 0 0

To summarize:

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.