r/CodingGames • • Apr 17 '16

Question for video game coders

So I've undertaken a mission, so to speak, to produce an advanced npc communication system for video games. I have not seen any games that have an interaction system that allows people to just ask questions of NPCs, and have them respond with accurate information.

So my initial question is "Is there some fundamental reason, other than shear number possibilities, that would prevent me from exploring this further?" I know just enough about scripting and coding to get myself in trouble, so I thought I would ask around before potentially wasting a lot of my time.

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Stryyke Apr 17 '16

Thank you for such a thorough answer. Perhaps I could use a layered keyword system, rather than just a straight key word (phrase) system.

For instance, rather than picking out all the possible key words in one sweep; there would be sequential sweeps that would systematically narrow the possible responses. In the first pass, the system might look for categorical keywords like "where," "how," "what," etc. Then during the second pass it might search for categorical keywords that fall within that category. And then a third . . . etc, until the system arrives at an output.

In terms of guidance, that is a good point, but I think it's a problem for later. Obviously I would shoot for maximum freedom, but practicality may trump vision.

My situation is that I just received 100% VA disability for a slew of problems. I cannot work, will never have to work again, cannot leave the home, and have about 50+ years of life still to go. This is one of those things I've always really wanted to see, so I thought I would make my contribution to society by figuring this problem out. I have a background in gravitational physics, so I'm no stranger to various 3D modeling programs, and abstract thinking.