Beefing up the AI

I’m finding that the Droid army is a bit wimpy. My son who is 3 can dispatch these guys with ease. With a closer look, the Droids are calling to do actions like roam, chase, idle when they are standing right in front of the player. Are there any suggestions on how to beef up the challenge of these droids so that they seem a bit more “intelligent” and a little less “artificial”? And would this be a good spot to use ScriptableObjects to be able to adjust the code of the Evil robots outside of the code?

@nathansimbahan Can you please help with this when you get a chance? Thank you - much appreciated! :]

Hi adams3dart,

There are a lot of ways to beef the bots. Here are a few ideas!

  • You can implement a way to make the bots flinch after a certain number of hits.
  • You can implement a new “regroup” state, where to bot backs away from the player if the player is attacking. This will prevent the bot from charging into the player’s punches.
  • You can implement bots that throw a few punches in a row, similar to the player’s combos

Yes, ScriptableObjects would be great for this situation. If you can use ScriptableObjects to store the values used to drive the Evil robots, it will make tweaking your game easier. :slight_smile:

Hope this helps!
Nathan

Hope these ideas help!