Difference between revisions of "Viewerhelp:Building and scripting"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Help WIP}}
{{Help WIP}}


Second Life provides every Resident with a powerful set of tools for creating new objects and bringing them to life. Every object, house, vehicle, weapon, and piece of clothing in the Second Life world has been designed, built, and programmed by Residents just like you! 
===Building===
Objects built using Second Life's native building tools are constructed of {{Xref|prim|primitives}}, often called "prims".  Prims are basic geometric shapes that you can resize, stretch, color, texture, and link together to form a complete object.  To create your first prim:
# Choose '''Build > Build''' from the menu bar at the top of the screen.
# The {{win|{{vh|Build Tools}}}} window opens, with the '''Create''' tool active and the '''Cube''' primitive type selected.
# Click the ground anywhere to create a new cube primitive inworld.
===Scripting===
Many objects contain {{Xref|script|scripts}}, which are computer programs written in Linden Scripting Language ({{Xref|LSL}} for short).  Scripts can make objects behave in a certain way, change color, interact with avatars and other objects, and perform thousands of other tasks.  To create your first script:
# Create a new object, as described above.
# Right-click the object and choose '''Edit''' from the contextual menu.
# Click the Content tab of the {{win|{{vh|Build Tools}}}} window.
# Click the '''New Script''' button. 
# A script named "New Script" appears in the object's contents, and the objects says "Hello, Avatar!" in Nearby Chat as the script starts running.
You can open the script to examine and alter it by double-clicking it in the object's contents.  You can find complete descriptions of all LSL commands on the Second Life wiki by visiting the [http://wiki.secondlife.com/wiki/LSL_Portal LSL Portal].
===For more information===
For a brief introduction to inworld building, see [http://wiki.secondlife.com/wiki/How_do_I_build_objects%3F How do I build objects?]
For a brief introduction to inworld building, see [http://wiki.secondlife.com/wiki/How_do_I_build_objects%3F How do I build objects?]


See the following categories in the Second Life Knowledge Base:
For more extensive information about building, scripting, and clothing creation, see the following categories in the Second Life Knowledge Base:
 
* [http://wiki.secondlife.com/wiki/Category:Building_Objects Building Objects]
* [http://wiki.secondlife.com/wiki/Category:Building_Objects Building Objects]
* [http://wiki.secondlife.com/wiki/Category:Coding_Scripts Coding Scripts]
* [http://wiki.secondlife.com/wiki/Category:Coding_Scripts Coding Scripts]
* [http://wiki.secondlife.com/wiki/Category:Making_Clothing Making Clothing]
* [http://wiki.secondlife.com/wiki/Category:Making_Clothing Making Clothing]
* [http://wiki.secondlife.com/wiki/Category:Working_with_Textures Working with Textures]
* [http://wiki.secondlife.com/wiki/Category:Working_with_Textures Working with Textures]

Revision as of 11:55, 18 March 2010

Help article in progress.

Second Life provides every Resident with a powerful set of tools for creating new objects and bringing them to life. Every object, house, vehicle, weapon, and piece of clothing in the Second Life world has been designed, built, and programmed by Residents just like you!

Building

Objects built using Second Life's native building tools are constructed of primitives, often called "prims". Prims are basic geometric shapes that you can resize, stretch, color, texture, and link together to form a complete object. To create your first prim:

  1. Choose Build > Build from the menu bar at the top of the screen.
  2. The Build Tools window opens, with the Create tool active and the Cube primitive type selected.
  3. Click the ground anywhere to create a new cube primitive inworld.

Scripting

Many objects contain scripts, which are computer programs written in Linden Scripting Language (LSL for short). Scripts can make objects behave in a certain way, change color, interact with avatars and other objects, and perform thousands of other tasks. To create your first script:

  1. Create a new object, as described above.
  2. Right-click the object and choose Edit from the contextual menu.
  3. Click the Content tab of the Build Tools window.
  4. Click the New Script button.
  5. A script named "New Script" appears in the object's contents, and the objects says "Hello, Avatar!" in Nearby Chat as the script starts running.


You can open the script to examine and alter it by double-clicking it in the object's contents. You can find complete descriptions of all LSL commands on the Second Life wiki by visiting the LSL Portal.


For more information

For a brief introduction to inworld building, see How do I build objects?

For more extensive information about building, scripting, and clothing creation, see the following categories in the Second Life Knowledge Base: