Cormyr and the Dalelands

General Category => Suggestions & Ideas => Suggestions Archive => Topic started by: twilightvixen on Nov 15, 2015, 02:57 PM

Title: Druid Language scripted?
Post by: twilightvixen on Nov 15, 2015, 02:57 PM
Not too important but hear there isn't a scripted druid language on this server like I've seen on many. Just thought would suggest such added for druids to auto get as a default language to have.
Title: Druid Language scripted?
Post by: foo on Nov 15, 2015, 04:28 PM
Sylvan.
Title: Druid Language scripted?
Post by: Edge on Nov 15, 2015, 05:15 PM
Not the same. Sylvan is the language of fey and anyone within reason can learn it. Druidic is a secret language exclusive to druids alone.

I'm not sure if we can add languages, though. We did not make or script the widgets and languages we have.
Title: Druid Language scripted?
Post by: Deleted on Nov 15, 2015, 06:56 PM
I would rather remove the "animal" language and code in Druidic, myself.
Title: Druid Language scripted?
Post by: Edge on Nov 15, 2015, 07:15 PM
I would be good with that as well.
Title: Druid Language scripted?
Post by: twilightvixen on Nov 16, 2015, 03:58 PM
Yeah I've never cared much for the animal language unless using the pnp spells to talk to animals. My character can't even learn sylvan due to int restrictions :(, but druidic is the secret language that druids learn and keep secret by oath as edge said.
Title: Druid Language scripted?
Post by: Deleted on Nov 16, 2015, 04:35 PM
You can learn a language by spending 2 skill points on them.  You leave the skill points unspent (don't put them into any skill), then post a LETO (along with the IC way they are learning the language).
Title: Druid Language scripted?
Post by: twilightvixen on Nov 19, 2015, 01:22 PM
belladonna Avatar
Nov 16, 2015 16:35:38 GMT -5  @belladonna said:
You can learn a language by spending 2 skill points on them.  You leave the skill points unspent (don't put them into any skill), then post a LETO (along with the IC way they are learning the language).
Oh thank you! And sorry slow replies, not really the forum liking person usually heh.
Title: Druid Language scripted?
Post by: Vincent07 on Nov 22, 2015, 09:17 PM
Adding languages can be done, but some one has to take the time to sit down and write the conversion cipher for it.
Title: Druid Language scripted?
Post by: foo on Nov 22, 2015, 11:46 PM
what's involved in a conversion cypher? It sounds like a fun little coding project for me.
Title: Druid Language scripted?
Post by: Edge on Nov 23, 2015, 08:47 AM
Basically you'd need to sit down and write out what each letter in English equals in the scripted language.

What our languages do, rather than actually translate the text you type, is scramble it into an indecipherable string of text that looks like another language but is, technically, gobbledeygook. It does this by taking each letter of the original text string and exchanging it with another letter.

So for example:

You say "Hello" with a language widget on or using a language /command.

The script changes each of the letters into a pre-defined other letter based on the set determined beforehand - the conversion cipher.

H becomes... say... Y.
e becomes l
l becomes a
o becomes c

So you typing "Hello" would display a text string of "Ylaac", and anyone who had the associated language widget or was the appropriate race/class to have it auto-translated would see "Hello" in their combat log.

Some languages - particularly Elven, Sylvan, and Draconic - sometimes sub multiple letters for one English letter, but I've never taken the things apart to see what equals what, or experimented to decipher the entire alphabet.

This, in context, is why we get a little annoyed when people use online translators and copy-paste elven text (or other languages, but nine times out of ten it's always Tolkienan Elvish) into the game; this prevents people whose characters should be able to understand what's said from being able to decipher it, because it's not using the in-game script to speak the language and thus doesn't get translated in the combat log.
Title: Druid Language scripted?
Post by: Garage Trashcan on Nov 23, 2015, 08:55 AM
Edge Avatar
Basically you'd need to sit down and write out what each letter in English equals in the scripted language.

What our languages do, rather than actually translate the text you type, is scramble it into an indecipherable string of text that looks like another language but is, technically, gobbledeygook. It does this by taking each letter of the original text string and exchanging it with another letter.

So for example:

You say "Hello" with a language widget on or using a language /command.

The script changes each of the letters into a pre-defined other letter based on the set determined beforehand - the conversion cipher.

H becomes... say... Y.
e becomes l
l becomes a
o becomes c

So you typing "Hello" would display a text string of "Ylaac", and anyone who had the associated language widget or was the appropriate race/class to have it auto-translated would see "Hello" in their combat log.

Some languages - particularly Elven, Sylvan, and Draconic - sometimes sub multiple letters for one English letter, but I've never taken the things apart to see what equals what, or experimented to decipher the entire alphabet.

This, in context, is why we get a little annoyed when people use online translators and copy-paste elven text (or other languages, but nine times out of ten it's always Tolkienan Elvish) into the game; this prevents people whose characters should be able to understand what's said from being able to decipher it, because it's not using the in-game script to speak the language and thus doesn't get translated in the combat log.
What's actually kind of funny is that our Draconic and Halfling languages use roughly the same cipher. Draconic has a few multiple-letter substitutions whereas halfling leaves them singular.
Title: Druid Language scripted?
Post by: Dismus on Nov 23, 2015, 10:21 AM
Halflings are dragons.
Title: Druid Language scripted?
Post by: Vincent07 on Nov 23, 2015, 10:23 PM
I can dig one or two of them out of the scripts for reference.
Title: Druid Language scripted?
Post by: Fire Wraith on Nov 23, 2015, 11:42 PM
Also, you can do a "one to many", too, so it doesn't need to just be single characters.

Meaning, you could specify that the letter "n" gets replaced by "ch".

We did custom-make a few of them, and I made them variants on the original cipher (Sylvan as a derivation of Elven, for instance).

But it's just that - a list of "this letter gets replaced with this/these".

Title: Druid Language scripted?
Post by: foo on Nov 24, 2015, 10:15 AM
so it needs to have two fuctions, cyper and decypher, right? Or is the plaintext message sent to the server, and the translation sent to the player's output stream? IE is the message encrypted and decrypted, or is the decryption one way? could you send me some sample code FW?
Title: Druid Language scripted?
Post by: FaeFae on Nov 24, 2015, 02:23 PM
If Cormyr and the Dalelands does it like most servers... it will look something like this, to help with an example. :)

This is Draconic, and it assigns two letters for each one above in the translation.

}

string ConvertDraconic(string sLetter)
{
   if (GetStringLength(sLetter) > 1)
       sLetter = GetStringLeft(sLetter, 1);
   string sTranslate = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
   int iTrans = FindSubString(sTranslate, sLetter);

   switch (iTrans)
   {
   case 0: return "e";
   case 26: return "E";
   case 1: return "po";
   case 27: return "Po";
   case 2: return "st";
   case 28: return "St";
   case 3: return "ty";
   case 29: return "Ty";
   case 4: return "i";
   case 5: return "w";
   case 6: return "k";
   case 7: return "ni";
   case 33: return "Ni";
   case 8: return "un";
   case 34: return "Un";
   case 9: return "vi";
   case 35: return "Vi";
   case 10: return "go";
   case 36: return "Go";
   case 11: return "ch";
   case 37: return "Ch";
   case 12: return "li";
   case 38: return "Li";
   case 13: return "ra";
   case 39: return "Ra";
   case 14: return "y";
   case 15: return "ba";
   case 41: return "Ba";
   case 16: return "x";
   case 17: return "hu";
   case 43: return "Hu";
   case 18: return "my";
   case 44: return "My";
   case 19: return "dr";
   case 45: return "Dr";
   case 20: return "on";
   case 46: return "On";
   case 21: return "fi";
   case 47: return "Fi";
   case 22: return "zi";
   case 48: return "Zi";
   case 23: return "qu";
   case 49: return "Qu";
   case 24: return "an";
   case 50: return "An";
   case 25: return "ji";
   case 51: return "Ji";
   case 30: return "I";
   case 31: return "W";
   case 32: return "K";
   case 40: return "Y";
   case 42: return "X";
   default: return sLetter;
   }
   return "";
}//end ConvertDraconic

string ProcessDraconic(string sPhrase)
{




Title: Druid Language scripted?
Post by: foo on Nov 24, 2015, 05:29 PM
perfect, I'm going to write an impossible to decypher code :D