Jump to content

need menu tut: creating a changeable rug


You are about to reply to a thread that has been inactive for 4677 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I want to create a rug that the user can change texture of.

 

action is like this. user click rub. menu opens to give user option to change trim, and option to change carpet.

if user select change trim, menu changes to give user 3 options of trim.

if user chooses change carpet, menu changes to give user 5 options.

this is more complex than just clicking to make the next texture load as I want the user to be able to pick so that they do not have to go through all the textures to find just the right one for their mood today.

I know how to make the prim. I know how to create the default. I know where the script goes in content. I just dont know the right terms to search for a tutorial that would help me do this.

I guess the changeable carpet could be anything like a window changing opacity..which Id also like to do.

a url or link to someplace that has tutorials would be greatly appreciated.

 

Link to comment
Share on other sites

You are looking to create a fairly straightforward dialog menu.  Take a look at the tutorial in the LSL wiki at http://wiki.secondlife.com/wiki/DialogMenus .  Other than the basic menu system, all you should need is the LSL function llSetLinkPrimitiveParamsFast, with which you can set PRIM_COLOR (which includes alpha) or PRIM_TEXTURE on the carpet's main or child prims with a single script.  See http://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParamsFast .

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4677 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...