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 → SurfaceLightAnim();???
SurfaceLightAnim();???
2004-10-17, 3:44 PM #1
SurfaceLightAnim(); I came across this while looking at m2_ffieldswitch.cog and couldn't find it in the datamaster.

This is the line:

SurfaceLightAnim(damsurf, 0.4, 1.0, 0.5); // animate surface

I've no idea what it does.
-Hell Raiser
2004-10-17, 4:44 PM #2
Just a stupid guess, but ...
Code:
SurfaceLightAnim(surface, min_light_level, max_light_level, flex_fade_time); 


I always assumed it toggled the lighting on a surface between two values. In fact, I seem to remember using it in a few cogs somewhere...
And when the moment is right, I'm gonna fly a kite.
2004-10-17, 5:44 PM #3
I imagine that it enhances the brightness of the switch when it's on in its second frame for greater effect than that provided by the texture alone.
2004-10-17, 7:04 PM #4
SurfaceLightAnim is in DataMaster 0.6.2 under Cog Verbs > Anim / Cel > (bottom of list).

:)
2004-10-17, 7:44 PM #5
Doh, I figured it'd be under the surfaces section. :o
-Hell Raiser
2004-10-17, 9:06 PM #6
That's what the search function is for :) In DataMaster, some of the things are in weird places, or at least it seems to me at times.
_ _ _____________ _ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come

↑ Up to the top!