1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: RE: [MUD&#45;Dev] In&#45;Game Languages -->
<!--X-From-R13: "Syv Egriraf (YvLhevpu)" <p718157Nfubjzr.zvffbhev.rqh> -->
<!--X-Date: Sun, 4 Apr 1999 18:27:17 &#45;0700 -->
<!--X-Message-Id: 000201be7edf$342b91f0$2a94ce80@eli&#45;greymud -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199904041600.KAA04557@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, RE: [MUD-Dev] In-Game Languages</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:c718157#showme,missouri.edu">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00005.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00007.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00019.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00008.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00006">Author</A>
&nbsp;|&nbsp;<A HREF="#00006">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00006">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>RE: [MUD-Dev] In-Game Languages</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: RE: [MUD-Dev] In-Game Languages</LI>
<LI><em>From</em>: "Eli Stevens (KiZurich)" &lt;<A HREF="mailto:c718157#showme,missouri.edu">c718157#showme,missouri.edu</A>&gt;</LI>
<LI><em>Date</em>: Sun, 4 Apr 1999 16:07:52 -0500</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>
&gt; From: mud-dev-admin#kanga,nu [<A  HREF="mailto:mud-dev-admin#kanga,nu]On">mailto:mud-dev-admin#kanga,nu]On</A> Behalf Of
&gt; Chris Gray

&gt; This is an interesting technique. Certainly faster than others I've
&gt; heard of. I'm curious as to how you came up with it. Is there some
&gt; linguistic basis behind needing only ten letters? Certainly the full
&gt; 26 aren't really needed, but I'm surprised that only 10 are. Can you
&gt; give some of the "philosophy" behind this, or was it mostly trial and
&gt; error to produce something that works as desired?

I originally wrote something similar to this back in high school (all of
three or four years ago now :), so the details of how i thought it up are
mostly fuzzy.

I chose ten because all of the array indices would be single digits, keeping
the tables nice and neat.  Necessity is the mother of invention.  :P

Basically, I thought "What words sound like they are Elven?"  ...  Allow me
to quote from The Fellowship of the Ring, chapter: Farewell to Lorien:

   Ai!  laurie lantar lassi surinen,
   Yeni unotime ve ramar aldaron!
   Yeni ve linte yuldar avanier
   ...
   Nai elya hiruva. Namarie!

The things that stand out, to me, are the abundance of vowels, few "hard"
sounds (as in English D, K, X, T, B, etc.), and the common soft consonants
(I do not know if this is the correct term for them, but you can draw them
out smoothly): L, R, N, V, etc.

char elven[10] = { 'a', 'e', 'l', 'f', 'u', 'r', 'n', 'w', 'h', 'o' };

English translation of song above (Tolkien's):
   Ah! like gold fall the leaves in the wind,
Evlen from code snippet:
   au! uene wauu newu fae ueanel of fae rofu,

Looking back, if I wanted to make the code output more like Tolkien's, I
would remove the 'w', add 'y', perhaps a 'd', etc.

The code requires a lot of tweaking to the language array if it needs to be
"just right," but can be passably decent without much effort.  :)  One
downside to the tables being static is that all the languages end up with
very similar looking patterns.  Also, changing the tables to fix how one
language sounds could possibly corrupt the other ones, throwing them off
balance.  I recommend trying to change the tables as little as possible.

&gt; How does someone with the given language skill read the output? Do they
&gt; simply get the untranslated version, and others get the translated
&gt; version?

Yes, most likely the Player object would be passed the text and a language
indicator.  The Player object would be responsible for determining how well
that Player could understand it, and translating (scrambling) it as needed.

&gt; Does this work for written material too? (It could - you would just have
&gt; to have a language flag on all text, and do the translation on final
&gt; output to the player, so that a player could carry around a Dwarvish
&gt; book, and finally read it after learning the skill.)

It could, and will, if/when i ever get anything close to a codebase up and
running.  :)  Hopefully this summer.  :)  Anyone is free to use the code,
and if you put it to good use, let me know.  I would like to see it.

One thing i look forward to is being able to name MUD locations after their
Elven meaning...  :)

Also, my thanks to Per Vognsen (Phaerus) for finding the post by KaVir.  :)

Silence is s't'ss' in Skaven ;)
Eli



_______________________________________________
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>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00003" HREF="msg00003.html">Re: [MUD-Dev] In-Game Languages</A></STRONG>
<UL><LI><EM>From:</EM> Chris Gray &lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00005.html">Re: [MUD-Dev] In-Game Languages</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00007.html">[MUD-Dev] forward: consistency</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00019.html">Re: [MUD-Dev] In-Game Languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00008.html">Re: [MUD-Dev] In-Game Languages</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00006"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00006"><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] In-Game Languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00043" HREF="msg00043.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Sun 11 Apr 1999, 17:33 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00003" HREF="msg00003.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 04 Apr 1999, 17:48 GMT
<UL>
<LI><strong><A NAME="00005" HREF="msg00005.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Matthew D. Fuller <a href="mailto:fullermd#futuresouth,com">fullermd#futuresouth,com</a>, Mon 05 Apr 1999, 01:26 GMT
<UL>
<LI><strong><A NAME="00019" HREF="msg00019.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Wed 07 Apr 1999, 06:10 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00006" HREF="msg00006.html">RE: [MUD-Dev] In-Game Languages</A></strong>, 
Eli Stevens (KiZurich) <a href="mailto:c718157#showme,missouri.edu">c718157#showme,missouri.edu</a>, Mon 05 Apr 1999, 01:27 GMT
</LI>
<LI><strong><A NAME="00008" HREF="msg00008.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 05 Apr 1999, 01:28 GMT
</LI>
<LI><strong><A NAME="00009" HREF="msg00009.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Mon 05 Apr 1999, 03:18 GMT
<UL>
<LI><strong><A NAME="00010" HREF="msg00010.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Mon 05 Apr 1999, 17:01 GMT
<UL>
<LI><strong><A NAME="00016" HREF="msg00016.html">Re: [MUD-Dev] In-Game Languages</A></strong>, 
Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Tue 06 Apr 1999, 16:25 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>