|
Jo Newell
Registered User
Join date: 14 Jan 2006
Posts: 83
|
04-15-2008 14:21
Hi I need a script that will make a light change colour over a time period and covering the whole RGB spectrum.
If anyone can make me this script please IM me or if you know of a script already in exsistence please say where.
I'm a complete non scripter lol, i'm a builder.
Thanks very much.
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
04-15-2008 15:00
you should be able to find a freebie that would work for you. try searching this or script library forum.
|
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
04-15-2008 16:59
Jo, you really don't need a complex script for your light. You need a texture that animates to change the color smoothly over time.
First, use Photoshop to make a image with the size 256 x 2. Then, use the gradient tool to create the spectrum from red to red (with all the other colors in between).
Place that texture on your light and use the following script:
default { state_entry() { llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 256, 1, 0, 0, 15.0); } }
The "15.0" is your frame-rate. Increase or decrease to suit your need.
|
|
Jo Newell
Registered User
Join date: 14 Jan 2006
Posts: 83
|
04-15-2008 17:37
no thats not quite what i meant. I mean the actual colour of light that is given off. The actual light bulb prim itself will be alpha. But i want the actual colour of light it emmits to be changed.
Hope this makes sense
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
04-16-2008 02:24
I played with a number of scripts last night to see if they did change colours as you want. Nothing seemed to work, however after reading your second post I can send you a script that may give you hints on how to achieve this, I'm not a scripter, so I'm just sending you someone elses freebie script, that's the best I can offer. Oh also there is that freebie dance floor that randomly changes colours on 25 squares, again I realise its not what you are after but there maybe other clues in the script to help you out, you probably have it, but I'll send it to you anyways.
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
04-16-2008 10:27
This might get you started in a new career of scripting.  
|
|
Dragonlady Boa
Registered User
Join date: 13 Jul 2007
Posts: 18
|
04-20-2008 04:33
have one hun, IM me in world, but remind me what it is for, because I brain fart a lot LOL
|