Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

DP TE CUSTOMFLASH

From Quake Wiki

Revision as of 13:50, 29 February 2008 by KrimZon (talk | contribs) (New page: Builtin definitions: <pre> void(vector org, float radius, float lifetime, vector color) te_customflash = #417; </pre> Temp entity definitions: <pre> float TE_CUSTOMFLASH = 73; </pre> pro...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Builtin definitions:

void(vector org, float radius, float lifetime, vector color) te_customflash = #417;

Temp entity definitions:

float TE_CUSTOMFLASH = 73;

protocol:

vector origin
byte radius ((MSG_ReadByte() + 1) * 8, meaning 8-2048 unit radius)
byte lifetime ((MSG_ReadByte() + 1) / 256.0, meaning approximately 0-1 second lifetime)
byte red (0.0 to 1.0 converted to 0-255)
byte green (0.0 to 1.0 converted to 0-255)
byte blue (0.0 to 1.0 converted to 0-255)

Creates a customized light flash.