Getting Ready to Learn LSL/zh-Hans

From Second Life Wiki
Jump to navigation Jump to search

在学习 Linden 脚本语言(LSL)之前, 你首先要运行 Second Life (SL). 运行 SL 之前...

你需要创建一个账户和角色. 你可以使用与其他用户相同的入口. 在你写脚本前你需要四处走走进行一些基础的操作.

当你开始的时候有13个"谜题"让你去解决. 经过上述的入门操作(you will normally encounter them in this order during the orientation process, 或者你可以以别的顺序来解决他们.) If you are not derailed by any of these issues, then you will be in good shape to start learning LSL using the LSL Tutorial or some other source. We built a granite slab and a touch globe in our first hours.

1. 创建账户

创建一个账户 : https://secure-web20.secondlife.com/join/

Second Life 就像第一人称射击游戏或模拟人生一样: 你在世界中移动一个玩偶般的虚拟角色. 你需要在列表中选择一个"姓氏" , 名字可以任意取. SL 不是一个游戏, 他就像虚拟世界中的真实生命. 你的角色不会受伤或被杀死, 你也不需要取得高分或低分(尽管在 SL 中包含有这样的游戏).

加入 SL 不需要支付金钱. 你可以免费加入, 你需要自己赚取虚拟货币(L$). 虽然如此, 这里还是有一些免费的购物资源提供给新手, 世界中也有一些有经验的帮手可以帮助你. 你不需要成为 premium 成员就可以写代码. Premium 会员在购置地产时会比较有利, 同时可以将现实中的金钱转换为L$.

你需要大于18岁, 然后你会收到一个确认邮件. 你需要选择开始时的外貌. 收到电子邮件后确认你的会员身份你才可以登陆到 second life 的客户端中.

2. 下载和运行客户端

下载和运行客户端并连接到第二人生。第二人生客户端有Linux, Mac OS X, Windows等版本。 下载地址: http://secondlife.com/community/downloads.php

可以说,第二人生客户端能在各种系统环境中都能运行良好。第二人生在移植到苹果系统的过程中,跟其他一些很好的免费Unix程序,比如Stellarium一样,只是移植了一部分。在苹果系统下,第二人生客户端运行在一个虚拟环境下,有着自己的栏目条,还有苹果系统中最需要的“右键”功能。例外,其他一些人还在键盘分布方便做了一些改进。比如说,命令键C和命令键V还可以表示复制和粘贴,这里并不是只简单的Control+C和Control+V,而是选择余下所有,而且还不是Home的意思。

2007年11月1日,客户端的Linux版本(仍在Alpha测试中)运行成功但出现了Bug.在Linux下请使用窗口模式,请不要在屏幕上拖动游戏窗口。如果程序假死,请结束该程序(有些时候你需要重启)再重新运行。

客户端的Windows版本很有可能是运行最流畅的版本了。

3. 学习如何移动

学习如何移动. 我们下面学习如何"移动","坐下","站立","飞行". 我们学习如何"搜索位置"以及如何"传送". 这些学习完成后就可以开始探索了. 我们也会学习到如何驾驶交通工具.

4. Alter your appearance

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

Learn to use Second Life URLs (Slurls). 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://slurl.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://slurl.com/secondlife/Ambleside/99/125/37 is a village green that gives away popcorn and lemonade, together with eating and drinking skills.

6. Communicate

Communicate. 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

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$300.

8. Notice your performance

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

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.

10. Find your way socially

Find your way socially. 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

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

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

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 http://secondlife.com/app/help/building/basicprims.php. 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.