Effect flags: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
For configuring client-side visual effects. Not available on the server. | |||
== Flags == | |||
;[[EF_BONEMERGE]] | |||
:Performs [[bone merge]] on client side. | |||
;[[EF_BRIGHTLIGHT]] | |||
:Emit a [[DLIGHT]] from [[origin]]. | |||
;[[EF_DIMLIGHT]] | |||
:Player flashlight. | |||
;[[EF_NOINTERP]] | |||
:Don't [[interpolate]] the next frame. | |||
;[[EF_NOSHADOW]] | |||
:Don't cast a shadow. {{todo|Does this still apply to shadow maps?}} | |||
;[[EF_NODRAW]] | |||
:Don't transmit the entity to the client. | |||
;[[EF_NORECEIVESHADOW]] | |||
:Don't receive shadows. | |||
;[[EF_BONEMERGE_FASTCULL]] | |||
:For use with EF_BONEMERGE. If this is set, then it places this ent's origin at its parent and uses the parent's [[bbox]] + the max extents of the [[aiment]]. Otherwise, it sets up the parent's bones every frame to figure out where to place the aiment, which is inefficient because it'll setup the parent's bones even if the parent is not in the [[PVS]]. | |||
;[[EF_ITEM_BLINK]] | |||
:Blink an item so that the user notices it. | |||
;[[EF_PARENT_ANIMATES]] | |||
:Always assume that the [[parent]] entity is animating. | |||
[[Category:Flags]] | [[Category:Flags]] | ||
Revision as of 08:08, 4 July 2008
For configuring client-side visual effects. Not available on the server.
Flags
- EF_BONEMERGE
- Performs bone merge on client side.
- EF_BRIGHTLIGHT
- Emit a DLIGHT from origin.
- EF_DIMLIGHT
- Player flashlight.
- EF_NOINTERP
- Don't interpolate the next frame.
- EF_NOSHADOW
- Don't cast a shadow. Todo: Does this still apply to shadow maps?
- EF_NODRAW
- Don't transmit the entity to the client.
- EF_NORECEIVESHADOW
- Don't receive shadows.
- EF_BONEMERGE_FASTCULL
- For use with EF_BONEMERGE. If this is set, then it places this ent's origin at its parent and uses the parent's bbox + the max extents of the aiment. Otherwise, it sets up the parent's bones every frame to figure out where to place the aiment, which is inefficient because it'll setup the parent's bones even if the parent is not in the PVS.
- EF_ITEM_BLINK
- Blink an item so that the user notices it.
- EF_PARENT_ANIMATES
- Always assume that the parent entity is animating.