Difference between revisions of "RestrainedLove Viewer Support for LSL-Plus"
Maike Short (talk | contribs) (introduction) |
Maike Short (talk | contribs) (How to use?) |
||
Line 1: | Line 1: | ||
[http://lslplus.sf.net LSL | [http://lslplus.sf.net LSL Plus] is a nice IDE for editing and testing LSL scripts out of world. It supports a simulator which enables you to do testing in a simulated world within the IDE. The Restraint Life Viewer is a custom Second Life Viewer by Marine Kelley that has some additional features to make the user more or less helpless. | ||
This page documents an implementation of the [[LSL_Protocol/RestrainedLifeAPI|Restrained Life API]] as an Agent Event Handler Module in LSL | This page documents an implementation of the [[LSL_Protocol/RestrainedLifeAPI|Restrained Life API]] as an Agent Event Handler Module in LSL Plus. So you can use it to test your RLV enabled scripts. | ||
Download the current Alpha version at: http://sourceforge.net/tracker2/?func=detail&aid=2464575&group_id=219595&atid=1046875 | Download the current Alpha version at: http://sourceforge.net/tracker2/?func=detail&aid=2464575&group_id=219595&atid=1046875 | ||
== How to use | == How to use? == | ||
Extract the zip file into your workspace and keep the directory structure. You will find a the scripts within modules/sim/rlv. There are two subpackages there: "iface" and "impl". The modules in the "iface" package are intended for use by other scripts or the simulator itself. The modules in the impl subpackage contain the code doing the actual work. And functions defined there may change in the next version. | |||
=== Adding RLV to an Avatar === | |||
If you are not doing any additional event processing for that agent, you can simply select | |||
modules.sim.rlv.iface.simple avatar handler.lslm | |||
as Event Handler. | |||
=== Adding RLV support to a scripted Avatar === | |||
If you already have an event handler for an avatar, you cannot use the "simple avatar handler.lslm" because there can only be one handler per avatar. Please import the module | |||
modules.sim.rlv.iface.rlv_support.lslm | |||
into your own avatar event handler. You can have a look at the "simple avatar handler.lslm" to learn how to use it. | |||
== State of implemented features == | == State of implemented features == | ||
TODO | TODO |
Revision as of 08:17, 24 December 2008
LSL Plus is a nice IDE for editing and testing LSL scripts out of world. It supports a simulator which enables you to do testing in a simulated world within the IDE. The Restraint Life Viewer is a custom Second Life Viewer by Marine Kelley that has some additional features to make the user more or less helpless.
This page documents an implementation of the Restrained Life API as an Agent Event Handler Module in LSL Plus. So you can use it to test your RLV enabled scripts.
Download the current Alpha version at: http://sourceforge.net/tracker2/?func=detail&aid=2464575&group_id=219595&atid=1046875
How to use?
Extract the zip file into your workspace and keep the directory structure. You will find a the scripts within modules/sim/rlv. There are two subpackages there: "iface" and "impl". The modules in the "iface" package are intended for use by other scripts or the simulator itself. The modules in the impl subpackage contain the code doing the actual work. And functions defined there may change in the next version.
Adding RLV to an Avatar
If you are not doing any additional event processing for that agent, you can simply select
modules.sim.rlv.iface.simple avatar handler.lslm
as Event Handler.
Adding RLV support to a scripted Avatar
If you already have an event handler for an avatar, you cannot use the "simple avatar handler.lslm" because there can only be one handler per avatar. Please import the module
modules.sim.rlv.iface.rlv_support.lslm
into your own avatar event handler. You can have a look at the "simple avatar handler.lslm" to learn how to use it.
State of implemented features
TODO