I am trying to create different posture for AV like sitting on the beach, sleeping on a bed etc.
is there any spacific process other then using llSitTarget().
share some ideas...
Thanks for the great support.
These forums are CLOSED. Please visit the new forums HERE
How can we create different posture? |
|
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
09-30-2008 03:59
I am trying to create different posture for AV like sitting on the beach, sleeping on a bed etc.
is there any spacific process other then using llSitTarget(). share some ideas... Thanks for the great support. |
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-30-2008 05:36
those would be animations/poses not scripts
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
09-30-2008 05:39
how do i use these animation/poses ?
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-30-2008 05:42
you would of course use a script to activate them, but you would need to buy/make the custom poses, they are not something you can create with a script
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
09-30-2008 05:47
We do not have any way to make the avatar sleep on a prim? if yes how do i ?
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-30-2008 06:11
here's a few links you can check out
Built in Animations http://wiki.secondlife.com/wiki/Internal_Animations Products Wanted Thread Animation Tips Thread you can also look around for a free pose script, there are several of them around in many objects _____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
09-30-2008 07:05
thanks for theses links ,
i am able to download predefined animation in the form of .bvh files from your given links. appriciate if you explain the process how to use them.....? |
|
Malina Chuwen
Evotive
Join date: 25 Apr 2008
Posts: 502
|
09-30-2008 20:24
Try posting under the Animations forum, not Scripting
![]() _____________________
-- Please do not PM =) Average wait time for me to notice can be up to a week in some cases, lol. IM/Notecard in game. I do have PMs on but prefer in game.
|
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
10-01-2008 02:13
In the case of "sleep" animation, with given below code ....my problem is AV is not sleeping according to me.I want it to sleep with respect to my prims positions and rotations.
Show some light over this........ touch_start(integer total_number) { llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION); } run_time_permissions(integer perm) { if (perm & PERMISSION_TRIGGER_ANIMATION) { llStartAnimation("Sleep" ;llOwnerSay("animation will end in 5 seconds" ;llSetTimerEvent(5.0); } } timer() { llSetTimerEvent(0.0); llStopAnimation("Sleep" ;} } |
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
10-01-2008 03:23
If you want the avatar to be positioned/rotated according to a particular object, then the avatar has to be sitting on that object. You will probably need to use llSitTarget for that:
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSitTarget |
|
LIO Diesel
Registered User
Join date: 2 Sep 2008
Posts: 28
|
10-01-2008 03:42
I am trying to make possible to sleep an avtar over prim. but when i use LLStartAnimation() function, it will make sleep AV at the same position where it was standing.
where should i use llSitTarget() function so that it will sleep proper. |
|
Seshat Czeret
Registered User
Join date: 26 May 2008
Posts: 152
|
10-01-2008 04:20
key avatar=NULL_KEY; // So we can keep track of which avatar is sitting on us
on_rez(integer ignored) { llResetScript(); } // You should probably read the llSitTarget section in the wiki. None of us will be able // to tell you which offset and rotation to use: it depends entirely on the animation & // the prim itself. state_entry() { llSitTarget(<put,your,offset>,<and,your,rotation,here> ; // Determines where on // the prim an avatar sits } // This replaces the 'touch_start' in LIO's script. // The avatar should sit on, not touch, the prim. changed(integer change) // Someone may be sitting on this prim { if (change & CHANGED_LINK) // It's almost certainly someone sitting on or getting off { avatar = llAvatarOnSitTarget(); if (avatar) // Yup, someone sitting on the prim { llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION); } else // Probably someone getting off { llStopAnimation("Sleep" ; // Release them from the anim when they get up} } } // Run time permissions can be identical to those in LIO's script // Timer is almost the same, but with the addition of llUnSit. timer() { llSetTimerEvent(0.0); llStopAnimation("Sleep" ;llUnSit(avatar); // Boot the avatar off the prim } _____________________
My blog: http://seshat-czeret.blogspot.com/
My shop: http://slurl.com/secondlife/Achlya/199/185/102 |