
I needed what passed for a cook in short-order that could answer a limited range of questions, preferably getting some of the answers wrong in pseudo-random fashion. This sounded like a job for a bot. Big problem: I have no idea how to make one.
There are a few bots you can buy and, at the upper end (and ignoring the bots that requires their own SL account) is the J&M Creations robotar as typified by Naomi (
slurl). She doesn't look like a chef but can, in fact, be retextured. She can also be hooked up to the Pandorabots.com site though I have found this on occasion to be so slow as to make programming the bot impossible.
Naomi is very capable (she doesn't cook but will run a camping site) but quite expensive for SL (you need body, brain and textures for starters: L$7750 in total). Anyway, I thought this might be an opportunity to see what a rank amateur could achieve in a couple of hours. If you want to find out how to do it properly, stop reading now.
Firstly, you need three textures for an avatar: head, upper and lower. These map onto the male or female shape, more of which anon.
I got the head texture from a resource pack I picked up on Southampton Solent’s resource centre on their main island (
slurl).
For the upper and lower body, I downloaded and unzipped the 1024 size avatar templates from Robin Wood’s
site.
I painted them mainly using the freebie version of
ArtRage (you might get a better result with [i] talent, [ii] almost anything that can edit JPGs, but ArtRage was at least quick).
For the body I used the mod/trans/no-copy “Additional poses” mannequin from Chakra Nova (L$950;
slurl). This appears to be the foundation for the mod/copy Naomi bot which can be retextured by changing texture ids on her notecard; texture ids are available by rightclicking the texture in Inventory.
If you click on the mannequin and choose “Textures”, you cycle through Head, Upper, Lower and at each stage you can Ctrl-Drag the textures onto the mannequin. If you press Reset, the mannequin reverts to what is called the UV map and you can retexture if you like from scratch (though you can use the normal texture cycle as well).
One benefit of choosing a male shape is not having to worry about hair though you could splash out on a hat from ::MIA:: chef on xstreetsl.com (L$200 for a full avatar).
Programming the bot was done using the freebie Eliza script from Dedric Mauriac (
slurl) added to a transparent prim. This reads a notecard, attempts to match text chatted to it and chats back a response from a list of options.
Adequate for our purposes. Could we have done it cheaper? On reflection an image + the script might have sufficed but, hey, we learned something new!