Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 18, 2013 at 11:39 PM by robertbu for the following reason:

Topic too broad/Discussion topic

avatar image
0
Question by AkiraNasuki · Jul 18, 2013 at 08:22 PM · level-design

A few questions here regarding AI

Hello, I'm a university student current on their summer break.

I just got back from holiday and noticed that the people in the East were rather interested in Ghost stories and horror etc. Which got me thinking about what to make during the summer break once I got back to the UK.

So what I've got in mind is creating a small app/minigame using something like a Ouiji board that people use to summon ghost.

Creating the board and making it interactive should be within my current level of skill but after a dicussion with a classmate. I was beginning to wonder if it possible to use unity to create an AI on the level of Siri or Samsung voice, which can select and play a range pre-recorded answers giving off the illusion that a ghost is speaking?

Would like some ideas and feedback though I believe creating an advanced AI is aquite out of my league.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Linus · Jul 18, 2013 at 08:42 PM 0
Share

Broad question. All I can say is that it is fully possible to do in Unity.

avatar image robertbu · Jul 18, 2013 at 11:39 PM 0
Share

Unity Answers is not well suited to discussions like this one. Normally I'd sent you to Unity Forums with it more discussion-centric format, but beyond saying you can probably do it, this is not really a Unity Question.

avatar image AkiraNasuki · Jul 19, 2013 at 12:10 AM 0
Share

Yeah I'm still new to unity community, wasn't sure where to go.

Sorry about that.

2 Replies

  • Sort: 
avatar image
0

Answer by markedagain · Jul 18, 2013 at 09:03 PM

no reason u cant pull off anything in unity that u can do in other engines.

the question is if there is something already laid out like assets in the store, and i dont think there is. its no small task and would be a project all on its own. ( to get it to anything remotely close to Siri)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AkiraNasuki · Jul 18, 2013 at 11:26 PM 0
Share

Yeah, cause what I had in $$anonymous$$d required the AI to be pretty smart, to be able to provide a variety of response rather than the standard Yes or No response.

Although that is what I plan to start with of course the standard written Yes or No then advance it into something that can give a automated response depending on what is asked.

avatar image
0

Answer by RyanZimmerman87 · Jul 18, 2013 at 11:36 PM

Sounds like it should be fairly simple you just need a workflow to determine the results. Quick example:

 int playerActionInt;
 int enemyResponseInt;
 
 int randomNumberInt;

 bool conditionForGhostResponse;
 
 void Update()
 {
 //trigger ghostResponseFunction
 if (conditionForGhostReponse == true)
 {
 ghostResponseFunction();
 conditionForGhostResponse = false;
 }
 }
 
 void ghostResponseFunction()
 {
 
 if (playerActionInt ==1)
 {
 
 randomNumberInt = Random.Range (1,4);
 
 if (randomNumberInt == 1)
 {
 //ghost action 1
 }
 
 else if (randomNumberInt == 2)
 {
 //ghost action 2
 }
 
 //etc.
 
 }
 
 else if (playerActionInt == 2)
 {
 
 if (randomNumberInt ==1)
 {
 //ghost action 3
 }
 
 else if (randomNumberInt == 2)
 {
 //ghost action 4
 }
 
 //etc.
 
 }
 
 }

That is a basic logic outline how you could do something like this. I'm not sure if the ghost or all the details are anything like your project just rushed for basic answer. I hope that helps.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AkiraNasuki · Jul 19, 2013 at 12:11 AM 0
Share

Ah ok so it pretty much the If and Else statements to deter$$anonymous$$e what is given for it to reply.

In which case what if it a verbal command? Will it work in the same way?

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Spline Work-Around. Joints? 0 Answers

How to add MoPub Interstitial ads between levels? 0 Answers

Method to divide a a map into 3d spaces 0 Answers

How can I add time to a timer on an object collision? 1 Answer

Wait before being able to press button again 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges