Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Documentation

Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-11-2003 22:21
Documentation could use some work. I don't mean to grumble, yet I am. Now about 25 minutes into searching all the downloaded documents (yes I got them all) just to figure out the format for transparent "alpha" images.

Alas, I can't find the information that I'm seeking and the web page forum search (ooh there's the search button hiding in a dark corner!) has yielded nada, although I'm sure there *are* posts about this topic, somewhere... As well, the scripting reference could use major work with clearer explainations, better layout (alphabetical as well as categorized (as it is, more or less, now)) and many more examples per command. Not all of us know what Euler is, some short explainations would be appreciated overall.

I know it's work, and I know (many) developers hate writing docs, but it would definitely be appreciated.

ok grumble over. SL rocks! Creativity at last abounds in a MMOG!

Boso
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
07-12-2003 01:26
click here and scroll to the bottom to get the current scipting manual compiled in CHM format.

as to alpha textures... there are a couple tutorials floating around, shebang has one, buttonpusher has one, and i think ingie has one. hopefully they will all post their links to this thread. until then this thread has some quick stuff on how to make one. just scroll down till you see buttonpusher and celerity.
_____________________
i've got nothing. ;)
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
07-13-2003 01:20
Images with transparency (alpha): save them as a .tga, anything that shows up in your pic editor as "grey/white checkerboard" will be transparent. Semitransparency also works. In scripts: llSetAlpha(float alpha, integer face). Alpha ranges from 0.1 to 1.0, with 0.1 being almost invisible and 1.0 being totally opaque. (For TRUE transparency you need to actually use a transparent texture, it really won't go below 0.1, at least not when I tried.) Set face to ALL_SIDES to apply the alpha level to the entire primitive. The most common error I have seen with llSetAlpha() is that people assume it's 0-100 instead of 0.1-1.0.