Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Light my Fire

Rudolf Cleanslate
Registered User
Join date: 1 Dec 2006
Posts: 13
05-01-2009 10:16
Most places in SL you see the very same fires, usually rather tame campfires.

This one is a blazing petrol fire - for all you arsonists, pyromaniacs and the like..
Not much of a script - but a few hours of texturing


vector size = <1.1,0.01,1.6>;

default
{
state_entry()
{
size = llGetScale();
llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_BOX, 0, <0,1,0>, 0, <0,0,0>, <1,1,0>, <0,0,0>, PRIM_SIZE,<size.x,0.01,size.z>]);
llSetPrimitiveParams([PRIM_PHANTOM,TRUE,PRIM_FULLBRIGHT,1,TRUE,PRIM_FULLBRIGHT,3,TRUE]);
llSetTexture("f54a0c32-3cd1-d49a-5b4f-7b792bebc204",ALL_SIDES);
llSetTexture("174398eb-aca6-184b-1016-1925a8fc674a", 1);
llSetTexture("174398eb-aca6-184b-1016-1925a8fc674a", 3);
llSetTextureAnim( ANIM_ON | LOOP , ALL_SIDES , 4, 4, 0, 16, 20 );

}
}
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
05-01-2009 12:37
Very nice. Is this being release for general use?
_____________________
Ravanne's Dance Poles and Animations

Available at my Superstore and Showroom on Insula de Somni
http://slurl.com/secondlife/Insula de Somni/94/194/27/
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
05-01-2009 17:05
These are indeed nice contributions.

Why don't you add them to the Wiki Library and or setup a personal page Rudolf? This way the maximum amount of people can see them. Don't let the wiki intimidate you. The easiest way to setup the pages is to edit a page that has the format you like. You will then be able to see how they did it. If you need any help with this or want some info just let me know.

http://wiki.secondlife.com/wiki/LSL_Library

http://wiki.secondlife.com/wiki/User:Jesse_Barnett

and this one you know:

http://wiki.secondlife.com/wiki/3D_Radar

In edit mode you will see how to link to the Library, back to your user page and how to enclose the scripts in <lsl> & </lsl>
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-01-2009 18:59
shameless plug
or if you like the grouped layouts of the LSL function pages, I do something similar on my page
_____________________
|
| . "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...
| -
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
05-01-2009 21:47
From: Ravanne Sullivan
Very nice. Is this being release for general use?



Heh, well if it isn't it is now since he just posted it. By the way.. to the OP, very nice flame, and animation. Well done!
_____________________
My tutes
http://www.youtube.com/johanlaurasia
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
05-02-2009 00:44
Definitely put this on a wiki page..this is quite possibly the best 2D fire I've seen.
Dawn Kayor
Registered User
Join date: 18 Apr 2009
Posts: 7
05-02-2009 02:44
This is a silly question, but since this is using UUIDs for the texture on the prim faces, those are linked to the original texture that was uploaded. What happens to the prims that are using that UUID when/if those textures are deleted? Does the prim return to the default of wood?
Ephraim Kappler
Reprobate
Join date: 9 Jul 2007
Posts: 1,946
The Undeletable Fire ...
05-02-2009 03:07
From: Dawn Kayor
This is a silly question ...

I don't mind silly questions since I'm nine parts dumb when it comes to this stuff anyways. The UIDD is the reference for the item on the asset server not the item in a resident's inventory folder, which is just another copy. Rudolf could delete his textures and empty his trashcan but we may still use them if we have the UIDD. I guess we're ok so long as the Linden Lab servers continue to run and it will be the least of our worries if they don't.

NB This could be complete BS (apart from the fact that the UIDD will still hold) since I only have a sketch of an idea how the system works.
Rudolf Cleanslate
Registered User
Join date: 1 Dec 2006
Posts: 13
05-02-2009 04:46
Everybody is free to use the script and the texture as long as you do not resell.
I will post a link to the texture as soon as I have set up a page on the Wiki.

With no background in programming whatsoever some of my earlier creations have horrible coding. I bluff to all my girlfriends I am a scripter, am a bit reluctant to publicize some of my code in this audience here...

Anyway, hope you all enjoy the fire.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-02-2009 10:49
as long as as an object is textured with it, or a script has it hard coded, it'll stick around in the asset server, even if the originator deletes all copies. (at least that's what we've been told by LL)
_____________________
|
| . "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...
| -