Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Changing your clothing with a script?

Drake Pendragon
Drake Pendragon
Join date: 28 Dec 2003
Posts: 4
03-22-2006 02:46
hello, I am in the middle of making an update to one of my AV's and it would really ad to the effect i need if it were possible to take an object of clothing of by a voice command script or even change skins with a script. From those I've talked to this is most likely impossible at the moment. If this is impossible I would like to suggest it's "possability", in perhaps a new update down the road. If any of this IS possible.... PLEASE LET ME KNOW!! I would even accept a collect call if it was to tell that this is doable....... ok enough blabbering. -Drake :confused: :D :confused:
_____________________
-Drake Pendragon

visit Jiminy Cricket's Movie AV store

*^* Located in Jiminy *^* 500L for most AV's
OVER 30 AVS in stock!
Buck Weaver
Unsolicited Onterator
Join date: 18 May 2003
Posts: 251
03-22-2006 03:21
Did you ever buy clothing and after purchase, find that you are now wearing it?
Why not use that feature to change clothes?
You could have your new outfit ready in a box set for sale with the Wear Clothing Now box checked.
_____________________
My karma ran over your dogma.

Thoughts become things.
Drake Pendragon
Drake Pendragon
Join date: 28 Dec 2003
Posts: 4
That might work for some items..
03-22-2006 03:27
Thank you for replying. Yes that might work for some things but for this particular av at the very least, if i could have all the clothes dissapear by voice command... that would be great. This is really starting to sound awkward but it's not nearly as bad as it sounds... per haps I'll explain Exactly what i'm working on in a future post lol. -Drake


oh! p.s. I would also need to have the clothes come back on by voice command too... LOL
_____________________
-Drake Pendragon

visit Jiminy Cricket's Movie AV store

*^* Located in Jiminy *^* 500L for most AV's
OVER 30 AVS in stock!
Erin Talamasca
Registered User
Join date: 18 Sep 2005
Posts: 617
03-22-2006 04:18
From: Drake Pendragon
if i could have all the clothes dissapear by voice command... that would be great.


Sorta like "TA DAAAA!"? :D
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
03-22-2006 04:25
There isn't a scripted change clothes option - but there is a proposal for it at http://secondlife.com/vote/index.php?get_id=83 - please feel free to go and add your votes.
Rev Eponym
21st Century Schizoid Man
Join date: 28 Feb 2006
Posts: 21
03-22-2006 07:51
I was looking through the LSL Wiki with this same idea in mind, but when I found an assertion that scripting can't maipulate your Inventory, I realized it was probably impossible. Then I considered that not having scripts affect your Inventory was actually a really, really good thing. :rolleyes:
Dianne Mechanique
Back from the Dead
Join date: 28 Mar 2005
Posts: 2,648
03-22-2006 08:05
From: Rev Eponym
I was looking through the LSL Wiki with this same idea in mind, but when I found an assertion that scripting can't maipulate your Inventory, I realized it was probably impossible. Then I considered that not having scripts affect your Inventory was actually a really, really good thing. :rolleyes:
No, it's completely possible, the Lindens just don't want to do it for some reason. As far as I am aware "wear" is a property of an inventory item.

Obviously there are a lot of bad things that could be done if you could script Inventory items, but thousands of really helpful things could be possible as well.

Three may be some technical reason why it's never done, but now that it's a feature vote, we will likely never know. ;)
_____________________
.
black
art furniture & classic clothing
===================
Black in Neufreistadt
Black @ ONE
Black @ www.SLBoutique.com


.
Sheila Plunkett
On The Prowl!
Join date: 25 Dec 2005
Posts: 67
03-23-2006 04:02
Reason might be that there's no current function that allows a script you own to manipulate your inventory. So you cannot wear anything from there, either.

The reason why you can't access your AV's inventory might, for once, be an asset server load issue (performance, load), an, on the other side.. a griefing issue. What if I sell you an object that's got a script inside it that deletes your entire inventory?

So.. it's not _that_ easy ^.^

*meow*
Sheila!
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
03-23-2006 08:34
I agree, a script with complete access to your inventory would be a disaster. What I'd like to see is something that uses the existing llRequestPermissions() format, adds (say) PERMISSIONS_WARDROBE and this lets you toggle clothes and attachements between worn and not worn and that ONLY.

No making new inventory items. No direct ability to manipulate your inventory to grief and throw things away etc. Ironically we can (partially) do this for attachments: if someone makes me an entirely prim costume which is copiable I can make an attachment that will, on command rez the clothes, attach them to me (with some clicks) and on some other command will detach them singly, in groups or all. Because we don't have the power to attach directly from the inventory (changes a flag I suspect, that's all, certainly no worse than rezzing an object or changing textures) you need the copiable version and the poor wearer will have to tidy up their own inventory. (In that sense permission attach makes more inventory items already.)

llRequestPermissions already requires a key (so no name spoofing). I can still think of a lot of people that would love to be able to script their outfits this way.
Griffin Oud
Registered User
Join date: 16 Apr 2005
Posts: 7
03-23-2006 08:56
From: Eloise Pasteur
Ironically we can (partially) do this for attachments: if someone makes me an entirely prim costume which is copiable I can make an attachment that will, on command rez the clothes, attach them to me (with some clicks) and on some other command will detach them singly, in groups or all.


If you can make the outfit you're thinking of with prims then you wouldn't have to rez and unrez them rather you could make them transpartent. You could also change the texture on them if you wanted a 'different' outfit with all the same pieces.

A problem point would be that each piece would get a new ID evey time you rez it. I don't think wearing an item causes a new one to be created but buying it or recieving one as a gift certainly will. The items would have to have some system for discovering one another. If you just went on names you'd have to worry about folks wearing the same outfit and the general additional lag of having your scripts talk and listen to everything instead of a more directed comunication.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
03-23-2006 13:40
Yes, you absolutely could. But read the title of the thread - I was trying to point out that, to some extent, we can affect things in our inventory through scripts in the same way that I'd *like* to be able to affect clothing through scripts.