« Running for Governator (Current Platform Included) | Main | Position Paper? »

Cylindrian's Tip/Info/Vending Sign (Part 1)

The Introduction

I'm going to post a series of howto entries that describe a project I recently worked on. This first entry serves as an introduction to the project - what is it, who would benefit from it, etc. In future entries I will step through how I approached the build, the learning and discovery process along the way, and the final components needed to complete it.

Recently I was contacted by my friend Bree Darling in IM. It turns out that my friend Cylindrian Rutabaga had contacted her asking for assistance with a tip jar project that Cylindrian had in mind. I offered to help out since Cyl is my friend and also since the project looked both straight foward and a little fun.

Let's first read Cylindrian's project outline:

"Scripted Item:

Donations/Tips-
Pay for CD using PayPal?
Link to MySpace -
Link to iTunes-
Link to CD Baby-
Link to Cylindrian Blog -
Link to Google Calendar-

SecondTunes Vendor

Wondering if there is a way to connect all these links NEATLY onto one sign prim.
So people can choose
1. where to purchase my music that is most convenient for them
2. how to keep up with my schedule
3. how to get to my website(s)

Also, I'd need feedback on design. I just want to minimize the items to place out on the stage.
:)"

One might note that "one single prim" might be better read "one single object" where I think the end goal is to quickly and easily rez props on stage before a show but still have the major bases covered.

Once I had an idea of what Cylindrian wanted I started to think through how to make the scripts required as generic as possible. Generic scripts might allow for reuse by others in various ways. Then I could share them here and you could choose to take the pieces you're interested in :) I hope/think I came up with some useful results with that goal in mind.

Here's a quick snapshot of our end result that this series of howto articles will work towards creating. What you're not yet seeing is the dialog and inventory system that I scripted to support the buttons.

GraceFinalTipJar.jpg

While I was starting to think through the scripting problem Cylindrian stopped in to a club named "Soft Shadows Club". She dropped me a note that I might want to stop in and see their welcome sign. She liked the format and thought it might be a good model to work from.

Soft Shadows Club is in Starax sim and the sign in question is shown here:

SoftShadows.jpg

The "click here" buttons on this sign either gives an inventory item (notecard or landmark) or it sends some form of communication to someone asking them to add you to the group. It does not (LSL cannot) add you to a group automatically.

Here is the text presented after you click their Join Group button:
Join Our Group: Your request has been sent. Please be patient and you will be added to the group as soon as possible.

As I first started working on this project I took a few notes. They went something like this:

"Maybe create something where the root prim handles the money event for tips, specific child prims would handle their own tasks, a dialog script with prefcard would be in each child prim, the prefcard would contain a dialog menu of options for that topic, target item, target item type (URL or inventory)

Load a Pref:Dialog file
There are 12 potential buttons in a dialog
So read twelve preference lines
If the line is empty there will be no button for that line
Have a list for name, target and type and load them when the script is rezzed or reset"

The end result came pretty close to these original notes and I learned a few small details along the way. The most interesting bit of research came in when trying to incorporate Bobby Fairweather's secondTUNES vendor prim as a child of the tip jar.

I'm going to attempt to break the project down into sections so stay tuned for part two in this little howto series. In part two we'll start working with some prims and research how the money() event is supposed to behave.

TrackBack

Listed below are links to weblogs that reference Cylindrian's Tip/Info/Vending Sign (Part 1):

» Cylindrian's Tip/Info/Vending Sign (Part 5) from Dolmere Talamasca - Second Life "resident"
This is part five in a series of howto entries. Dialog Menus To review I'll repost Cylindrian's original list of items she wanted condensed into a single sign: Donations/Tips --... [Read More]

Comments

I must try to grasp this after SLelections.

Let me know what you think when you get time to review. It looks to be a 6 part series and should all be posted within a week or so.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Recent Comments

Melynn said: The purple/pink guitar is in small pieces now, so it's a toad-ily mute point anyway. :) That's even more amusing.…

Crap Mariner said: You know, it would be amusing to have the equivalent of a Turing Test to see if people could figure out if a stream of chat is actually from me or if it's from …

Dolmere Talamasca said: One might note that the JIRA bug now has 650 votes for it. Keep 'em coming people, it's easy to login and add your vote if you think something like this is need…

Dolmere Talamasca said: Interesting way of looking at it, Vint. I would think more PA than PS but unpaid labor is still unpaid labor.…

Dolmere Talamasca said: Instead of the typing animation use "UISndTyping" and clear the field to accomplish the closest thing to what I'm looking for (As noted by Jacek at Crap Mariner said: *shrug* Got time to hit the tower on Monday with Cyl and SUPRISE SPECIAL GUEST? Not sure which song... um... Rainbow Connection would be cool basstasstically…