Yes, if indeed you do read this, I would greatly appreciate your help, GBK.  This is concerning one of your most intersting areas of expertise, Dynamic Lighting.
 
        
Yes, does it ever, and I now need help selecting the right cog and then implementing it.
        
I quote from you:
 
        
So, that's not the right one. But to answer your question, I found it in your level "OTS," and if it serves no purpose it throws a lot of people like me off due to its name, so perhaps you could remove it.
Now, for the "lights.cog":
        
If this is indeed the one, perhaps you could tell me the meaning of each variable, and how to set it up, because I've already tried several different configurations and my lights just keep on flickering. Thanks a bunch GBK.
P.S. Btw I just got back from a mission trip to Berea, Kentucky, which I believe is your home state. I was part of the Episcopalian PYE 2004 Mission Trip (Province Youth Event), and we worked on rebuilding a small community in Barnes Mountain.
------------------
~ Vader's Corner ~
                
                
                    
                
            Quote:
        
    <font face="Verdana, Arial" size="2">Originally posted by GBK:
So tell me . . . does that light flicker?![http://forums.massassi.net/html/tongue.gif [http://forums.massassi.net/html/tongue.gif]](http://forums.massassi.net/html/tongue.gif)
</font>
So tell me . . . does that light flicker?
![http://forums.massassi.net/html/tongue.gif [http://forums.massassi.net/html/tongue.gif]](http://forums.massassi.net/html/tongue.gif)
</font>
Yes, does it ever, and I now need help selecting the right cog and then implementing it.
Code:
        
    # DLFP, Dynamic Light Flicker Prevention # # Version 0.1 # # 11/2002 GBK Flags=0x240 Symbols Message Created Message Removed Message Timer Sector Player_sec Local Thing Light Local Vector Pos Local Vector PYR Local Template Type Local Flex Time=0.1 Local End Code Created: Light = Getsenderref(); Pos = Getthingpos(Light); PYR = Getthinglvec(Light); Type = Getthingtemplate(Light); Settimer(Time); Stop; Timer: Destroything(Light); Stop; Removed: Player_sec = Getthingsector(JKgetlocalplayer()); Createthingatpos(Type, Player_sec, Pos, PYR); Stop; End
I quote from you:
Quote:
        
    <font face="Verdana, Arial" size="2">
Dont use that, it doesnt work right. I dont know how anyone got ahold of it, but I never could get it to work reliably.
Download OTS (link in sig), there is a fully functional DL controller in the gob. I think the filename is ``lights.cog``...
</font>
Dont use that, it doesnt work right. I dont know how anyone got ahold of it, but I never could get it to work reliably.
Download OTS (link in sig), there is a fully functional DL controller in the gob. I think the filename is ``lights.cog``...
</font>
So, that's not the right one. But to answer your question, I found it in your level "OTS," and if it serves no purpose it throws a lot of people like me off due to its name, so perhaps you could remove it.
Now, for the "lights.cog":
Code:
        
    # "Ode to Suzanne"
#
# Dynamic lighting controller
#
# 12/2002 GBK
Symbols
Message Newplayer
Message Pulse
Thing Ghost0
Thing Ghost1
Thing Ghost2
Thing Ghost3
Thing Ghost4
Thing Ghost5
Thing Ghost6
Thing Ghost7
Thing Ghost8
Thing Ghost9
Int Used
Template L
Thing LL0=-1		Local
Thing LL1=-1		Local
Thing LL2=-1		Local
Thing LL3=-1		Local
Thing LL4=-1		Local
Thing LL5=-1		Local
Thing LL6=-1		Local
Thing LL7=-1		Local
Thing LL8=-1		Local
Thing LL9=-1		Local
Thing Player		Local
Sector Player_sec	Local
Flex Rate=0.1
Int I=0		Local
End
Code
Newplayer: 
Player = Getsenderref();
Setpulse(Rate); 
Stop;
Pulse:
Player_sec = Getthingsector(Player);
For(I=0;I<=Used;I=I+1) {
If(LL0 != -1) Destroything(LL0); 
LL0 = Createthingatpos(L, Player_sec, Getthingpos(Ghost0), '0 0 0'); 
If(LL0 == -1) Print("Light creation failure"); }
Stop;
If this is indeed the one, perhaps you could tell me the meaning of each variable, and how to set it up, because I've already tried several different configurations and my lights just keep on flickering. Thanks a bunch GBK.
P.S. Btw I just got back from a mission trip to Berea, Kentucky, which I believe is your home state. I was part of the Episcopalian PYE 2004 Mission Trip (Province Youth Event), and we worked on rebuilding a small community in Barnes Mountain.
------------------
~ Vader's Corner ~
 

![http://forums.massassi.net/html/redface.gif [http://forums.massassi.net/html/redface.gif]](http://forums.massassi.net/html/redface.gif)
![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)

![http://pic10.picturetrail.com/VOL347/2098655/4074358/61437654.jpg [http://pic10.picturetrail.com/VOL347/2098655/4074358/61437654.jpg]](http://pic10.picturetrail.com/VOL347/2098655/4074358/61437654.jpg) 
 ![http://forums.massassi.net/html/confused.gif [http://forums.massassi.net/html/confused.gif]](http://forums.massassi.net/html/confused.gif)
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)