Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Flickering light/flame

Tarak Voss
Meanderer
Join date: 14 Oct 2006
Posts: 330
11-19-2007 17:36
I want a flame to give off a flickering light – actually the way SL has been working for me lately this should need no scripting – however I digress.
I want the flame to throw out an illumination and colour that flickers (randomly) – can someone give me a few pointers or sample script on how this could be achieved please.
:)
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
11-19-2007 17:47
http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-19-2007 21:23
no code, sorry, but a few ideas...

set prim parameters (noted above) to set the light casting, and either an animated texture, or particles for the flame...

flickering the cast light will be very operation intensive, but can be done
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
11-19-2007 21:29
Well, you can make the light source itself look like it is flickering with a clever particle effect. However, making the light it casts on nearby objects/avatars also flicker is kinda tough. You can do something like randomly vary the illumination of the light given off, but it is pretty lag-sensitive, since you are constantly sending out updates to generate the effect.