Getting Ready to learn LSL/it
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
Per imparare il "Linden Scripting Language" (LSL), devi iniziare in Second Life (SL). Per iniziare in SL...
Hai bisogno di creare un account e un "avatar". Puoi usare lo stesso punto d'accesso che usano altri utenti. Hai bisogno di poterti muovere attorno e comprenderne le basi prima di poter scrivere script.
Ci sono 13 "puzzle" da risolvere per iniziare. Esegui ognuno di questi "steps" iniziali (durante il percorso di orientamento gli incontrerai normalmente in questo ordine o puoi anche eseguirli in ordine diverso se preferisci). Se non verrai deragliato da uno di questi passi, sarai quindi in ottima forma per iniziare ad imparare l' LSL usando l' LSL Tutorial o qualche altra source. Costruiamo una lastra di granito e tocchiamo il mondo nella nostra prima ora.
1. Crea un account
Second Life assomiglia a uno spara-tutto in prima persona o a "The SIMS": muovi un Avatar per il mondo. Puoi scelgliere il mone che ti piace, a condizione che sia ancora disponibile. MA SL non è un gioco, esso è come una vita vera nel mondo virtuale. Il tuo avatar non puo' essere ferito o ucciso e non acquisirai o perderai punti (tuttavia vi sono giochi all' interno di SL che possono permetterti di fare cose come queste).
Non c'è bisogno di pagare denaro per iscriversi a SL. Puoi iscriverti gratis, ma non avrai nessuna moneta virtuale (L$) finché non la guadagnerai. Even so, there are free shopping resources where new users can turn, and there are experienced helpers in-world. You do not need to be a premium member to start writing code. Premium membership does help in terms of buying property, and converting real money over to L$.
You need to be 18, and you will get a confirmation email. You need to choose a starting appearance. You cannot log in to the second life client until you have received the email and confirmed your membership.
2. Download and run the client
Download and run the the client application that connects you to SL. It runs on Linux, Mac OS X, Windows, etc.
That is, it pretends to run, well enough. Like other great free but only half-ported Unix applications such as Stellarium, the Second Life client appears in Mac OS X as a virtual Unix word with its own menu bar and much need of Command Click ("right click"). Someone has made some effort to translate key mappings reasonably, e.g., Command C and Command V also mean copy and paste, not just Control C and Control V, but select all left does not mean Home.
As of 11/15/2008, the Linux version (still in Beta) works reasonably well. Although Linden Lab only officially supports 32bit, it is in principle possible to compile a 64bit version yourself.
3. Learn how to really move around
We next learned how to "walk", to "sit", to "stand up", to "fly". We learned how to "search" for "places" and how to "teleport". That was learning enough to begin exploring. We also learned how to use vehicles and drive around.
4. Alter your appearance
We first learned how edit and save and swap in our choice of avatar. That was learning enough to feel reasonably anonymous. You only get one avatar at a time, there is no way to say there are N of you logged in together through one client. Your quasi-public "birth date" is the day you first entered.
If you have already made your way into SL and you are utterly confused, try teleporting to the Orientation Station to go back over the basics. You will also find mentors there (and elsewhere in SL) who can help you out with issues or questions you might be having.
5. Learn to use Second Life URLs
We next learned how to e-mail a postcard, mostly as a way of revealing what the Slurl.com name for a place is. (You may become more proficient at using slurls later.)
Here are some examples: http://maps.secondlife.com/secondlife/Encogia/170/218/48/ is an amusement park that tweens we know enjoy: diving pool, Ferris wheel, a carousel, a flume, bumper cars, tours by balloon or helicopter or rocket. The park lends dive skills and dance skills and gives away parachutes. http://maps.secondlife.com/secondlife/Ambleside/99/125/37/ is a village green that gives away popcorn and lemonade, together with eating and drinking skills.
Try chatting and instant messaging other users. If someone is sending you an instant message, are you able to open the IM window and respond? If you encounter an in-world mentor, are you able to interact with them and ask them questions? The Second Life virtual chat world is a free Lego space with a programmer-friendly user interface. You can solve these easy puzzles (in the order in which you encounter them, or in the order presented here) without having to guess too much from step to step.
7. Learn to Search
Search for land, search for groups, and search for events. Once you are done, you can exit to Help Island. There you can find a lot more information to continue getting started.
You want to develop a "home", and you might consider joining a community as part of that process. You could consider finding communities of people who are thinking of joining Second Life but have not yet. (Google if all else fails.) The experience of sending postcards suggests that coordinating your efforts might let you start with "Linden dollars" ("L$") in hand. You do not get any L$ for free by default (as of 2007-09-01), although you do get L$300 for free as part of a premium membership. The historical exchange rate is somewhere in the vicinity of US$1 per L$250.
8. Notice your performance
Do you experience good performance in SL, or do you have lag issues? Can you use the green and red bar in the upper right corner to monitor your SL network performance? Do you need to downgrade your graphics settings or upgrade your graphics card? Is someone near you doing a large download that is hogging your bandwidth? Do you notice that your performance is adequate in some places, and horrible in others? Or at some hours but not others?
9. Alter your perspective
Second Life also feels like a third-person game through a kind of X-ray vision: using the mouse wheel (or Alt mouse and Ctrl Alt mouse) let you drag your point of view away from your avatar until you press Esc to reset your point of view. The left and right mouse buttons do different things. If you have a single-button Mac mouse, then there are alternative ways to click that you should already be familiar with. There are also on-screen controls that you can use to alter your perspective.
The places you see in Second Life may be haunted by gangs of physically and verbally obscene vandals. (That was our first experience at the front door, but ignoring the gang worked.) Or you may encounter individuals who you personally find offensive, or people who want to push you in a direction that you are uncomfortable or uninterested in going. SL relationships are often fleeting, and it is a good idea to be kind and polite but not to take it too seriously. Develop a thick virtual skin.
Most importantly, you will also encounter some lovely people whom you will immediately like, and people who are just as confused as you are. You will encounter people who are eager to make friends, and people who are attracted to your Avatar and want to get closer. Learn to make friends and to avoid making enemies.
11. Manipulate existing objects
We next learned how to "touch" things, how to "take" things into our virtual backpack ("inventory"), how to drag out copies, how to "take more copies" in, how to "wear" things on my outside rather than my inside. Our "inventory" is infinitely lightweight and small, so far as we can see, e.g., we put a house in it. That was learning enough to enjoy exploring.
12. Create Objects
LSL scripting is done within the context of an object. So before you start writing scripts, you need to know how to create an object. You only need a single primitive object such as a cube or a torus. (Eventually you or someone you work with should know how to build complex and beautiful poly-objects.) There are in-world tutorials describing how to do this, and they are part of the normal orientation process. There are also tutorials both within the Wiki and at external web sites. Try the Creation Portal, for example.
You can buy property where you are allowed to create objects, or you can create them in a publicly-available sandbox area. (Put them into your inventory or delete them when done, it is rude to leave them lying around in public spaces.) The orientation spaces dedicated to learning how to create objects are generally sandboxes. You can join a group or organization, giving you access to places where you will be able to work productively.
13. Start learning LSL
You are ready now to go try to make sense of the tutorials on writing Linden Scripting Language (LSL) scripts that the LSL Tutorial article indexes.
Note: If you think that this page could use improvement, then we need your help. This page is Wiki, please feel free to revise or reconceive. Or post into the Discussion tab an explanation of how the rest of us should edit for you, if we should. Or add links to tutorials like this that exist but we have failed to find. Thank you for helping.
Note: The F1 help for the building tools in world is not yet smart enough (as of 2007-11-02) to give you help in context. Help, negligibly obsolete, for the Object tab of the Create/Edit tool you begin with is at https://wiki.secondlife.com/wiki/Building_Tools. In particular, the checkmark Physical teaches your object to move and roll and bounce, the checkmark Phantom lets other things like your avatar move through object or not and the tab Texture, checkmark Full Bright makes your object glow in the dark.