Modding Discussion Neural npcs

Discussion in 'Starbound Modding' started by Mr. the dude, May 5, 2017.

  1. Mr. the dude

    Mr. the dude Intergalactic Tourist

    So yeah, neural networks can allow npcs to adapt to situations, does a mod exist that adds neural networks to npcs?
    I know one can make said algorithm in lua.
    I've never written a neuron algorithm in lua but I've seen them.
     
  2. bk3k

    bk3k Oxygen Tank

    I have to confess I don't know to what you are speaking of. You can make lots of stuff in LUA, but I have no idea what you mean. Some working example? Pseudocode?
     
  3. Cyel

    Cyel Scruffy Nerf-Herder

    (Disclaimer: While I believe I'm right because I've read a bit on it, I could still be wrong; I'm not an AI-specialist, just a tech enthusiast)

    Reading this post, it seems to me that you have little to no idea what a neural network is nor know how starbound's NPCs work, and happened to read one of those "neural networks are the future of everything!!"-hype articles.
    While yes, NPC AI "using" an artificial neural network would be really cool, this is eluding a lot of things, like the computational power required to make it run, or the time and data assets required to train it, and mainly, the fact that we already have some algorithms to do what needs to be done in Starbound's paradigm. Real-world applications of NN in game's AI are, if they exist, probably running in some university's research lab's buff computer, or some AI enthusiast's basement: https://www.reddit.com/r/gamedev/co...al_networks_to_create_advanced_video/ct14gce/
    Your usual "starbound AI" is made of a behavior tree, which are tiny actions chained together and that branch to cover the usual situations (like "agressive toward target" -> "approach target" (which will call some A* pathfinding), "fire at target" etc). Those are, while basic, proven-to-work, and do not require as much computations and learning time. https://www.reddit.com/r/gamedev/co...al_networks_to_create_advanced_video/ct1aq1g/

    The devs spent quite some time getting all this right (Back in the days, AI was pretty stupid ("i'll walk in that lava pool oh no what is this a hole but how do I jump???"-kind of stupid)), and scrapping it all would be a pretty big waste of time - especially since they're working on some content, not reworking things that already work mostly properly; And I don't think anyone here is interested in trying out to build such a thing, as it's some pretty complex stuff and requires a lot of time, in many ways.
     
    Last edited: May 6, 2017
  4. DraikNova

    DraikNova Spaceman Spiff

    Neural networks take a ton of memory, which is a problem if you want one to be trained during game time. I also doubt that the relatively clear-cut results you'd need to train the neural networks would work with Starbound's environments.
     

Share This Page