aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tidy up some OSSL NPC parameter namesJustin Clark-Casey (justincc)2011-08-121-21/+21
|
* rename position parameter in osNpcMoveToTarget to targetJustin Clark-Casey (justincc)2011-08-121-2/+2
|
* rename osNpcStopMoveTo() to osNpcStopMoveToTarget()Justin Clark-Casey (justincc)2011-08-121-1/+1
|
* Allow the osNpcCreate() function to accept a notecard name or asset for ↵Justin Clark-Casey (justincc)2011-08-121-4/+24
| | | | initial appearance
* implement osNpcGetPos()Justin Clark-Casey (justincc)2011-08-111-0/+21
|
* implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)2011-08-111-4/+53
| | | | Rotation works if done around the z axis. Anything else leads to random results.
* Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)2011-08-111-4/+31
| | | | | | region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
* add regression test for osNpcCreate when cloning an in-region avatarJustin Clark-Casey (justincc)2011-08-111-1/+5
|
* only accept npc UUIDs to osNpc* functions, not names (except for create)Justin Clark-Casey (justincc)2011-08-111-15/+11
|
* Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) ↵Justin Clark-Casey (justincc)2011-08-111-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-101-3/+8
| | | | | | | 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-101-1/+1
|
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-1/+13
| | | | | 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 targetJustin Clark-Casey (justincc)2011-08-101-0/+9
|
* Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)2011-08-091-10/+41
| | | | | | 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-091-13/+91
| | | | | | | | | | 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-091-93/+74
|
* refactor: split out generic parts of osMakeNotecard() into a separate. Add ↵Justin Clark-Casey (justincc)2011-08-081-58/+99
| | | | method doc. Other minor tidies.
* rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to ↵Justin Clark-Casey (justincc)2011-08-031-1/+1
| | | | INPCModule
* Fix osMatchString() so that it reports all instance of pattern matches, not ↵Justin Clark-Casey (justincc)2011-07-091-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!
* Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo2011-07-091-6/+7
| | | | | | | | | | | | | | | | | | 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
* Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)2011-07-021-1/+0
| | | | the scene presence exists
* [PATCH 2/2] [FIX] osGetPrimitiveParams() and osSetPrimitiveParams()Makopoppo2011-06-281-0/+2
| | | | | | crashes throwing System.NullReferenceException Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH] osSetSpeed() will accept float numberMakopoppo2011-06-281-2/+2
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH] Get osGetWindParam() and osSetWindParam() accessibleMakopoppo2011-06-281-3/+3
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH 1/2] Fixed the function names of some OSSL functions shown asMakopoppo2011-06-281-3/+3
| | | | | | threat-level check error message Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck2011-02-171-15/+2
| | | | osTeleportOwner.
* Make osTeleportOwner work in foreign regions by relaxing the restrictions on ↵Marck2011-02-171-9/+14
| | | | teleporting an agent.
* minor: add comment explaining that GetRegionsByName needs to stay in ↵Justin Clark-Casey (justincc)2011-02-121-0/+2
| | | | TeleportAgent for its side effects.
* For now, reinstate the call to World.GridService.GetRegionsByName() ↵Justin Clark-Casey (justincc)2011-02-051-1/+3
| | | | | | commented out in 933f47e Even though we don't use the results, just getting the regions may have side effects in making hypergrid links available for the later World.RequestTeleportLocation()
* Comment out unused call to GridService in TeleportAgent()Justin Clark-Casey (justincc)2011-01-281-1/+1
|
* Fix osTeleportAgent and osTeleportOwner for the case that GridService is ↵Marck2010-12-201-11/+5
| | | | used with a storage provider other than NullRegionData.
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-131-1/+1
| | | | | | | Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
* More OSSL function name normalization, this time for osParcelSetDetails.Marck2010-12-111-3/+15
|
* Normalization of OSSL function names.Marck2010-12-101-9/+62
| | | | | | | | | | | | | | | | | Added the following replacement functions for compliance to the OSSL standards stated on the wiki: osGetTerrainHeight osSetTerrainHeight osGetSunParam osSetSunParam osSetPenColor The functions that do not comply to the standard give a warning when used but work normally otherwise. The graphics primitive drawing command "PenColor" has also been added as well as dynamic texture parameter "bgcolor" as an alternative to "bgcolour". The following two functions have been renamed because they are not enabled yet aynway: osWindParamSet => osSetWindParam osWindParamGet => osGetWindParam
* Change all restarting to use the restart module. Remove hardcoded behaviorMelanie2010-11-251-3/+22
|
* Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)2010-11-171-1/+17
| | | | | This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
* Fix osTeleportAgent for hypergrid destinations.Marck2010-11-161-1/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add osTeleportOwner.Marck2010-11-161-2/+30
| | | | | | | This provides the same functionality as osTeleportAgent but without the griefing potential. Region owners need not be concerned about the use of this function because it only allows to do what is already possible with the world map. The intended use is with HUDs. For example, a list of (hypergrid) destinations could be made available for quick access. Signed-off-by: Melanie <melanie@t-data.com>
* Adding osFunctions for light projectionBlueWall2010-10-171-0/+42
| | | | | | | | | | | | | | | | | | | | | Set the projection parameters in the host prim ... osSetProjectionParam(bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Set the projection parameters in a target prim ... osSetProjectionParam(ikey target uuid, bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Threat Level very high Signed-off-by: Melanie <melanie@t-data.com>
* Formatting cleanup.Jeff Ames2010-09-121-3/+3
|
* Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto2010-08-161-2/+0
| | | | TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
* osGetAvatarList: Use AbsolutePosition instead of the position of the physics ↵Tom Grimshaw2010-06-141-6/+3
| | | | actor, or the avatar disappears when they sit down.
* Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker2010-06-111-0/+27
|
* Add two new osFunctions:Melanie Thielker2010-06-021-0/+16
| | | | | list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
* Changes osFunction permissions again. Allow_ with a list of UUIDs now againMelanie Thielker2010-05-301-16/+51
| | | | | | refers to prim OWNERS. A new option set, Creators_, is added to allow selection by script creator. For existing installs, this means no functional change. The warning from my prior commit doesn't apply anymore.
* Changes OSSL Api permissions for the case of UUID list. In 0.6.9, the UUIDsMelanie Thielker2010-05-301-3/+18
| | | | | | | | | | | | | would be the IDs of the prim owners in whose prims these functions would run. This changes it so the UUID is the SCRIPT CREATOR instead. Further, osfunctions limited by uuid will not run if the creator and owner differ and the owner has mod rights on the script. There is still a danger in passing moodifiable scripts to others, as they can insert a harmful function, then remove the mod rights to make it runnable. As before, care needs to be taken, but where it was modable prims that were the risk before, modable scripts are the weak spot now. In cases where prim owner == script creator == script owner, nothing will change.
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-0/+82
| | | | joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
* Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2010-03-191-9/+11
| | | | GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|