(reposting from old forum)
For those coming from Second Life, much of LSL is transferable to OpenSim, however there are some differences in LSL support and you will probably want to look at optimizing your scripts for OpenSim.
There are also quite a few very nifty OSSL functions that either do things you can't do in Second Life, or maybe do things better or easier than in Second Life. For example, reading notecards is vastly easier with OSSL, and you can even make notecards through scripts. NPCs are very easy to make with OSSL, and dynamically creating textures with drawings and even text is really easy too.
The OpenSim website has some very handy pages to help you:
Whether, and to what degree, an LSL function is supported: http://opensimulator.org/wiki/LSL_Status/Functions
Whether, and to what degree, an LSL event is supported: http://opensimulator.org/wiki/LSL_Status/Events
OSSL specific functions: http://opensimulator.org/wiki/Category:OSSL_Functions
[By Graham Mills] Some OSSL functions are restricted to the World Manager. See http://www.kitely.com/virtual-world-new ... functions/ for details.
LSL versus OSSL
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: LSL versus OSSL
Can someone clarify what is meant by "Allowed for the World Manager" on http://www.kitely.com/virtual-world-new ... functions/. Does it mean that only the World Manager can run such scripts or that any user can run scripts so long as they're in an object created by the WM (I appreciate there are other permutations)?
- Ilan Tochner
- Posts: 6726
- Joined: Sun Dec 23, 2012 8:44 am
- Has thanked: 5243 times
- Been thanked: 4674 times
- Contact:
Re: LSL versus OSSL
Hi Graham,
You should be able to run scripts from an object owned by the person whose world you are in.
You should be able to run scripts from an object owned by the person whose world you are in.
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: LSL versus OSSL
Thanks, Ilan. So such objects would not be of use in a world that you don't own and hence are not distributable, i.e. it works from creator rather than owner fields?
Ilan Tochner wrote:Hi Graham,
You should be able to run scripts from an object created by the person whose world you are in.
- Ilan Tochner
- Posts: 6726
- Joined: Sun Dec 23, 2012 8:44 am
- Has thanked: 5243 times
- Been thanked: 4674 times
- Contact:
Re: LSL versus OSSL
Hi Graham,
The current OpenSim implementation is to check permissions against the owner of the object not the creator.
I had assumed you meant running an object inside the world manager's world not an object given to you by the world manager. I can see how my previous reply could be confusing so I fixed it (see above) in order to not confuse anyone else.
The current OpenSim implementation is to check permissions against the owner of the object not the creator.
I had assumed you meant running an object inside the world manager's world not an object given to you by the world manager. I can see how my previous reply could be confusing so I fixed it (see above) in order to not confuse anyone else.
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times