<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] How to handle/display partial language skill --> <!--X-From-R13: "Xbr Yvatel" <wxvatelNhjngreybb.pn> --> <!--X-Date: Tue, 18 Jan 2000 18:56:17 -0800 --> <!--X-Message-Id: 000801bf622f$763f2d20$f6088d18#busy1,on.wave.home.com --> <!--X-Content-Type: text/plain --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] How to handle/display partial language skill</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:jkingry#uwaterloo,ca"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00144.html">Previous</a> | <a href="msg00141.html">Next</a> ] Thread: [ <a href="msg00153.html">Previous</a> | <a href="msg00150.html">Next</a> ] Index: [ <A HREF="author.html#00142">Author</A> | <A HREF="#00142">Date</A> | <A HREF="thread.html#00142">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] How to handle/display partial language skill</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: "Mud-Dev" <<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>></LI> <LI><em>Subject</em>: [MUD-Dev] How to handle/display partial language skill</LI> <LI><em>From</em>: "Joe Kingry" <<A HREF="mailto:jkingry#uwaterloo,ca">jkingry#uwaterloo,ca</A>></LI> <LI><em>Date</em>: Tue, 18 Jan 2000 19:44:17 -0800</LI> <LI><em>Importance</em>: Normal</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> We have a very basic way of handling languages on our mud. Currently each language has a table of sylables/words and a mapping to a some assortment of letters. Each language table of course has a mapping for individual letters. When someone says something in a different language, those that can understand the language see something like: (sylvan) Mab says 'Hello world' While those that don't see: Mab gossips 'nlaelelrr 'luurrwaelli'' The table would look something like this: static const struct language_type sylvan_table[] = { { " ", " " }, { "the", "lle" }, { "and", "ywr" }, { "kill", "tlet" }, { "me", "ae" }, { "are", "slf" }, { "to", "yl" }, { "at" , "llyn" }, { "here", "ptha" }, { "dude", "aale" }, { "magic", "ife" }, { "horde", "neebler" }, { "immortal", "ddley" }, { "moon", "lun" }, { "a", "i" }, { "b", "ll" }, { "c", "y" }, { "d", "li'" }, { "e", "a" }, { "f", "s" }, { "g", "wy" }, { "h", "nl" }, { "i", "wa" }, { "j", "n" }, { "k", "q" }, { "l", "el" }, { "m", "yn" }, { "n", "el" }, { "o", "rr" }, { "p", "fs" }, { "q", "ue" }, { "r", "wa" }, { "s", "az" }, { "t", "l" }, { "u", "u" }, { "v", "or" }, { "w", "'luu" }, { "x", "wyn" }, { "y", "y" }, { "z", "cee" }, { "", "" } }; But how do you handle non 100% skill in a language? I imagine in our case with a table that maps various fragments you could do a reverse map of the fragment only if you passed a skill check. I've experimented with this with varying results. I'm just looking for other ideas at this time. Any suggestions on how to handle languages? Thanks, Joe _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00160" HREF="msg00160.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong> <ul compact><li><em>From:</em> Wes Connell <wconnell#adhesive,com></li></ul> <li><strong><A NAME="00155" HREF="msg00155.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong> <ul compact><li><em>From:</em> Matt Chatterley <chattemp#ee,port.ac.uk></li></ul> <li><strong><A NAME="00150" HREF="msg00150.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong> <ul compact><li><em>From:</em> Greg Underwood <gunderwood#donet,com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00144.html">Re: [MUD-Dev] Embedded languages, object persistance... ack.</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00141.html">[MUD-Dev] Planet/Solar System Generation</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00153.html">[MUD-Dev] Signing off...</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00150.html">Re: [MUD-Dev] How to handle/display partial language skill</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00142"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00142"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>Re: [MUD-Dev] Simulated Populations</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00200" HREF="msg00200.html">Re: [MUD-Dev] Simulated Populations</A></strong>, phlUID <a href="mailto:phluid#mindless,com">phluid#mindless,com</a>, Fri 21 Jan 2000, 04:37 GMT <UL> <LI><strong><A NAME="00209" HREF="msg00209.html">Re: [MUD-Dev] Simulated Populations</A></strong>, Dundee <a href="mailto:SkeptAck#antisocial,com">SkeptAck#antisocial,com</a>, Fri 21 Jan 2000, 18:04 GMT <UL> <LI><strong><A NAME="00212" HREF="msg00212.html">Re: [MUD-Dev] Simulated Populations</A></strong>, Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Fri 21 Jan 2000, 23:28 GMT </LI> </UL> </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00153" HREF="msg00153.html">[MUD-Dev] Signing off...</A></strong>, IronWolf <a href="mailto:ironwolf#ewa,net">ironwolf#ewa,net</a>, Wed 19 Jan 2000, 07:15 GMT <LI><strong><A NAME="00142" HREF="msg00142.html">[MUD-Dev] How to handle/display partial language skill</A></strong>, Joe Kingry <a href="mailto:jkingry#uwaterloo,ca">jkingry#uwaterloo,ca</a>, Wed 19 Jan 2000, 02:56 GMT <UL> <LI><strong><A NAME="00150" HREF="msg00150.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Wed 19 Jan 2000, 05:33 GMT </LI> <LI><strong><A NAME="00155" HREF="msg00155.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, Matt Chatterley <a href="mailto:chattemp#ee,port.ac.uk">chattemp#ee,port.ac.uk</a>, Wed 19 Jan 2000, 14:58 GMT </LI> <LI><strong><A NAME="00160" HREF="msg00160.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Wed 19 Jan 2000, 18:20 GMT </LI> </UL> </LI> <LI><strong><A NAME="00136" HREF="msg00136.html">[MUD-Dev] Planet/Solar System Generation</A></strong>, Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Tue 18 Jan 2000, 20:52 GMT </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>