Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → GBK [Click Here]. Others come too.
GBK [Click Here]. Others come too.
2004-05-14, 11:04 PM #1
Ok now first of all can someone please give me that cog that gbk made(i think) that stops dynamic light flickering.

Second can some please explain some basic points of dynamic light templates and the best way to use them how to change itensity levels ect...

Thanks all your so kind. [http://forums.massassi.net/html/wink.gif]

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-05-15, 12:52 AM #2
Dynamic light... It is simple:

ThingLight(thing,amount,duration);

Amount is a flex. Anything from 0 to 34788.457934 and up... Duration is a flex and counts in seconds. Lets say you set things like this:

ThingLight(light,0,0.01);
This will turn off the light in a snap. Like if you hit the light switch.

ThingLight(light,1,1);
This will make the light fade in during 1 second.

If you want a neon light to flicker on, then the duration is 0.01 and the amount is 0, 0.1, and 1. Make it a little random.

Did I just ramble...

Oh, and the thing doesn't have to be a light1.0 template. It can be a ghost, or something you see...

/Edward
Edward's Cognative Hazards
2004-05-15, 1:36 AM #3
My main problem is. I place my light template e.g. light1.0, light 3.0 and some custom ones light5.0 light20.0 and sometimes the light is dark where the light was placed and light where its not.

Also i get that light flicker problem but that can be fixed with the light cog.

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-05-15, 3:52 AM #4
Download OTS. The cog is used in that level.

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
:wq
And when the moment is right, I'm gonna fly a kite.
2004-05-15, 11:49 AM #5
Thanks gbk

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-05-15, 12:22 PM #6
Hmm I cant really understand it. Its the one gbk_dlfp.cog isnt it? How do you define what the dynamic lights are and to i place it in my cog window or just leave it in the gob.

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-05-15, 9:45 PM #7
COG doesn't seem to be used... I looked at the COG and it looked like it was a Class COG (one that is attached to a template). But when I looked through the templates, I didn't find it... I guess he just gave it to you to give you an idea what you can do.

/Edward


[This message has been edited by Edward (edited May 16, 2004).]
Edward's Cognative Hazards
2004-05-15, 11:23 PM #8
Hmmm. O well my dynamic lighting seems to be going along properly now. Thanks Edward.

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-05-16, 1:43 AM #9
Quote:
<font face="Verdana, Arial" size="2">Originally posted by a_person:
Hmm I cant really understand it. Its the one gbk_dlfp.cog isnt it? How do you define what the dynamic lights are and to i place it in my cog window or just leave it in the gob.</font>


*scratches head* I donno. Its been 2 years since I wrote it.... [http://forums.massassi.net/html/frown.gif]

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
:wq
And when the moment is right, I'm gonna fly a kite.
2004-05-16, 2:39 AM #10
It looks like that cog was abandoned and the concept was added to lights.cog instead of being its own class cog.

------------------
[working here]

[This message has been edited by Darth Slaw (edited May 16, 2004).]
May the mass times acceleration be with you.
2004-05-16, 8:33 AM #11
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Darth Slaw:
It looks like that cog was abandoned and the concept was added to lights.cog instead of being its own class cog.</font>


Sounds right. If I recall, I couldnt get the class cog version working right... [http://forums.massassi.net/html/frown.gif]


`lights.cog` is what you want. If thats what I called it.... [http://forums.massassi.net/html/confused.gif]

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
:wq
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!