aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/pCampBot.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-03 22:31:31 +0000
committerJustin Clark-Casey (justincc)2011-11-03 22:31:31 +0000
commit5a67940acc17c80c419781fddc9efa0c18ce1f15 (patch)
tree18b58a3cb1434a1ec05c5170bdb59e4d55e19cb3 /OpenSim/Tools/pCampBot/pCampBot.cs
parentMove PhysicsBehaviour into a spearate behaviours folder (diff)
downloadopensim-SC_OLD-5a67940acc17c80c419781fddc9efa0c18ce1f15.zip
opensim-SC_OLD-5a67940acc17c80c419781fddc9efa0c18ce1f15.tar.gz
opensim-SC_OLD-5a67940acc17c80c419781fddc9efa0c18ce1f15.tar.bz2
opensim-SC_OLD-5a67940acc17c80c419781fddc9efa0c18ce1f15.tar.xz
Add click/grab behaviour to pCampbot, which gets bots to randomly click things.
This can be specified on pCampbot.exe by using g in the list of behaviours for the new -behaviours,-b switch e.g. -b p,g to get both existing physics and grabbing behaviours. grabbing is primitive, it attempts grabs on random prims whether they're actually signalled as clickable or not. behaviour is currently primitive overall, behaviours are just executed in a list
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index cae96e1..4d3b06d 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -84,12 +84,13 @@ namespace pCampBot
84 //Set up our nifty config.. thanks to nini 84 //Set up our nifty config.. thanks to nini
85 ArgvConfigSource cs = new ArgvConfigSource(args); 85 ArgvConfigSource cs = new ArgvConfigSource(args);
86 86
87 cs.AddSwitch("Startup", "botcount","n"); 87 cs.AddSwitch("Startup", "botcount", "n");
88 cs.AddSwitch("Startup", "loginuri","l"); 88 cs.AddSwitch("Startup", "loginuri", "l");
89 cs.AddSwitch("Startup", "firstname"); 89 cs.AddSwitch("Startup", "firstname");
90 cs.AddSwitch("Startup", "lastname"); 90 cs.AddSwitch("Startup", "lastname");
91 cs.AddSwitch("Startup", "password"); 91 cs.AddSwitch("Startup", "password");
92 cs.AddSwitch("Startup", "help","h"); 92 cs.AddSwitch("Startup", "behaviours", "b");
93 cs.AddSwitch("Startup", "help", "h");
93 cs.AddSwitch("Startup", "wear"); 94 cs.AddSwitch("Startup", "wear");
94 95
95 IConfig ol = cs.Configs["Startup"]; 96 IConfig ol = cs.Configs["Startup"];
@@ -110,6 +111,7 @@ namespace pCampBot
110 " -firstname first name for the bots\n" + 111 " -firstname first name for the bots\n" +
111 " -lastname lastname for the bots. Each lastname will have _<bot-number> appended, e.g. Ima Bot_0\n" + 112 " -lastname lastname for the bots. Each lastname will have _<bot-number> appended, e.g. Ima Bot_0\n" +
112 " -password password for the bots\n" + 113 " -password password for the bots\n" +
114 " -b, behaviours behaviours for bots. Current options p (physics), g (grab). Comma separated, e.g. p,g. Default is p",
113 " -wear set appearance folder to load from (default: no)\n" + 115 " -wear set appearance folder to load from (default: no)\n" +
114 " -h, -help show this message" 116 " -h, -help show this message"
115 ); 117 );