Justin Clark-Casey (justincc)
|
824318a0c1
Go back to setting appearance directly in NPCModule.SetAppearance() to fix mantis 5914
|
12 년 전 |
Justin Clark-Casey (justincc)
|
c906128191
Fix some logic mistakes where firstly osNpcCreate() without options was creating npcs sensed as agents and secondly the OS_NPC_SENSE_AS_AGENT option was having the opposite effect.
|
12 년 전 |
Dan Lake
|
2ebb421331
Refactor appearance saving for NPC to use AvatarFactoryModule interface.
|
12 년 전 |
Justin Clark-Casey (justincc)
|
9c84a8162f
If NPCModule.CreateNPC() fails to create the required ScenePresence (which should in theory never happen), don't add the NPC to the npc list but return UUID.Zero instead.
|
12 년 전 |
Justin Clark-Casey (justincc)
|
dbe32a1f6d
minor: put in commented out logging statements for future reuse
|
12 년 전 |
Justin Clark-Casey (justincc)
|
ce34b359ad
Extend m_avatars lock in NpcModule.CreateNPC over both creation of NPC scene presence and population of m_avatars.
|
12 년 전 |
Justin Clark-Casey (justincc)
|
7837c611fb
Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().
|
13 년 전 |
Justin Clark-Casey (justincc)
|
ba3491c76e
Add permissions checks for owned avatars to all other osNpc* functions.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
b47c0d7e51
refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.
|
13 년 전 |
Melanie
|
7518b075b7
Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
28c4dc9be4
Fix NPC sitting for prims without a sit target.
|
13 년 전 |
Dan Lake
|
da794f34a5
Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of scene presence by client ID.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
de161585c0
Implement osNpcStand(<npc-id>)
|
13 년 전 |
Justin Clark-Casey (justincc)
|
0c041ce12f
Implement osNpcSit(). This is still in development so don't trust it
|
13 년 전 |
Justin Clark-Casey (justincc)
|
d358125cac
Reinstate option to land an npc when it reaches a target.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
241e07d006
Move code which handles NPC movement into Scene so that this can also be used by Autopilot coming from the client side.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
7d58b5fa15
move common code into AttachmentsModule.DeleteAttachmentsFromScene()
|
13 년 전 |
Justin Clark-Casey (justincc)
|
32444d98cb
Make SP.Attachments available as sp.GetAttachments() instead.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
04bafd2122
refactor: Move ScenePresence.RezAttachments() into AttachmentsModule
|
13 년 전 |
Justin Clark-Casey (justincc)
|
c1a34cd8da
Don't try to save changed attachment states when an NPC with attachments is removed from the scene.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
acfdca34fd
Fix issue where loading a new appearance onto an NPC would not remove the previous attachments from the scene.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
4b88f04c0a
minor: On "login disable/enable" always tell the user the final login status, rather than remaining silent if it was already on/off
|
13 년 전 |
Justin Clark-Casey (justincc)
|
50945dd560
add regression test for osNpcCreate when cloning an in-region avatar
|
13 년 전 |
Justin Clark-Casey (justincc)
|
1aa1711893
eliminate the rotation parameter from SP.HandleMoveToTargetUpdate(). This can just use the currently set Rotation
|
13 년 전 |
Justin Clark-Casey (justincc)
|
36f7d36fa1
instead of setting avatar rotation twice in SP.HandleAgentUpdate(), eliminate the second setting in AddNewMovement()
|
13 년 전 |
Justin Clark-Casey (justincc)
|
4402851b08
Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) after finishing their movement. This also fixes judder after an avatar has finished "go here"/autopilot movement in a viewer.
|
13 년 전 |
Justin Clark-Casey (justincc)
|
7f499ff3f3
Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()
|
13 년 전 |
Justin Clark-Casey (justincc)
|
5d6c9644fa
early code to allow scripts to force npcs not to fly when moving to target
|
13 년 전 |
Justin Clark-Casey (justincc)
|
4cb8d6379d
Stop trying to deregister caps or close child agents when an NPC is removed
|
13 년 전 |
Justin Clark-Casey (justincc)
|
195c1dc9b8
implement osNpcStopMoveTo() to cancel any current move target
|
13 년 전 |