A chat bot script to create simple NPCs (Non Player Character) in your sim. For hours of interactive roleplay fun! This version is suitable for domesticated animals, albeit a talking animal.
The script will allow you to
- set how near or far your NPC will detect avatars in its proximity to interact with
- configure different greetings (or emotes) for avatars your NPC 'meets' for the first time vs return visitors
- provide chat phrases (or emotes) which your NPC will say randomly and how often (using a notecard)
- provide responses to key words / phrases which your NPC hears in public chat (using a notecard)
If you don't like the look of the dog mesh model, you can move the script to another object you own.
Note:
- Dog does not walk or move. But it has 2 postures - sit and stand (not animation but alpha layers).
- Example chat/response notecards included for talking dog NPC
PRIM COUNT
- Mesh dog is 1 LI (see pic), made of 2 prims - one where the dog is sitting and one where the dog is standing
ADVANCED FEATURES
- Ability to support emotes (ie. /me is licking its paws)
- Ability to use wildcard to replace names (choose display name or legacy name) of detected avatars
- Ability to specify pauses between chat responses
- Chat response supports clickable links to SL locations (slurl)
- Chat response supports clickable links to avatar profile pages
- Ability to give out landmarks, notecards and other inventory items
- Ability to support exact or partial match for keyword/keyphrase to give a response
- Periodic chat phrases can be turned off / on through verbal command (ie. quiet mode or chatty mode)
- Owner can 'take over' silently using a private channel to make the NPC say or emote something
- Owner-touch triggers report on which avatars are in range and which avatars are in memory ("met" before)
v5.2 update:
- private channel feature added (anyone can chat with the bot on channel 2)
- alpha switch feature added (owner can set object to turn invisible when nobody is around and visible when sensor detects someone)
v5.4 update
- corrected flushing of long term memory
v5.4B update
- greeting for owner different from greeting for return visitors
- dog will face nearest avatar (can be turned on or off)
- option to use gender titles (eg. Monsieur, Mademoiselle) in responses. Gender detection based on av body shape.
PERMISSIONS
- Mesh dog is yes modify, no copy, yes transfer.
- Script is no modify, no copy, yes transfer.
COPY VERSION available for 1000L in inworld store, or drop a notecard to Grace7 Ling.
DEMO available at my inworld store.
For more memory and more advanced features please check out the PRO EDITION below.
See item in Second Life- Notecard driven chat, greetings and responses
- Supports emotes, profile links, and tp links
- Configurable distance for sensor
- Able to specify partial or exact match for key phrase recognition
- Includes 1 LI mesh dog (see pic)