Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split out to-be-common setup stuff from TestOsOwnerSaveAppearance() | Justin Clark-Casey (justincc) | 2011-08-11 | 1 | -15/+33 |
| | |||||
* | only accept npc UUIDs to osNpc* functions, not names (except for create) | Justin Clark-Casey (justincc) | 2011-08-11 | 3 | -24/+20 |
| | |||||
* | Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) ↵ | Justin Clark-Casey (justincc) | 2011-08-11 | 1 | -1/+1 |
| | | | | | | after finishing their movement. This also fixes judder after an avatar has finished "go here"/autopilot movement in a viewer. This meant reseting the SP.AgentControlFlags since the Animator uses these to determine the correct default animation. | ||||
* | Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget() | Justin Clark-Casey (justincc) | 2011-08-10 | 2 | -3/+9 |
| | | | | | | | Default for this function is now not to automatically land. This allows better control by scripts when an avatar is going to be landing on a prim rather than the ground. Stopping the avatar involves faking a collision, to avoid the pid controller making it overshoot. A better approach would be to gradually slow the avatar as we near the target | ||||
* | fly and no fly constants for osNpcMoveToTarget() | Justin Clark-Casey (justincc) | 2011-08-10 | 2 | -1/+5 |
| | |||||
* | early code to allow scripts to force npcs not to fly when moving to target | Justin Clark-Casey (justincc) | 2011-08-10 | 3 | -1/+19 |
| | | | | | this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final. | ||||
* | implement osNpcStopMoveTo() to cancel any current move target | Justin Clark-Casey (justincc) | 2011-08-10 | 3 | -0/+15 |
| | |||||
* | Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵ | Justin Clark-Casey (justincc) | 2011-08-09 | 4 | -10/+153 |
| | | | | | | yet ready for user use. Adds regression test. | ||||
* | Implement first draft functions for saving and loading NPC appearance from ↵ | Justin Clark-Casey (justincc) | 2011-08-09 | 4 | -19/+130 |
| | | | | | | | | | | storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet. | ||||
* | factor out common notecard caching code from 3 methods. | Justin Clark-Casey (justincc) | 2011-08-09 | 1 | -93/+74 |
| | |||||
* | refactor: split out generic parts of osMakeNotecard() into a separate. Add ↵ | Justin Clark-Casey (justincc) | 2011-08-08 | 1 | -58/+99 |
| | | | | method doc. Other minor tidies. | ||||
* | rename test SceneSetupHelpers -> SceneHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -2/+2 |
| | |||||
* | refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify. | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -20/+7 |
| | |||||
* | rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵ | Justin Clark-Casey (justincc) | 2011-08-03 | 1 | -1/+1 |
| | | | | INPCModule | ||||
* | use constants in llGetObjectDetails() rather than magic numbers | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -22/+21 |
| | |||||
* | If object is an attachment, make llGetVel() return the avatar's speed rather ↵ | Justin Clark-Casey (justincc) | 2011-07-15 | 1 | -1/+16 |
| | | | | | | than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575 | ||||
* | Port implementation of llCastRay() from Aurora. | Justin Clark-Casey (justincc) | 2011-07-12 | 3 | -15/+172 |
| | | | | I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer. | ||||
* | refactor: Get LSLString(LSLInteger i) constructor to now call LSLString(int ↵ | Justin Clark-Casey (justincc) | 2011-07-09 | 1 | -9/+7 |
| | | | | i) structure to remove code duplication. | ||||
* | Raw int numbers (ex.LSL Constants) are displayed like "1.000000" when type ↵ | Makopoppo | 2011-07-09 | 1 | -0/+11 |
| | | | | cast to string | ||||
* | Fix osMatchString() so that it reports all instance of pattern matches, not ↵ | Justin Clark-Casey (justincc) | 2011-07-09 | 1 | -3/+3 |
| | | | | | | | just the first one. This is a slight adaptation of the patch in http://opensimulator.org/mantis/view.php?id=4568 which doesn't apply directly since the underlying code was changed by earlier makopoppo patches. Thanks makopoppo! | ||||
* | fix formatting issues from last patch | Justin Clark-Casey (justincc) | 2011-07-09 | 1 | -3/+8 |
| | |||||
* | lsGetWindlightScene() returns raw int value, which makes unable to compare ↵ | Makopoppo | 2011-07-09 | 1 | -2/+3 |
| | | | | to another value with llListFindList() | ||||
* | Made some LSL_Constant or LS_Constant raw int values | Makopoppo | 2011-07-09 | 1 | -2/+7 |
| | |||||
* | Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵ | Makopoppo | 2011-07-09 | 2 | -30/+31 |
| | | | | | | | | | | | | | | | | | | llListFindList() which always returns -1 when you compare with the list from those functions. *llCSV2List *llGetAnimationList *llGetLinkPrimitiveParams *llGetObjectDetails *llGetParcelDetails *llGetParcelPrimOwners *llGetPrimitiveParams *GetLinkPrimitiveParamsEx *osGetAgents *osMatchString *osGetLinkPrimitiveParams *osGetPrimitiveParams *osGetAvatarList | ||||
* | Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵ | Justin Clark-Casey (justincc) | 2011-07-09 | 1 | -1/+1 |
| | | | | (setting SculptData is done through the property) | ||||
* | Create a very basic initial test which just creates an 'npc' and tests that ↵ | Justin Clark-Casey (justincc) | 2011-07-02 | 1 | -1/+0 |
| | | | | the scene presence exists | ||||
* | [PATCH 2/2] [FIX] osGetPrimitiveParams() and osSetPrimitiveParams() | Makopoppo | 2011-06-28 | 1 | -0/+2 |
| | | | | | | crashes throwing System.NullReferenceException Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | [PATCH] osSetSpeed() will accept float number | Makopoppo | 2011-06-28 | 3 | -4/+4 |
| | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | [PATCH] Get osGetWindParam() and osSetWindParam() accessible | Makopoppo | 2011-06-28 | 3 | -15/+14 |
| | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | [PATCH 1/2] Fixed the function names of some OSSL functions shown as | Makopoppo | 2011-06-28 | 1 | -3/+3 |
| | | | | | | threat-level check error message Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | Optionally, don't delete previously compiled scripts on startup | Oren Hurvitz | 2011-06-24 | 1 | -5/+14 |
| | |||||
* | If an llSensor() is in an attachment, make the detection cone face in the ↵ | Justin Clark-Casey (justincc) | 2011-06-03 | 1 | -1/+10 |
| | | | | | | | direction of the avatar, not the relative rotation of the attachment towards the avatar. This is effectively a copy/paste from 459323a, which should be refactored sometime. This seems the obvious problem from field reports but I have not tested the fix myself. Feedback welcome. | ||||
* | Fix Mantis #4429: Allow llGiveInventory to work across sim borders. | Melanie | 2011-05-23 | 1 | -9/+23 |
| | |||||
* | Add stubs for unimplemented lsl functions | BlueWall | 2011-05-22 | 1 | -18/+67 |
| | |||||
* | Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -1/+0 |
| | | | | OpenSim.Tests.Common instead | ||||
* | Implement llGetLinKNumberOfSides(). | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -2/+12 |
| | | | | Based on code in http://opensimulator.org/mantis/view.php?id=5489 Thanks onesong. | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -0/+6 |
|\ | |||||
| * | Add stub for llGetLinkNumberOfSides(integer link) | BlueWall | 2011-05-19 | 1 | -0/+6 |
| | | |||||
* | | ScriptEngine/Shared: Fix bug 5473 (v2). | Kim King | 2011-05-20 | 1 | -2/+4 |
|/ | |||||
* | refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵ | Justin Clark-Casey (justincc) | 2011-05-14 | 1 | -2/+2 |
| | | | | instance methods since it didn't make sense to use anything other than the instance themselves. | ||||
* | simplify code in llGetParcelMaxPrims() to use existing code in LandObject ↵ | Justin Clark-Casey (justincc) | 2011-05-14 | 1 | -18/+4 |
| | | | | rather than duping the algo | ||||
* | Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere ↵ | Justin Clark-Casey (justincc) | 2011-05-14 | 1 | -6/+5 |
| | | | | | | instead of the old 0.22 prims/meter squared fudge factor. Thanks to tglion for this. | ||||
* | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-04-11 | 1 | -10/+4 |
| | |||||
* | Add support for the new display name related functions in LSL. This does not | Melanie | 2011-04-08 | 5 | -4/+97 |
| | | | | | | implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name. | ||||
* | replace magic numbers in llGetParcelPrimCount() with constants | Justin Clark-Casey (justincc) | 2011-04-05 | 1 | -22/+8 |
| | |||||
* | switch llGetParcelPrimCount() to use new prim counts module | Justin Clark-Casey (justincc) | 2011-04-05 | 1 | -46/+39 |
| | |||||
* | check threat configuration for LSL print() | dahlia | 2011-03-31 | 1 | -1/+6 |
| | |||||
* | implement LSL "print()" API function | dahlia | 2011-03-31 | 3 | -1/+13 |
| | |||||
* | Add support for new naming syntax of linked regions to osTeleportAgent and ↵ | Marck | 2011-02-17 | 1 | -15/+2 |
| | | | | osTeleportOwner. | ||||
* | Make osTeleportOwner work in foreign regions by relaxing the restrictions on ↵ | Marck | 2011-02-17 | 1 | -9/+14 |
| | | | | teleporting an agent. |