Change default say distance to 20m from 30m, the same as on the big grid. This is to improve the migration of scripts that expect a 20m say distance.

If you want to keep a 30m say distance then please set this as the say_distance parameter in the [Chat] section of OpenSim.ini.
remove-scene-viewer
Justin Clark-Casey (justincc) 2011-11-02 20:05:31 +00:00
parent 72923134e9
commit 59232a6ea8
4 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
private const int DEBUG_CHANNEL = 2147483647; private const int DEBUG_CHANNEL = 2147483647;
private bool m_enabled = true; private bool m_enabled = true;
private int m_saydistance = 30; private int m_saydistance = 20;
private int m_shoutdistance = 100; private int m_shoutdistance = 100;
private int m_whisperdistance = 10; private int m_whisperdistance = 10;
private List<Scene> m_scenes = new List<Scene>(); private List<Scene> m_scenes = new List<Scene>();

View File

@ -95,7 +95,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
private Queue m_pendingQ; private Queue m_pendingQ;
private Scene m_scene; private Scene m_scene;
private int m_whisperdistance = 10; private int m_whisperdistance = 10;
private int m_saydistance = 30; private int m_saydistance = 20;
private int m_shoutdistance = 100; private int m_shoutdistance = 100;
#region IRegionModule Members #region IRegionModule Members

View File

@ -339,9 +339,9 @@
;; Distance in meters that whispers should travel. ;; Distance in meters that whispers should travel.
; whisper_distance = 10 ; whisper_distance = 10
;# {say_distance} {} {Distance at which normal chat is heard, in meters? (SL uses 20 here)} {} 30 ;# {say_distance} {} {Distance at which normal chat is heard, in meters?} {} 20
;; Distance in meters that ordinary chat should travel. ;; Distance in meters that ordinary chat should travel.
; say_distance = 30 ; say_distance = 20
;# {shout_distance} {Distance at which a shout is heard, in meters?} {} 100 ;# {shout_distance} {Distance at which a shout is heard, in meters?} {} 100
;; Distance in meters that shouts should travel. ;; Distance in meters that shouts should travel.

View File

@ -563,8 +563,8 @@
; Distance in meters that whispers should travel. Default is 10m ; Distance in meters that whispers should travel. Default is 10m
whisper_distance = 10 whisper_distance = 10
; Distance in meters that ordinary chat should travel. Default is 30m ; Distance in meters that ordinary chat should travel. Default is 20m
say_distance = 30 say_distance = 20
; Distance in meters that shouts should travel. Default is 100m ; Distance in meters that shouts should travel. Default is 100m
shout_distance = 100 shout_distance = 100