From ed28c89d9624dfba5deef0560b50df726307f4af Mon Sep 17 00:00:00 2001 From: Arthur Valadares Date: Mon, 18 May 2009 22:00:43 +0000 Subject: * Adds code that allows you to save an outfit then tell bot to wear it. * Still doesn't work due to a bug on LibOMV that should be out on 0.6.3. * Released by request. Important Warning: Linden Viewer 1.2.3 changes the way appearance works and break bot's appearances. LibOMV is working on it --- OpenSim/Tools/pCampBot/pCampBot.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Tools/pCampBot/pCampBot.cs') diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index 9cde451..098a8ca 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs @@ -77,6 +77,7 @@ namespace pCampBot cs.AddSwitch("Startup", "lastname"); cs.AddSwitch("Startup", "password"); cs.AddSwitch("Startup", "help","h"); + cs.AddSwitch("Startup", "wear"); IConfig ol = cs.Configs["Startup"]; return ol; @@ -84,6 +85,10 @@ namespace pCampBot private static void Help() { + // Added the wear command. This allows the bot to wear real clothes instead of default locked ones. + // You can either say no, to not load anything, yes, to load one of the default wearables, a folder + // name, to load an specific folder, or save, to save an avatar with some already existing wearables + // worn to the folder MyAppearance/FirstName_LastName, and the load it. Console.WriteLine( "usage: pCampBot <-loginuri loginuri> [OPTIONS]\n" + "Spawns a set of bots to test an OpenSim region\n\n" + @@ -92,6 +97,7 @@ namespace pCampBot " -firstname first name for the bot(s) (default: random string)\n" + " -lastname lastname for the bot(s) (default: random string)\n" + " -password password for the bots(s) (default: random string)\n" + + " -wear set appearance folder to load from (default: no)\n" + " -h, -help show this message" ); } -- cgit v1.1