Getting Started with Region Modules

From OpenSimulator

Revision as of 09:05, 15 November 2008 by Diva (Talk | contribs)

Jump to: navigation, search

Hello World

This brief tutorial is intended to get people started with developing applications with/for opensim using region modules and the opensim API. The module available here writes "HELLO" in prims on every region of your opensim instance, and makes them move every 2 seconds or so. Please note:

  • The opensim API is rapidly changing. The code available here works for SVN 7176, which corresponds to opensim 0.6.0. Please use a fresh install of that version to run this example. The example assumes the default configuration of opensim out-of-the-box. If you try to run this example on custom configurations, you may get errors and/or warnings. Those errors/warnings can be easily fixed in the code of the example. But since I can't predict all combinations of configuration settings out there, the assumption here is a fresh install of opensim SVN 7176. Deviate at your own risk.

To get started:

  1. Download and install opensim svn 7176, and build it as normal.
  2. Get this zip file: http://www.ics.uci.edu/~lopes/opensim/HelloWorld.zip. Unzip it somewhere.
  3. Before you go changing the code of the application, see its effect inworld by doing this:
      • Grab HelloWorld/bin/Release/HelloWorld.dll and dump it in opensim/bin
      • Start opensim as normal, and login to it.

You should see the word HELLO spelled out in prims, and moving every so often.

Are you ready to explore the code now?

Personal tools
General
About This Wiki