aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index b2ee3b6..4321d8a 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -540,6 +540,7 @@ namespace OpenSim
540 m_console.WriteLine("terrain seed <seed> - sets the random seed value to <seed>"); 540 m_console.WriteLine("terrain seed <seed> - sets the random seed value to <seed>");
541 m_console.WriteLine("terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64' or 'IMG'"); 541 m_console.WriteLine("terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64' or 'IMG'");
542 m_console.WriteLine("terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'"); 542 m_console.WriteLine("terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'");
543 m_console.WriteLine("terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high");
543 break; 544 break;
544 545
545 case "seed": 546 case "seed":
@@ -550,6 +551,10 @@ namespace OpenSim
550 LocalWorld.Terrain.hills(); 551 LocalWorld.Terrain.hills();
551 break; 552 break;
552 553
554 case "rescale":
555 LocalWorld.Terrain.setRange(Convert.ToSingle(args[1]), Convert.ToSingle(args[2]));
556 break;
557
553 case "load": 558 case "load":
554 switch (args[1].ToLower()) 559 switch (args[1].ToLower())
555 { 560 {