Library Importing

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: ==Creating a custom library== * Create the appropriate xml storage files using the Asset Generator script * Edit the opensim inventory library reference file nano /op...)
 
Line 16: Line 16:
 
* Restart OpenSim
 
* Restart OpenSim
 
* Check out if the textures are rendered correctly in the viewer
 
* Check out if the textures are rendered correctly in the viewer
 +
 +
==Load Terrain==
 +
Assume your file is called "terrain.r32".At the region console, type:<br>
 +
script terrain load terrain.r32
 +
You now have your new terrain! You can at this point use the terrain add, terrain scale, or terrain multiply to rescale it to your liking.

Revision as of 12:38, 15 March 2008

Creating a custom library

  • Create the appropriate xml storage files using the Asset Generator script
  • Edit the opensim inventory library reference file
nano /opt/opensim/production/bin/inventory/Libraries.xml
  • Add the inventory reference
<Section Name="OpenSim Custom Library">
 <Key Name="foldersFile" Value="MyCoolOpenSimLibrary/3DDCInventoryFolders.xml"/>
 <Key Name="itemsFile" Value="MyCoolOpenSimLibrary/3DDCInventoryItems.xml"/>
</Section> 
  • Edit the opensim assets library reference file
nano /opt/opensim/production/bin/assets/AssetSets.xml
  • Add the asset reference
<Section Name="OpenSim Custom Asset Set">
 <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/>
</Section>
  • Restart OpenSim
  • Check out if the textures are rendered correctly in the viewer

Load Terrain

Assume your file is called "terrain.r32".At the region console, type:

script terrain load terrain.r32

You now have your new terrain! You can at this point use the terrain add, terrain scale, or terrain multiply to rescale it to your liking.

General
About This Wiki