DP TE CUSTOMFLASH

From Quake Wiki

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.