ProjectWonderlandConeOfSilenceAdmin < Javadesktop < TWiki

TWiki . Javadesktop . ProjectWonderlandConeOfSilenceAdmin

Home | Changes | Index | Search | Go

Cone-of-Silence Administration


The cone-of-silence is loaded into Wonderland using WFS. A sample WFS property file is provided here: ConeOfSilenceWFSFIle.

To install the cone-of-silence, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy ConeOfSilence-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld.

Next, edit the file and customize the following properties:

The fullVolumeRadius is the distance from the center of the cone at which avatars inside that distance will hear each other at full volume. Avatars outside this radius will not hear anything inside and avatars inside will not hear anything outside.

    <void property="fullVolumeRadius">
       <double>2.2</double>
    </void>

name is an identifier for the cone. The same name can be used for two different cones in which case avatars in either cone will hear each other only.

    <void property="name">
       <string>ConeOfSilence1</string>
    </void>

position is the position of the cone image relative to the cone cell.

    <void property="position">
      <void index="0">
         <double>0.0</double>
      </void>
      <void index="1">
         <double>2.0</double>
      </void>
      <void index="2">
         <double>0.0</double>
      </void>
    </void>

scale can be used to change the size of the cone image.

    <void property="scale">
       <double>1.5</double>
    </void>

origin is the location of the cone cell relative to the WFS cell.

    <void property="origin">
   <void index="0">
      <double>13</double>
   </void>
   <void index="1">
      <double>.1</double>
   </void>
   <void index="2">
      <double>-25</double>
   </void>
  </void>

is the size of the circle to be drawn showing where the cone is effective.

  <void property="boundsRadius">
     <double>2</double>
  </void>

Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.

----- Revision r2 - 18 Jul 2008 - 15:04:52 - Main.jprovino