User Tag List

Results 1 to 7 of 7

Thread: Possible to create a fantasy translator?

  1. #1
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Possible to create a fantasy translator?

    Is it possible to create a fantasy translator using MMF2? As in, inputing a sentence in a text box, and then pressing a button, and MMF will find all matching words and change them into something else in another string? (Or leave the words alone if they don't match anything?)

    Similar to this?

    http://www.grey-company.org/Maerdyn/resources/translator/index.cgi?text=May+I+help+you%3F&lang=Drow

  2. #2
    Clicker iOS Export Module

    Join Date
    Feb 2010
    Location
    Behind the tree!
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    yes, use the string parser 2 object and delimiters.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    Don't... suppose there's a tutorial for said object anywhere, is there?

  4. #4
    Clicker iOS Export Module

    Join Date
    Feb 2010
    Location
    Behind the tree!
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    Most objects come with examples and help files located in the mmf directory.

    You can also you the forum search function and type in string parser?

  5. #5
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    Yeah, I managed to find one example file out on the internet that makes a list and omits words in strings with delimiters and breaks apart the string into separate strings, then puts them into a list.

    Even looking at the code... I don't get it. Although I haven't seen anything that replaces words within a string and then places the result in another string/ edit box.

  6. #6
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    Got it to work using a combination of the String Parser object and the Named Variable Object, but now I need it to remove the spaces behind the punctuation marks. >< Like the commas and periods look like "Hello , there . How are you ?"

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible to create a fantasy translator?

    I guess you could find strings that contain " ?" or ", " or whatever other various combination there is, and then just change it to the correct "?" or "," etc.

Similar Threads

  1. Translator object[Request]
    By MEHRDAD in forum Extension Development
    Replies: 0
    Last Post: 30th July 2013, 01:35 PM
  2. How to make a fake translator?
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th April 2010, 07:31 AM
  3. Fantasy Wargaming
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th April 2010, 06:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •