Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I set up Products with Scripts?

Adrianna Wisent
Registered User
Join date: 15 Sep 2007
Posts: 2
10-10-2007 09:50
I have been searching everywhere online..google and secondlife for a Tutorial on how to set up and display products inside a second life store. Like how to box your product when your done making it. How to put that box into a photo on the wall for selling your product (which i know has some script for that)

Is there a step by step process on setting up and displaying products and how to use these scripts to sell your products and may'be even where to buy them or get them for free?

I have set up my store and would like to sell some products soon..but I really need
to know how to set up and display my products. I would rather use this than a vendor.
I heard people like these more. When I mean a vendor I'm talking about the display
image on the wall and you click arrows for next and are able to buy something from there
if you wish.

I don't want that. I want the kind of script that when you click a image of your product on your store wall it has a pop up of payment and displays the items on the pop up and the price and pay now or buy. I want that :)

If anyone can be kind and help me ..I would be very happy.
Please don't bother to reply if you want to leave any rude comments
on my post :) Thank you! ( I'm just another person confused and needs help)

Adrianna
Okiphia Rayna
DemonEye Benefactor
Join date: 22 Sep 2007
Posts: 2,103
10-10-2007 10:22
Not sure if this is what you want BUT...

you can just put the product into a box, resize the box to be a sign, texture it with an image of the product, and set it for sale for the price you want to sell it as. THen set it to sell its contents, not original or copy, and set the auto-click function to buy (All of this is in object params in the build window).

Then throw this script in the box for a label::

default
{
state_entry()
{
llSetText("Product name \n Product price",<0,1,0>,1);
}
}

But replace Product name and product price with your info.

That will set a green floating text label that is two lines, the first is the product name, the second is the price.

All in all it creates a sign that you click to buy the object that is shown by the image on the sign. You cant switch items in it, it just sells one item (Or however many you put in it, all together)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-10-2007 10:34
create your picture vendor like normal, name it something useful like the product name, on the edit->general part, tick sell, set your price, tick contentss (under sell), and then on the very bottom of the general tab set "when left clicked" to "buy"

also make sure the object you put in the display have copy permissions, and next owner permissions set

that's the simplest (no script required) method

and please I beg you... don't just make a big cube... box vendors don't need to be ugly, make it as a portrait that would hang on a wall, or something like a box for a video game.... big square boxes say "I'm lazy, and this propbobly isn't worth your money"

PS. I'm begging you, you don't use the set text.... just make an image for the box vendor, that has the name price permissions on it... those texts really look ugly floating through your neighbors walls, or hanging half outside your store...

EDIT: ok that's the 3rd time this week I've posted to something and a previous reply over 5 mins older than my clicking "post" hasn't shown up before, but did after... meh
Okiphia Rayna
DemonEye Benefactor
Join date: 22 Sep 2007
Posts: 2,103
10-10-2007 10:41
From: Void Singer

and please I beg you... don't just make a big cube... box vendors don't need to be ugly, make it as a portrait that would hang on a wall, or something like a box for a video game.... big square boxes say "I'm lazy, and this propbobly isn't worth your money"


I agree wholeheartedly... when I make a vendor 'box' I make it .01 x 2 x 2 (Or something similar) so that it can go on a wall like a painting or art. If it's something a picture won't do for, I actually use the object itself as the vendor. In my shop I'm building walls to have the 'poster' vendors so I don't just have boxes sitting there... Every time I go someplace and see it full of boxes, and I'm looking for a product, I honestly just leave. I don't look at the quality, I just expect it to be worse, since they were too lazy to take a minute to make a good-looking vendor.
Adrianna Wisent
Registered User
Join date: 15 Sep 2007
Posts: 2
Thank you all soooooooooooo much :)
10-10-2007 12:56
I printed out what you told me and will use it :) I am so grateful for all your time
and can't say enough thank yous.. thank you all again!

Adrianna :)