Difference between revisions of "User:Azwaldo Villota/Making a HUD"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 15: Line 15:
Right-click the HUD and select Edit. We can edit a HUD ''while'' we are wearing it. Cool, eh?
Right-click the HUD and select Edit. We can edit a HUD ''while'' we are wearing it. Cool, eh?


'''Consider:''' What if you had a HUD that chatted details about each location you visited? You could get region name, coordinates, even the name of the land owner. Then, it is easy to gather that data from your [[https://wiki.secondlife.com/wiki/Video_Tutorial/Finding_your_chat_logs chat log]] to use when posting images online, or in a blog.
For ''designing'' your HUD, it helps to write out a step-by-step description of what the HUD will do when in use. Then, approach the scripting challenges one by one, to provide the interaction in each step of your description.
 
It is helpful to join a scripting group in SecondLife™; there, you can ask questions when you hit trouble with a script.


<br />
<br />

Revision as of 04:01, 30 May 2013

Basic Info

Start at this wiki's HUD page, and make a simple HUD as an exercise. You could make a HUD to gather information about locations you visit.

Start by creating a practice HUD
1. rez and edit a small prim (cube)
2. make it small: 0.1 m x 0.1 x 0.1. 
3. name the obj PracticeHUD
4. Add a New Script in Contents tab 
    (just keep the default script, for now)
5. TAKE the obj into Inventory.
6. Right-click new obj in Inventory and select:
    Attach to HUD > Center

You should see your cube prim appear in center of viewer. Touch it to see the New Script in action. Right-click the HUD and select Edit. We can edit a HUD while we are wearing it. Cool, eh?

For designing your HUD, it helps to write out a step-by-step description of what the HUD will do when in use. Then, approach the scripting challenges one by one, to provide the interaction in each step of your description.

It is helpful to join a scripting group in SecondLife™; there, you can ask questions when you hit trouble with a script.



Helpful Links