Spax Orion @SpaxOrion

Offline

Ozone MiniVerse - XoAoX.de:7000


OSSL Racter Speech engine - For ActiveNPC Framework

<p>RACTER is probably the BEST inworld chat module I have ever seen. It is very easy to configure. I have converted this chat system to OSSL so your NPCs can have speech capability. The instructions for using this are <a href="http://wiki.secondlife.com/wiki/Racter" target="_blank">HERE</a>. Simply make a prim, wear it on the nose, position and scale to your liking. Place a new script inside called Brain* and then 2 note cards "<a href="https://pastebin.com/raw/wh2L0Q75">Brain_1</a>" and "<a href="https://pastebin.com/raw/bzCZNDmj">Brain_2</a>". Paste the linked text into them. You can have as many Brain_ note-cards as you want and you can customize the chat to your liking. Use it to make chatty bartenders, rude towns-people, greeters and more; the possibilities are endless. BE SURE to <a href="http://wiki.secondlife.com/wiki/Racter" target="_blank">READ THIS PAGE</a> before using this software and you will go far. </p><p><br></p><p>Wear the completed object before making your NPC. When your NPCs are rezzed you will be able to talk to them when you are in range. Once the speech engine has loaded, the NPC will say "Ready" in local chat. You can define the frequency with which the NPC will respond to local chat and the range it will listen to for key words. Moreover, the NPC will only respond to REAL avatars so all of your NPCs can use this module without worry of bot-cross-talk. Your NPC will also ignore greeters or any other prim which uses channel 0 speech. I have included a second script you can place with your 'Brain.lsl' which will make the NPC silent or to allow them to speak again... Simply say "chaton" or "chatoff" to enable or disable the Brain script.</p><p><br></p><p>NOTE: This was originally designed to be a replacement to the speech module in the current ActiveNPC-SEP2017 Enhanced package. Rather than boxing it all up I decided to place this here to benefit anyone who wants to play with this. OSSL Racter does not require ActiveNPC to function. It should work with just about any NPC framework so long as you have the proper ossl extensions enabled in your /bin/config_include/osslEnable.ini</p><p><br></p><p>For those of you who would rather have RACTER in a prim, the code from the LSL WIKI linked above will work without issue on opensim grids.</p><p>*You can have another name like Alice or Bob - Script and note-cards should be named accordingly: Alice - Alice_1 - Alice_2 OR Bob - Bob_1 - Bob_2<br></p>

👍 7 like

Milestones

Hide Feed  

Comments

No comments yet