aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-17Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)1-0/+5
Allows you to stand an NPC that has sat.
2011-10-17Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)1-0/+5
Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE) e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE); At the moment, sit only succeeds if the part has a sit target set. NPC immediately sits on the target even if miles away - they do not walk up to it. This method is in development - it may change so please don't trust it yet. Standing will follow shortly since that's kind of important once you're sitting :)
2011-08-12tidy up some OSSL NPC parameter namesJustin Clark-Casey (justincc)1-8/+8
2011-08-12rename position parameter in osNpcMoveToTarget to targetJustin Clark-Casey (justincc)1-2/+2
2011-08-12rename osNpcStopMoveTo() to osNpcStopMoveToTarget()Justin Clark-Casey (justincc)1-2/+2
2011-08-11implement osNpcGetPos()Justin Clark-Casey (justincc)1-0/+5
2011-08-11implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)1-0/+10
Rotation works if done around the z axis. Anything else leads to random results.
2011-08-11Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)1-0/+5
region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
2011-08-11only accept npc UUIDs to osNpc* functions, not names (except for create)Justin Clark-Casey (justincc)1-6/+6
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-0/+5
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.
2011-08-10implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)1-0/+5
2011-08-09Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)1-0/+5
yet ready for user use. Adds regression test.
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)1-0/+10
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.
2011-06-28[PATCH] osSetSpeed() will accept float numberMakopoppo1-1/+1
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-06-28[PATCH] Get osGetWindParam() and osSetWindParam() accessibleMakopoppo1-10/+9
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2010-12-11More OSSL function name normalization, this time for osParcelSetDetails.Marck1-1/+6
2010-12-10Normalization of OSSL function names.Marck1-4/+29
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
2010-11-17Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)1-1/+12
This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
2010-11-16Add osTeleportOwner.Marck1-0/+15
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>
2010-10-17Adding osFunctions for light projectionBlueWall1-0/+10
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>
2010-06-11Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker1-0/+5
2010-06-02Add two new osFunctions:Melanie Thielker1-0/+9
list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+15
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.
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-6/+6
2009-12-31Adds osKickUser and osSetSpeedunknown1-0/+16
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-13* Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby1-0/+10
amount of memory allocated to the simulator process (Moderate Threat Level). * Cleans redundant information out of the Simulator Version. Versions now look like: "OpenSimulator 0.6.9(dev) Unix/Mono" * [Minor] additional log info for MySQLInventoryData
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee1-0/+5
2009-11-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie1-2/+2
not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)1-9/+19
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-09-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart1-0/+5
now including iVoiceModule This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-31- making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)1-0/+5
via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
2009-08-28Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares1-0/+5
2009-08-25Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares1-0/+5
using arrow, diamond, round and flat caps. * Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-21Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares1-0/+5
functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far. * Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21* Protip: Declare publically accessible functions, as public functions.Adam Frisby1-4/+6
2009-08-21* Addendum to previousAdam Frisby1-0/+17
2009-08-09Formatting cleanup.Jeff Ames1-3/+3
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-4/+5
lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-07Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie1-0/+5
Fixes Mantis #3979 Applied with changes. Changed ThreatLevel to High since all discovery functions are a high threat. Overriding that is the responsibility of the grid owner.
2009-06-09From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-4/+4
This change addresses two issues: [1] It adds a flag field to the blendface call which allows the caller to indicate whether or not the generated asset is temporary, and whether or not the asset being replaced should be explicitly retired fromt the memory cache. The decimal values correspond to: 0 - Permanent asset, do not expire old asset 1 - Permanent asset, expire old asset 2 - Temporary asset, do not expire old asset 3 - Temporary asset, expire old asset '3' corresponds to the default behavior seen today, and is the continued behavior of the non-blendface calls. [2] The dynamic texture routines are highly-asynchronous and can be scheduled simultaneously on a multi-core machine. The nature of the texture management interfaece is such that updates may be lost, and the nature of asynchornous operation means that they may be processed out of order. A lock has been added to ensure that updates are at least atomic. No attempt has been made to enforce ordering. The lock applies to the SceneObjectPart being updated and is held for the lifetime of the TextureEntry used to carry texture updates (the one instance carries all faces supported by the prim). Users of these services should remember that the dynamic texture call is asynchronous and control will be returned *before* the texture update has actually occurred. As a result, a isubsequent GetTexture call may not return the expected asset id. A script must wait for the corresponding TEXTURE_CHANGED event before retrieving any texture information.
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+17
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-22From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-0/+14
Changes to support client-side image pre-caching in the region. This commit adds an additional calling sequence to the DynamicTexture data and URL calls. The new interface allows a dynamic image to be loaded into a specific object face (rather than the mandatory ALL_SIDES supported today. This is in part fulfilment of ticket #458.
2009-04-27Thank you, Orion_Shamroy, for a patch to expand notecard readingMelanie Thielker1-0/+5
capabilities in OSSL. Fixes Mantis #3543
2009-04-27Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine andMelanie Thielker1-0/+10
osGetNumberOfNotecardLines Fixes Mantis #2942
2009-04-19Terrain changes done via osTerrainSetHeight aren't shown immediately to the ↵Homer Horwitz1-2/+9
clients in that region. I decided against sending the terrain on every call to osTerrainSetHeight (which makes it abysmally slow), and added a osTerrainFlush instead, which should be called after all the terrain-changes have been done. Changed some return types to LSL types, too, and removed some end-of-line spaces.
2009-04-09From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague1-0/+10
The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
2009-04-07* minor: remove some mono compiler warningsJustin Clarke Casey1-12/+11
2009-03-31Thank you kindly, MCortez for a patch that:Charles Krinke1-0/+16
With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed.