Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Audible Intelligence [V1.0]

Discussion in 'Scripting' started by N1warhead, Jan 19, 2015.

  1. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    {SCRIPTS}

    You can purchase this off our website or wait until Asset Store Approval.
    Our website is -
    http://warhead-designz.com/index.php/

    DEMO - You may have to speak louder as it is left at default settings.
    http://warhead-designz.com/DEMOGAMES/Builds.html
    -----------------------------------------------------------------------------------------------
    Hey guys, first off let me try my best to explain what Audible Intelligence is.
    ------------------------------------------------------------------------------------------------
    About -

    Audible Intelligence is a nifty idea that I became create, and that what if, the enemy in the game could actually react to the noise we make?

    Such as for example - if we are running through our level (a horror game) and we see this monster and we need to hide to survive, sure that's fine and dandy, but then again, hiding in real life is more than just hiding behind a wall, what if this monster could actually HEAR you and react to the noise we make?

    I do not mean the sounds in game, I mean the sounds (WE) make, what if this monster could actually hear us breath heavy? Well I have created V1.0 of this!

    How this works is, the player will have a sphere collider that goes around them centered to their position.
    This sphere will get bigger the louder a noise we make gets. If I slam my hand down getting mad, this said monster will come charging the last known position this noise was made at, if the noise radius reaches this said monster.

    Another example, lets say we are a sniper.
    If we breath too loud, you could easily program the the scope to get wobbly and harder to get good accuracy.


    I hope this is making sense.

    This set of scripts will work with (Computer, Web Player and Mobile devices) anything that has a built in Microphone.
    I hope you all enjoy this amazing new product that will be on the asset store fairly soon!
    (It is already on our store.)

    here is two videos for you to check out!

    [Ai detecting sound]


    [Setting up your player 2 different ways]
     
    Last edited: Jan 20, 2015
    Kiwasi likes this.
  2. Todd-Wasson

    Todd-Wasson

    Joined:
    Aug 7, 2014
    Posts:
    1,077
    Neat idea :)
     
  3. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Yes sir :).

    I hope people enjoy it, it truly is something that can start a whole new genre of games.
     
  4. Dameon_

    Dameon_

    Joined:
    Apr 11, 2014
    Posts:
    542
    Seems like it'd be easy to just get the relative volume of incoming sound from the microphone and use that to affect whatever you want via script, with distance affecting the volume. I can't see the point of the collider. It doesn't even seem like a difficult system to implement.

    The new game in the Alien franchise has this feature, I believe. I remember Penny Arcade or something talking about it.
     
  5. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884

    Unless Unity has changed, there is know way possible to determine the *loudness* of the volume per-distance.
    You have to capture incoming frequencies and amplify the packet signals to match properly.
    There is virtually no information on the net about this, I just had to figure it out.
    I mean I came across bits and pieces of things, but they didn't really make too much sense, I could find stuff about
    Microphone Input, but that was the least of my worries, but how to actually modify the signals to my advantage, that was the hard part, as again, there is like almost no information about doing so.
     
  6. Dameon_

    Dameon_

    Joined:
    Apr 11, 2014
    Posts:
    542
    I mean in-game distance, not real life distance.

    I can't see a way this would work reliably without making the player calibrate their microphone at least once, either.
     
  7. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    This looks very interesting, thanks N1warhead :)

    Will you be having the same special release price on the asset store as on your shop page? I'm a sucker for convenience and like Steam, the Asset Store makes keeping assets up to date very easy.
     
  8. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884

    Thank you ;) I'm sorry but i had submitted for the price to be 30. I was gonna see how 20 dollar release on our website did, which last time i check, 0 sales :( but if you purchase off of our website, it is suppose to aleart you via email on updates, and can redownload it unlimited times.

    Im actually gonna put that in next version, i never thought of calibration. But your not understanding how this works. Unity has no way to calulate a volume in game at a distane. If ur volume is 0.8, no matter how far our close, the volume is still 0.8. Trust me this is the first way i attempted it, and as far i could tell the same way everyone else tried as failed.
     
  9. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    A pity that the price will be more on the asset store :( Any chance you will consider revising the price a bit once it is on the asset store? *hopes*
     
  10. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Yeah I'm probably gonna just put it back to 20 once it's uploaded. I'd change it back now before it's even there.
    However, I don't want to approval process to take longer...

    So once it's on there, I'll drop it back down to 20, which may take a couple days, but I've seen it take less than 24 hours to have an update approved, so hopefully it won't take to long for the updated price :)


    [ EDIT ]

    I had placed the demo link on first post on this thread, I forgot to add it! Sorry!
     
    Last edited: Jan 20, 2015
  11. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Audible Intelligence V1.0 has been accepted!
    It will be online within the hour!

    @LadyAth I also changed the price to 20 dollars
     
    Last edited: Jan 23, 2015
  12. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
  13. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    Great stuff, picked it up on release and will be playing with it in the next couple of days. I'll be sure to leave a review as soon as I have - thank you for being accommodating on this with the price - very much appreciated.
     
  14. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884

    No problem buddy hope you enjoy:)
     
  15. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    *cough* Not a guy :)
     
  16. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    LOL I never said anything about a guy, I called you buddy, which means friend lol.
     
  17. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    LOL np then. In my country 'buddy' tends to refer to guys.
     
  18. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Oh I'm sorry, I didn't mean to offend you.
    Guess it is true, something that is harmless in ones nation could be a complete offense that really offends some in others.

    I'm truly sorry for offending you, didn't mean too!
     
  19. LadyAth

    LadyAth

    Joined:
    Jan 17, 2014
    Posts:
    158
    No offense was taken :) Apologies for derailing your thread. Maybe to get more back on track - what would be the potential for using your asset with an Oculus Rift? Particularly in a horror game where the increased immersion will likely have a distinct effect in how 'noisy' the player gets?
     
  20. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Well, if Rift has a Microphone. it should add a lot of reaism into your game(s).
    Because if Rift has access to Microphone Input, then the sphere that stays inside your player will go in and out as you breath, you can adjust the "amp" variable from 0.2 to a higher number to have it progress further out, or lower it for it not to be as progressive.

    I left it at 0.2 as a default standard, by increasing the amp variable, you make the sphere more sensitive to the noise we make, so depending on the type of game it is, sound can travel at a greater distance or never travel at all.
    The glory of this is, even normal in game sounds will be picked up, so if you're shooting your gun on a game, and if the mic can pick it up, the sound threshold will amplify and the enemy hear it as well :).

    I hope that answered your question(s)?
    :).
     
  21. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Everybody get Audible Intelligence while you can still get it on deal!
    Currently it is at 20.00 USD.
    ----------------------------------------------------------------------------------------------------------------------
    Audible Intelligence has had two different changes.
    1 - NAME CHANGE. I'm not sure if many understand what "Audible Intelligence" is, so I simplified it to something most would understand (Beginners). It will now be called (Once approved) - "Realtime Hearing AI".

    2 - The price will be 30.00 USD, I had it at 20 for a special.
    ----------------------------------------------------------------------------------------------------------------------
    Get it while you still can for 20.00 USD!
    https://www.assetstore.unity3d.com/en/#!/content/28492