[Opensim-users] Question about NPCs and attachments

dz dz at bitzend.net
Thu Feb 6 16:22:13 UTC 2014


Subject: Re: [Opensim-users] Question about NPCs and attachments
>         (Chris)
> ...
>
> Hmm I can't tell now. On the latest master the NPC rezzes in as a cloud
> and on the console I see this:
>
> 14:06:35 - [NPC MODULE]: Created NPC
> 8e0fd659-78a7-4e41-8187-d420d9d7e577 New NPC
> 14:06:40 - [AVFACTORY]: user 8e0fd659-78a7-4e41-8187-d420d9d7e577 has no
> inventory, appearance isn't going to work
>
> It has been past experience though that it doesn't matter if I detach
> every thing first then reattach.
>
> I have seen that if I make a change to an attachment and then create an
> NPC that change won't be reflected on the NPC's version of the
> attachment until I first detach the attachment(s) and then reattach. But
> to my knowledge I've never been able to get an NPC to render correctly
> if it had more than one attachment on the same attach point (Such as
> Hair (skull), Hat (skull), Pants (Pelvis), Belt (Pelvis) ).
>
>
 I had not attempted multiple attachments for a while.  Testing this
morning indicates that only the first attachment on each attach point will
be saved and re-rez properly.   I cannot re-create your "it causes my NPC
to be a cloud" problem.  For me, the NPC rezzes consistently with the
single attachment.

I saw some interesting screen flashes while rezzing a bunch of the
testbots.  On some of the rezzes it looked like the initial attachment
occured, then  the second attachment was rezzed on the ground at the NPC's
feet and then de-rezzed again promptly.   That may indicate the attachment
was saved into the notecard and the osNPCgenerate function is the point of
failure...

I have been using scripted attachments on NPCs for some time.  Outside of
making sure the scripts can properly identify who they are attached to, and
leaving a couple seconds between NPC rezzes to allow the scripted objects
to initialize.  I haven't had any other issues...

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20140206/a0a34f5e/attachment.html>


More information about the Opensim-users mailing list