Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Wearable chair

Baica Merlin
Registered User
Join date: 2 Jun 2008
Posts: 8
06-11-2009 09:09
Hopefully there's someone in here who can help me figure this out.

I want to make a wearable chair. I guess i need a script or something but i can't figure out what kinda script, and how to attach it to my avatar.
And is it possible to wear a chair (By wearing the chair i mean that the chair must be a wearable item) that comes with a HUD filled with different poses?
Malia Writer
Unemployed in paradise
Join date: 20 Aug 2007
Posts: 2,026
06-11-2009 10:09
Been wondering this too.

/me watches thread
_____________________
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
06-11-2009 11:14
It's a really creative idea, very cute thing to do in nobuild areas! First a caveat: there are much better builders/scripters than me in the forums, so if someone says I'm full of it, go with whatever they say :) That said:

I see one big difficulty with it: keeping the chair on the ground.

Because the chair is attached to an avatar, you could not do this if the avatar, for example, wanted to get up and dance around the chair. The chair would swing wildly around.

But, if all you wanted to do was sit or stand in poses where the attachment point didn't move, then it could be done.

The only tricky part then comes if you're using poses you buy, as opposed to poses you make. If you just play a bunch of "sit" poses out of your inventory, you notice that you are sitting in slightly different heights and rotations with many of them. So, for every sit you add to the chair, you probably want to position the chair differently, so that it LOOKS like it doesn't move (much), and like you're actually sitting on it. Note that this "repositioning" would also give you the ability, for example, to use an animated pose where you're standing with one foot on the chair, tapping your foot and smoking a cigarette. All this can be done via script.

If you are making the poses yourself, and you can make them all so that there's an attachment point that is always in the same place, then you wouldn't need to reposition the chair for every pose, even.

[In fact, you also may want to attach a different chair (maybe a stool) for some poses. That can be done with the same script, but let's get the basics down first.]

So, you really only need three things:

1. A mod/copy chair
2. Poses/animations where the chair's attachment point stays in one place during the pose (attachment points that don't move much are spine, chest and stomach)
3. A script that:
-- Puts up a menu of poses to choose from (you don't need a separate HUD, though you could do it that way)
-- Runs the animations (gets/surrenders permissions, plays and stops animations based on menu choice)
- Adjusts the attachment position whenever a new animation is played.

Very fun little project!
:)
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
06-11-2009 11:52
I bought one of these a long time ago. It's still fun to play with.

https://xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=366045
_____________________
Visit ChereeMotion - Life's Best Pinup Poses
http://slurl.com/secondlife/Wild%20Rice/38/230/51
Virrginia Tombola
Equestrienne
Join date: 10 Nov 2006
Posts: 938
06-11-2009 12:03
Easiest, no scripting way I can think of to do this would be to grab a freebie AO like the ZHAO and fill it with your various sit animations. Set it so those animations play, no matter whether you are walking, flying or even sitting. Wear the AO, select a sit animation of choice, then right click on your favourite comfy chair in inventory and attach it to your avatar somewhere. Edit the chair into place, and la :)
_____________________


Horses, Carriages, Modern and Historical Riding apparel. Ride a demo horse, play whist, or just loiter. I'm fair used to loiterers.

http://slurl.com/secondlife/Caledon%20Eyre/48%20/183/23/
Baica Merlin
Registered User
Join date: 2 Jun 2008
Posts: 8
06-11-2009 14:44
From: Nika Talaj
It's a really creative idea, very cute thing to do in nobuild areas! First a caveat: there are much better builders/scripters than me in the forums, so if someone says I'm full of it, go with whatever they say :) That said:

I see one big difficulty with it: keeping the chair on the ground.

Because the chair is attached to an avatar, you could not do this if the avatar, for example, wanted to get up and dance around the chair. The chair would swing wildly around.

But, if all you wanted to do was sit or stand in poses where the attachment point didn't move, then it could be done.

The only tricky part then comes if you're using poses you buy, as opposed to poses you make. If you just play a bunch of "sit" poses out of your inventory, you notice that you are sitting in slightly different heights and rotations with many of them. So, for every sit you add to the chair, you probably want to position the chair differently, so that it LOOKS like it doesn't move (much), and like you're actually sitting on it. Note that this "repositioning" would also give you the ability, for example, to use an animated pose where you're standing with one foot on the chair, tapping your foot and smoking a cigarette. All this can be done via script.

If you are making the poses yourself, and you can make them all so that there's an attachment point that is always in the same place, then you wouldn't need to reposition the chair for every pose, even.

[In fact, you also may want to attach a different chair (maybe a stool) for some poses. That can be done with the same script, but let's get the basics down first.]

So, you really only need three things:

1. A mod/copy chair
2. Poses/animations where the chair's attachment point stays in one place during the pose (attachment points that don't move much are spine, chest and stomach)
3. A script that:
-- Puts up a menu of poses to choose from (you don't need a separate HUD, though you could do it that way)
-- Runs the animations (gets/surrenders permissions, plays and stops animations based on menu choice)
- Adjusts the attachment position whenever a new animation is played.

Very fun little project!
:)


Wanna help? lol I sure could use some.
Rygel Ryba
Registered User
Join date: 12 Feb 2008
Posts: 254
06-11-2009 14:50
These are free - and open source:
https://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=123

It's really just an animation override. When you attach it - it puts you in a sitting pose - no matter if you are standing still or moving. They tend to be made a wheelchairs, but any object would do.

Add a menu that picks a new sit animation and it's got multiple poses - though obviously it's not quite that simple and not all poses are going to work for it. But the basic idea is sound.

Start with these though and look inside and you'll be able to see what they are doing.
Baica Merlin
Registered User
Join date: 2 Jun 2008
Posts: 8
06-11-2009 15:06
From: Rygel Ryba
These are free - and open source:
https://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=123

It's really just an animation override. When you attach it - it puts you in a sitting pose - no matter if you are standing still or moving. They tend to be made a wheelchairs, but any object would do.

Add a menu that picks a new sit animation and it's got multiple poses - though obviously it's not quite that simple and not all poses are going to work for it. But the basic idea is sound.

Start with these though and look inside and you'll be able to see what they are doing.


I have that one also but as i said before i'm not that smart when it comes to scripting so i didn't understand a thing of it ;) But i will take a closer look on it tomorrow again. There comes a time when i get the hang of it :)
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-12-2009 05:17
I have one too in my litle shop :)
I can customize something for you too -just IM me
BR
ab
_____________________
BR ab