[Opensim-users] Question about NPCs and attachments (Chris)
Chris
mewtwo0641 at gmail.com
Thu Feb 6 03:18:38 UTC 2014
As far as I can tell the notecard is valid; I've also tested with a
direct clone using osNpcCreate("Test", "NPC", llGetPos(),
cloners_UUID_here);
On some further fiddling with it, it seems like the latest master is
having some slight issues with baking; where I can tell that sometimes I
end up with a completely white avatar after removing entire folder
contents that contain attachments, skin, shape, etc., or sometimes it
just won't bake correctly at all when I wear an entire folder (or
sometimes individual clothing items). I found that I had to force a
rebake a few times (ctrl alt R) before NPC creation in order to get the
NPC to not load as a cloud.
I believe you may be right as far as NPC's not supporting multiple
attachments. That's a bummer as I've been wanting to experiment with
more and more complex NPCs and attachment scripting :)
On 2/5/2014 2:40 PM, Fred Beckhusen wrote:
> Do you have a valid appearance notecard? This looks like the
> appearance is corrupt.
>
> It is very likely that NPC's cannot take multiple attachments, as that
> is both a viewer function ( to attach) and a server function ( to
> report it),
> and NPC's are fairly old and thus pre-date multiple attachments.
>
>
> --ooo------/\/\/\-----|(------ooo------/\/\/\-----|(------ooo----
> Fred K. Beckhusen
> President
> Micro Technology Services, Inc.
> fred.b at mitsi.com
> tel: (888) 230-MTSI Toll Free
> cel: (469) 951-7635
> http://www.mitsi.com
> On 2/5/2014 2:31 PM, Chris wrote:
>> 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) ).
>>
>> On 2/5/2014 6:10 AM, Fred Beckhusen wrote:
>>> re Chris: "NPC won't render correctly" "If the avatar is wearing
>>> one attachment per attach point then it works
>>> as expected and everything renders properly."
>>>
>>>
>>> Does it still happen if you first put on the attachments, and then
>>> take them off, and put them back on again?
>>>
>>> I see your symptoms if that procedure is not followed, even for
>>> single attachments, as Opens only saves the position when removed,
>>> and not when attached.
>>>
>>>
>>> Ferd Frederix/Fred Beckhusen
>>>
>>>
>>
>>
>
--
OpenSim: 10 Region Standalone on 0.7.6 Dev
Physics: Open Dynamics Engine
OS: Windows 7 (x64)
CPU: AMD Phenom II X4 840 3.2 GHz
Memory: 11 GB DDR3
Database: MySQL 5.1.63 (x64)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20140205/33b2770e/attachment.html>
More information about the Opensim-users
mailing list