Looky what I made! =)
This is pretty tight. The player has the freedom to ask his own questions, and the NPC will respond to your keywords you provide in your questions. I posted a screenshot about this. This is inspired off of Everquest''s way of interacting with NPC''s.
http://phil.webula.net/game.JPG
Wow. That seems really cool! What kind of approaches did you use for it? Any chance of releasing a demo that we can play around with?
Demo:
http://phil.webula.net/Practice2.zip
New Screenshot:
http://phil.webula.net/game3.JPG
Hope ya like it. I always enjoyed games where you can type in your own questions instead of being limited in how you interact. Try cussing at the NPC and stuff. That''s always fun.
~ phil
http://phil.webula.net/Practice2.zip
New Screenshot:
http://phil.webula.net/game3.JPG
Hope ya like it. I always enjoyed games where you can type in your own questions instead of being limited in how you interact. Try cussing at the NPC and stuff. That''s always fun.
~ phil
Pretty cool, if you know what to write :/
I''m not sure I would have figured that out withour the screenshots.
"Player -> Do you have a sword up your but?
Armorer -> Yes, I have one lying around here."
I''m not sure I would have figured that out withour the screenshots.
"Player -> Do you have a sword up your but?
Armorer -> Yes, I have one lying around here."
quote:Original post by Anonymous Poster
Pretty cool, if you know what to write :/
I''m not sure I would have figured that out without the screenshots.
"Player -> Do you have a sword up your butt?
Armorer -> Yes, I have one lying around here."
Disturbing. That''s EXACTLY what I was going to type first...
Oh, I know how he''ll recognize what you say. The last keyword you type is what he''ll recognize. I''ll add it later.
Decided to do some playing around with to see how it works: here are some interesting results:
"sword" => "Yes I have one lying around here"
"wife" => "Yes I have a wife ..."
"sword wife" => sword response
"wife sword" => also sword response
If I am correct, you go through a list of keywords, and if the current keyword is found in the sentence, you look up that keywords response.
This is also evident in the following sequence of commands:
shield => "I surely do. Would you like to 'buy one' today?"
No => "Then move along ..."
sword => "Yes I have one lying around here"
cost => "Its 500 gold ..."
buy one => "Okay that will be 300 gold"
It seems to be case sensitive.
It is a good start, although it would be very cool if you managed to keep context of the conversation, such as some sort of state variables (ie talking about "sword", willingness to sell=50%, mood="angry", etc). Then, the response given to a keyword would depend on multiple variables, rather than just a single response. The states could also change depending on what keyword/response was chosen. Another long term addition could be to add in responses to multiple keywords ("wife kick" would trigger an angry response such as "leave my wife alone!")
Keep up the good work!
[edited by - kevmo on March 22, 2004 9:40:16 PM]
"sword" => "Yes I have one lying around here"
"wife" => "Yes I have a wife ..."
"sword wife" => sword response
"wife sword" => also sword response
If I am correct, you go through a list of keywords, and if the current keyword is found in the sentence, you look up that keywords response.
This is also evident in the following sequence of commands:
shield => "I surely do. Would you like to 'buy one' today?"
No => "Then move along ..."
sword => "Yes I have one lying around here"
cost => "Its 500 gold ..."
buy one => "Okay that will be 300 gold"
It seems to be case sensitive.
It is a good start, although it would be very cool if you managed to keep context of the conversation, such as some sort of state variables (ie talking about "sword", willingness to sell=50%, mood="angry", etc). Then, the response given to a keyword would depend on multiple variables, rather than just a single response. The states could also change depending on what keyword/response was chosen. Another long term addition could be to add in responses to multiple keywords ("wife kick" would trigger an angry response such as "leave my wife alone!")
Keep up the good work!
[edited by - kevmo on March 22, 2004 9:40:16 PM]
Can''t get the demo to work
No matter what I say:
hello, sword, shield, cost, wife, no, background, children, fuck, shit, (all the words I found in the exe)
all he says is "excuse me?"
BTW screenshots like that should be saved as png or gif, NOT jpg.
No matter what I say:
hello, sword, shield, cost, wife, no, background, children, fuck, shit, (all the words I found in the exe)
all he says is "excuse me?"
BTW screenshots like that should be saved as png or gif, NOT jpg.
Out of curiosity, why shouldn''t it be saved in JPG?
I''d personally not reccommend saving as a GIF, not after the whole GIF patent debacle.
I''d personally not reccommend saving as a GIF, not after the whole GIF patent debacle.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement