diff options
author | Jak Daniels | 2014-03-17 20:39:36 +0000 |
---|---|---|
committer | Robert Adams | 2014-03-18 22:18:50 -0700 |
commit | 61353dde80a3912e26959c612a1d8d46ec1bc826 (patch) | |
tree | 3a78615a34b53a5e0201b4e570006f09a6745cc1 /bin | |
parent | Revert "Simplify DoubleQueue to eliminate redundant sempahore work." (diff) | |
download | opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.zip opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.gz opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.bz2 opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.xz |
Allow Region specific static maptiles to be loaded from file.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 1 | ||||
-rw-r--r-- | bin/Regions/Regions.ini.example | 37 |
2 files changed, 36 insertions, 2 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index c4697a1..bf5e18c 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -297,6 +297,7 @@ | |||
297 | 297 | ||
298 | ;# {MaptileStaticUUID} {} {Asset ID for static map texture} {} 00000000-0000-0000-0000-000000000000 | 298 | ;# {MaptileStaticUUID} {} {Asset ID for static map texture} {} 00000000-0000-0000-0000-000000000000 |
299 | ;; If not generating maptiles, use this static texture asset ID | 299 | ;; If not generating maptiles, use this static texture asset ID |
300 | ;; This may be overridden on a per region basis in Regions.ini | ||
300 | ; MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" | 301 | ; MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" |
301 | 302 | ||
302 | ;# {TextureOnMapTile} {} {Use terrain textures for map tiles?} {true false} true | 303 | ;# {TextureOnMapTile} {} {Use terrain textures for map tiles?} {true false} true |
diff --git a/bin/Regions/Regions.ini.example b/bin/Regions/Regions.ini.example index aabc4f8..57d503e 100644 --- a/bin/Regions/Regions.ini.example +++ b/bin/Regions/Regions.ini.example | |||
@@ -46,7 +46,40 @@ ExternalHostName = "SYSTEMIP" | |||
46 | 46 | ||
47 | ; RegionType = "Mainland" | 47 | ; RegionType = "Mainland" |
48 | 48 | ||
49 | ; * Region Specific Static Maptiles: | ||
50 | ; * Important: To use any kind of texture *assets* as a static maptile, the following | ||
51 | ; * things must be set in the [Map] section of OpenSim.ini : | ||
49 | ; * | 52 | ; * |
50 | ; * UUID of texture to use as a maptile for this region. | 53 | ; * MapImageModule = "MapImageModule" |
51 | ; * Only set if you have disabled dynamic generation of the map tile from the region contents. | 54 | ; * GenerateMaptiles = false |
55 | ; * | ||
56 | ; * Now, there is a setting in [Map] in OpenSim.ini called | ||
57 | ; * | ||
58 | ; * MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" | ||
59 | ; * | ||
60 | ; * where, given the criteria above, lets you specify the UUID of a texture asset to use | ||
61 | ; * as a maptile *Simulator Wide*. Here, you can override that on a per region basis for | ||
62 | ; * Simulators that run multiple regions: | ||
63 | |||
52 | ; MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" | 64 | ; MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" |
65 | |||
66 | |||
67 | ; * Region Specific Static Maptiles from file: | ||
68 | ; * It is also possible to create maptiles using external image files of the right size | ||
69 | ; * and supported formats (bmp,tga,png,jpg in RGB 24bpp format) | ||
70 | ; * | ||
71 | ; * Important: To use any kind of texture *files* as a static maptile, the following | ||
72 | ; * things must be set in the [Map] section of OpenSim.ini : | ||
73 | ; * | ||
74 | ; * MapImageModule = "MapImageModule" | ||
75 | ; * GenerateMaptiles = true | ||
76 | ; * | ||
77 | ; * The image must be the same size in pixels as the region or varregion is in meters. | ||
78 | ; * i.e. 256x256 pixels for single region of 256x256m, or 1280x1280 pixels for a varregion | ||
79 | ; * of size 1280x1280m. The image is loaded from OpenSim's bin/maptiles/ directory. | ||
80 | ; * | ||
81 | ; * If this setting is used, then the base map is generated from this file instead of being | ||
82 | ; * built using MapImageModule's terrain and prim renderer. Parcel 'for sale' overlays are | ||
83 | ; * still drawn on top of the static map by the World Map module. | ||
84 | |||
85 | ; MaptileStaticFile = "SomeFile.png" \ No newline at end of file | ||