Fuzzy Linguistic Variables

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
korbutschi
Posts: 3
Joined: Thu Apr 06, 2017 4:40 am

Fuzzy Linguistic Variables

Post by korbutschi »

Hi,
I am currently working on a training/game design sheet using Unity, Playmaker (don´t shoot at me pls), the great Love/Hate (I already purchased and experimented with) and Dialogue System.
It would be very helpful if I could get information which of the libraries and/or tools for fuzzy logic implementation suit for a good workflow, especially dealing with FLV. The fuzzy ruleset would determine the further dialogue action based on emotional states and relational data.
Is QtFuzzyLite suitable, for instance ?

What you are dealing with is of high interest and usability for my work - thank you a lot !

Best regards,
Richi
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fuzzy Linguistic Variables

Post by Tony Li »

Hi Richi,

Thanks for using Love/Hate and the Dialogue System! Don't worry; I won't knock PlayMaker. Some really great games have been made with PlayMaker. It empowers people whose have different skillsets than programming to get things done in Unity.

QtFuzzyLite would be difficult to use in Unity. It's written in C++ and Java, but Unity natively uses C# for end-user programming. It's possible to use C++ DLLs in Unity, but it's an advanced programming topic.

The Asset Store has a free, open source product called Fuzzy Logic. I haven't used it, but it might fit for your needs.

Tony
korbutschi
Posts: 3
Joined: Thu Apr 06, 2017 4:40 am

Re: Fuzzy Linguistic Variables

Post by korbutschi »

Thank you , Tony

I had been checking the single FL asset in the unity store but it applies to the combat asset UFE only(which I will probably need for the animation part - but I do not intend to do that myself because I a can afford limited time ).

Would you kindly inform me whether it would be possible to let run a win program like WINFACT as a runtime during unity 5.5 build is in progress without backdraw to reaction speed ? Please take into consideration that I do not want to waste your time dealing with details , instead a short hint absolutely reaches my goal. It is up to me to step into further detail then.

Besides, I intend to build a VIVE version draft. I upgraded my hardware heavily for that.

All the best for your fine pieces of work
Richi
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fuzzy Linguistic Variables

Post by Tony Li »

Hi Richi,

In many ways, running a Windows program like WINFACT is more complicated than using a C++ DLL. To run a Windows program, your C# script will need to use the Process.Start method. This can also be quite slow because it will need to load the program each time you invoke it.

It's more efficient, but still complicated, to use a C++ DLL as a Plugin. Here's the relevant section from a short tutorial: Using Plugins in Unity.

However, the Fuzzy Logic link in my previous post doesn't appear to be specific to UFE. It's a general-purpose fuzzy logic library for floating point values. I recommend using it instead of C++ DLLs or Windows programs.

Tony
korbutschi
Posts: 3
Joined: Thu Apr 06, 2017 4:40 am

Re: Fuzzy Linguistic Variables

Post by korbutschi »

Thanks again

I will go into detail with this asset . :idea:

Best regards,
Richi
Post Reply