Lily Kanashimi Posted May 16, 2020 Share Posted May 16, 2020 So, I haven't the slightest clue as to how to go about writing a script for an RP Chatter (I.e. an object worn that, when you type with /4 instead of /me, it displays your post in green text with an RP name that isn't your SL or Display Name) that substitutes words from an NC dictionary listing both a word in English and its translation into a fictional language. Specifically, it'd want it translatable onto to someone else who is wearing a copy of the object and only to translate the words between Quotation marks, denoting it is spoken. I'm not sure how to do this, let alone if it is even possible. Can anyone offer an insight? Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted May 16, 2020 Share Posted May 16, 2020 If we're talking proper translation, you would most likely need to make some HTTP requests to some web-server that will do the translation for you. If we're talking those very simple translations where characters are substituted (eg. "Hello!" -> "Vyjje!"), you can just reverse the process depending if the message is heard from a user or object. Link to comment Share on other sites More sharing options...
Lily Kanashimi Posted May 17, 2020 Author Share Posted May 17, 2020 Not character, but more like words. Can a Script actually catch a word found in the NC dictionary and translate them into a specified replacement word? Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted May 17, 2020 Share Posted May 17, 2020 (edited) 14 minutes ago, Lily Kanashimi said: Not character, but more like words. Can a Script actually catch a word found in the NC dictionary and translate them into a specified replacement word? Yes. You could use llParseString2List to split messages and search for each word individually with llListFindList in some larger list of words. Edited May 17, 2020 by Wulfie Reanimator Link to comment Share on other sites More sharing options...
Xiija Posted May 29, 2020 Share Posted May 29, 2020 arg! i have something like this in inv somewhere... 60k inv, cant find it! it's like, an rp speech converter, from like zorgon to something lol ... mebbe its on Ferd's or the script library... Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now