mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
few more minor changes, needs prebuild to be ran.
This commit is contained in:
@@ -194,10 +194,10 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
|
||||
public virtual string FirstName
|
||||
{
|
||||
get { return "Annoying"; }
|
||||
get { return "Only"; }
|
||||
}
|
||||
|
||||
private string lastName = "NPC" + Util.RandomClass.Next(1, 1000);
|
||||
private string lastName = "Today" + Util.RandomClass.Next(1, 1000);
|
||||
|
||||
public virtual string LastName
|
||||
{
|
||||
@@ -485,7 +485,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
if (OnChatFromViewer != null)
|
||||
{
|
||||
ChatFromViewerArgs args = new ChatFromViewerArgs();
|
||||
args.Message = "Kinda quiet around here, isn't it?";
|
||||
args.Message = "Hey You! Get out of my Home. This is my Region";
|
||||
args.Channel = 0;
|
||||
args.From = FirstName + " " + LastName;
|
||||
args.Position = new LLVector3(128, 128, 26);
|
||||
|
||||
@@ -54,10 +54,10 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
|
||||
LLVector3 pos = new LLVector3(110, 129, 27);
|
||||
|
||||
AddCpuCounter(regionInfo, pos);
|
||||
//AddCpuCounter(regionInfo, pos);
|
||||
// AddComplexObjects(regionInfo, pos);
|
||||
AddAvatars();
|
||||
AddFileSystemObjects();
|
||||
// AddFileSystemObjects();
|
||||
}
|
||||
|
||||
private void AddFileSystemObjects()
|
||||
@@ -85,7 +85,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
|
||||
private void AddAvatars()
|
||||
{
|
||||
for (int i = 0; i < 2; i++)
|
||||
for (int i = 0; i < 1; i++)
|
||||
{
|
||||
MyNpcCharacter m_character = new MyNpcCharacter(m_scene.EventManager);
|
||||
m_scene.AddNewClient(m_character, false);
|
||||
|
||||
Reference in New Issue
Block a user