Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I?

Seth Leandros
Brujah Lead Warrior
Join date: 15 Jul 2005
Posts: 22
07-19-2005 14:36
I know these are all pretty simple questions, but apparenly no one knows. So im gonna hope someone here can help me:

1) What launguage is this in? Im gonna guess Java, but something tells me im wrong.

2) What script code allows it to say the name of the person touching the object? Like if I touch it, it will say "Stop that Seth Leandros!"

3) Whats a good (free) program that allows me to make animations? I currently use Maya for 3D animations, but I dont know how to make it use a pre-made skelton so I can make animations. So im guessing I need another program.

4) Is there a way to view someone else's script? Like for example when I see an objcect that does something I want it to do (like cycle textures? or react in different ways?). Most of the time it doesnt allow me to load it.

5) Is there a good library that tells what all the commands on the list do and how they work with the coding? Like just a simple database I can use for future referance?

Thanks for the help everyone!
Rayve Mendicant
Scripts for L$5 billion
Join date: 12 Mar 2005
Posts: 90
07-19-2005 14:50
1) It's a proprietary scripting language calld Linden Scripting Language (LSL)

2) Just place llSay(0,"Stop that " + llDetectedKey(0) + "!";); in the touch_start() method given every new script

3) Poser is practically an official SL program for animations I guess.

4) Most scripts you will not be able to view unless the properties allow for copy/modify permissions, which is rare. Your best option with scripting questions is this forum.

5) There is a very good library of sorts called a Wiki here -->http://secondlife.com/badgeo/wakka.php?wakka=HomePage
_____________________
_______________________

Rayve Mendicant
Second Evolution

"Darwin ain't got nothin' on this"
Morgana Aubret
Damaged Beyond Repair
Join date: 12 Jul 2005
Posts: 139
07-19-2005 15:10
There is also a nice PDF reference guide here: https://secondlife.com/support/helpguide.php (on the bottom of the page).
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
07-19-2005 15:43
From: Morgana Aubret
There is also a nice PDF reference guide here: https://secondlife.com/support/helpguide.php (on the bottom of the page).
It should be noted that this PDF is a copy of the HTML-formatted LSL guide in the SL directory, only it's a year and a half out of date. Most functions and event handlers still behave in the same way as described in the PDF, but there have been dozens of new features and changes to behavior implemented since then.

Also, the LSL wiki was originally started with the intention of rectifying some of the more glaring gaps and omissions in the official docs. The Lindens have since filled most of the holes, but the wiki remains the most complete and up-to-date resource there is.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
nonnux white
NN Dez!gns
Join date: 8 Oct 2004
Posts: 90
07-19-2005 15:54
From: Seth Leandros

3) Whats a good (free) program that allows me to make animations? I currently use Maya for 3D animations, but I dont know how to make it use a pre-made skelton so I can make animations. So im guessing I need another program.


i am using notepad to do animations :)
poser is way expensive, and BVH files are so simple to write
i use the upload preview to test the animations
_____________________
Rayve Mendicant
Scripts for L$5 billion
Join date: 12 Mar 2005
Posts: 90
07-19-2005 16:21
I'm sure at least a link to references on writing these files might help :)
_____________________
_______________________

Rayve Mendicant
Second Evolution

"Darwin ain't got nothin' on this"
Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
07-19-2005 16:21
From: nonnux white
i am using notepad to do animations :)
poser is way expensive, and BVH files are so simple to write
i use the upload preview to test the animations


hey nonnux, there is a free bvh player at www.bvhfiles.com

You need to register.
then go to the bvh library and download the player.
_____________________
Morgana Aubret
Damaged Beyond Repair
Join date: 12 Jul 2005
Posts: 139
07-19-2005 16:55
From: someone
It should be noted that this PDF is a copy of the HTML-formatted LSL guide in the SL directory, only it's a year and a half out of date. Most functions and event handlers still behave in the same way as described in the PDF, but there have been dozens of new features and changes to behavior implemented since then.


Ugh. Thanks for letting me know. The PDF is so much more convenient than that one big HTML page. :(
Seth Leandros
Brujah Lead Warrior
Join date: 15 Jul 2005
Posts: 22
07-19-2005 18:28
From: nonnux white
i am using notepad to do animations :)
poser is way expensive, and BVH files are so simple to write
i use the upload preview to test the animations


How do you do that?
nonnux white
NN Dez!gns
Join date: 8 Oct 2004
Posts: 90
07-20-2005 01:01
i got no reference link.

i just tested. let me try to explain:

the BVH files are plain text. so notepad is good for it.

the BVH have 2 parts. the hierarchy structure of joints (and the root), and in the end there is the animation itself.

i found out that in the end, on this animation information there was alot of numbers. this numbers are relative to the CHANNELS described on each joint (and the root).

the root is the hip. is the only one that have a X, Y anz Z position. all other joints only have rotations (x, y, z).

i don't understand yet the position scale, but a number like 100.000 is about 3 or 4 meters.
the rotations are in degrees.

i am attaching a file within this post, is my BVH template. (remove the .txt extention)

my template got a 4 frames animation with 1 second time for each frame.

i read somewhere that the BVH file ends in the end of the line relative to the last frame. so everything that appears after this line is simply ignored. this is good for me, cause i placed some "coments" in the end - this is not part of the BVH, and may report bugs on other software.

------

the free bvh player is not good, cause SL use another structure for reading BVH files and my template don't open correctly on it. anyway, the SL preview is good enought for testing.

sorry my bad english :)

IM me in world if u need any help
_____________________