-
Notifications
You must be signed in to change notification settings - Fork 30
File format: rtl
chino edited this page Jan 5, 2013
·
1 revision
(.RTL) real-time game lights for level
TYPES:
light type: {fixed, pulsing, flickering}
gen type: {initialized, timed, triggered}
pulse type: {blink, ramp, halfwave, wave}
FORMAT:
magic number: char[4] = PRJX
version: uint32
number of lights: unint16
{
type: uint16 (light type)
group: uint16
x,y,z: float
range: float
r,g,b: float
generation type: uint16 (gen type)
generatio delay: float
switch( type )
{
fixed:
type: uint16 (pulse type)
on time: float
stay on time: float
off time: float
stay off time: float
pulsing:
type: uint16 (pulse type)
on time: float
stay on time: float
off time: float
stay off time: float
flickering:
stay on chance: float
stay off chance: float
stay on time: float
stay off time: float
spot:
direction x,y,z: floats
up x,y,z: floats
cone: float
rotation period: float
}
}