Page 1 of 1

Multiple dynamic light defs on one frame

Posted: Sat Sep 14, 2013 14:14
by Blue Shadow
Does the DECORATE method of attaching dynamic lights support attaching more than one dynamic light on a single frame? I know that with the GLDEFS method, you can do the following, but what about the aforementioned DECORATE way?

Code: Select all

PULSELIGHT NCArmor1
{
  Color 0.0 0.0 1.0
  DontLightSelf 1
  Interval 2.0
  SecondarySize 48
  Size 32
}

PULSELIGHT NCArmor2
{
  Color 0.5 0.0 0.35
  DontLightSelf 1
  Interval 2.0
  SecondarySize 32
  Size 24
}

OBJECT NC_NCArmor
{
  Frame NCAR { Light NCArmor1 }
  Frame NCARA { Light NCArmor2 }
}
Also, is it possible (whether from GLDEFS or DECORATE) for two or more frames to have two or more dynamic lights that are different from each other attached to them?

Let's say that I have three frames (NCARA0, NCARB0 and NCARC0), and six dynamic light definitions (NCArmor1, NCArmor2, ..., NCArmor6), can I have lights NCArmor1 and NCArmor2 attached to frame NCARA0, lights NCArmor3 and NCArmor4 attached to frame NCARB0, and lights NCArmor5 and NCArmor6 attached to frame NCARC0?

Re: Multiple dynamic light defs on one frame

Posted: Sat Sep 14, 2013 17:01
by Gez
I'm pretty sure only one light can be attached to a frame. In your example, NCARA has only NCArmor2 attached to it, and NCARB (or any other non-A frame) has only NCArmor1.