So, my first (good) foray into Second Life lead me to create this, my first Second Life creation, other than a basic box or other non-exciting object. If you can't tell, it's an up-right Pac-Man arcade machine. I tried my best to make it look just like the original ones, and without using too many prims either. I think the results turned out pretty good. The marquee and the screen even light up at night, just like they should.
Now I need to figure out how to put scripting into it so that when someone inserts money, it plays the Pac-Man start up song. And then I can sell it. >:3
(for virtual monies, yes, so shaddap)
Thanks to
Big-Red for all the help and encouragement!
Now I need to figure out how to put scripting into it so that when someone inserts money, it plays the Pac-Man start up song. And then I can sell it. >:3
(for virtual monies, yes, so shaddap)
Thanks to
Big-Red for all the help and encouragement!
Category Artwork (Digital) / Miscellaneous
Species Unspecified / Any
Size 1097 x 600px
File Size 414.9 kB
No prob, hun. :> Just glad I could help out. Since you're staying at my house, you can put it in your room and I'll help find other furniture for you. I already have a good bed for you, and lots of dresser drawers, couches, rugs, etc.
Great work, sweety. I'll help you learn how to sell it next time I'm on. :3
Great work, sweety. I'll help you learn how to sell it next time I'm on. :3
integer gCorrectAmount = 1; // <-- Set the price here.
default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);
}
money(key id, integer amount)
{
if (amount == gCorrectAmount)
{
llSay(0,"Thank you, " + llKey2Name(id) + ".");
llPlaySound("Pacman",1);
}
else if (amount < gCorrectAmount)
{
llSay(0,"You didn't pay enough, " + llKey2Name(id) + ". Refunding your payment of L$" + (string)amount + ".");
llGiveMoney(id, amount);
}
else
{
integer refund = amount - gCorrectAmount;
llSay(0,"You paid too much, " + llKey2Name(id) + ". Your change is L$" + (string)refund + ".");
llGiveMoney(id, refund);
}
}
}
default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);
}
money(key id, integer amount)
{
if (amount == gCorrectAmount)
{
llSay(0,"Thank you, " + llKey2Name(id) + ".");
llPlaySound("Pacman",1);
}
else if (amount < gCorrectAmount)
{
llSay(0,"You didn't pay enough, " + llKey2Name(id) + ". Refunding your payment of L$" + (string)amount + ".");
llGiveMoney(id, amount);
}
else
{
integer refund = amount - gCorrectAmount;
llSay(0,"You paid too much, " + llKey2Name(id) + ". Your change is L$" + (string)refund + ".");
llGiveMoney(id, refund);
}
}
}
FA+

Comments