Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Avatar morphing - human to werewolf

Danger359 Nightfire
Registered User
Join date: 29 Dec 2007
Posts: 9
06-08-2008 16:56
I have character I roleplay who is a werewolf. "normally", she is a beautiful, if slightly ditsy, gal. A werewolf, she large, angry and very dangerous.

I have shapes and skins for the normal and the werewolf and one intermediate stage. There are clothes to change and attachments to add / remove. Everything is in my inventory.

I would love a script, to put in an invisible prim, attached to my AV, that when touched would initiate the transformation from normal to werewolf. Perhaps with timed changes, poses, gestures and such. And another, to cause the transformation back.

Is the put on / take off of clothes and attachments for an AV something that can be done in LSL? I have not found what I need yet.

Ideas?

Thanks.
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
06-08-2008 17:26
simplest transitions are done with transparency, all prims are always there, most are just invisible.
works, but causes log loading time of invisible textures and long avatar rendering costs.

I wrote something that could change a prims parameters in a smooth accellerating sigmoid fashion to any given target at any time, and it could accellerate its change towards the actual target in color, glow, size, flexparams, taper... (not using llsin, but the accelleration behaviour of a "careful driver".
So you just give that script targets and it calculates intermediate steps per time difference.
so far this may just be too much without the mono compiler performance and memory wise and there was no further testing, but the "signoid accelleration towards a target" math works on simple numbers.
Still have not done intermediate textures though, likely never will.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-08-2008 17:26
Not clothes, skins, shapes, and such. It would be really nice to be able to dynamically attach such things, or to be able to change them programmatically (set the head tattoo texture, for example), but this isn't currently possible in LSL. You'd need a custom client of some kind.

You CAN work with attachments, but it is usually easier to reshape/reposition them than it is to attach them dynamically. Also, they can only be attached from in-world, so you'd at least need a single attachment or in-world object to rez the others that then request attach permissions and do the attaching. Also, when you (or the attachment) detaches, the attachment will remain in your inventory.

In all, it might be easier to just have two convenient folders in a good place to quickly to drag onto your avatar. If you wanted an interactive element, have an attachment in each outfit that another resident can touch, that will give you a llOwnerSay() message telling you it is time to change. Sounds like it could be a very interesting roleplaying tool.
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
06-08-2008 17:39
You can bundle all your clothes into a folder and just drag them onto yourself. That will stitch you at once. As for times sounds and animations. You can time them but they never play at the same place twice. I have never been able to get sound and motion tweened well anyway. But invis to reguar textures maybe a good start. You can invis whatever you want and then switch it over. there are a few transformable avatars. They use this sort of premice.
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
06-08-2008 17:47
-del-
foehn Breed
More random than random
Join date: 16 Jan 2006
Posts: 1,142
06-08-2008 18:24
Grendels has a morphing - human to werewolf and vice versa.
Check the store for details :)
_____________________
You have no friends online at this time. "Excellent!"

Einstein "I never think of the future. It comes soon enough."
Danger359 Nightfire
Registered User
Join date: 29 Dec 2007
Posts: 9
thanks - keep the ideas coming
06-08-2008 20:26
lots of great ideas here. much appreciated.

The invisiprims idea has a lot of promise.

The "dragging folder" idea right now seems the cleanest, but it sort of breaks the spell during role play.

Attach/detach can be done via script. So possible attachments can put put into prims containing the appropriate scripts.

Too bad about clothes/skin/shape. I wonder....

I wish everything you could do with the client interface had chat or keystroke equivalents - then I could write keyboard macros to do what I need.
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
06-09-2008 15:29
I would suggest checking out the Restrained Life Viewer.

http://wiki.secondlife.com/wiki/LSL_Protocol/RestrainedLifeAPI

Although mainly intended for the BDSM roleplayers the latest version does allow clothing and attachments to controlled via script.

I'm pretty sure you will be able to do what you want using this.
Shadow Subagja
Registered User
Join date: 29 Apr 2007
Posts: 354
06-09-2008 16:47
The problem with invis attachments and textures is that you can only attach one. Thats why a generic prim to prim morphing script has appeal (even if its just a hard switch between two saved states without interpolation) as Ollj indicates, at least for prim based avatars. Still that limits you to changing your prim attachments.

Modifying your shape/skin etc with a custom viewer is an option, but tying yourself to a viewer sort of sucks in general too, especially if its a BSDM viewer that could go any direction at any time, and not a were/roleplay viewer which you could at least expect to evolve in a direction that will suit your needs.

Maybe some of those solutions mentioned have some clever tricks that work better but personally I just hope some fundamental changes are eventually made to support this sort of thing so users can stop walkin around wearing multiple copies of everything in every hand and toggling them on and off.. it just makes for more lag.
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
06-10-2008 00:37
Yes being able to have a script swap body shapes would be good.
_____________________
Level 38 Builder [Roo Clan]

Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107)

Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107)