Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to train an monster agent, to be ready to face human player?

Discussion in 'ML-Agents' started by abdallahakrab98, Apr 7, 2021.

  1. abdallahakrab98


    Feb 9, 2021
    Think of a game like dark souls, is it possible using ml-agents (using RL algorithms) to train monsters , to be able to compete against humans and make the game more interesting for players?
  2. andrewcoh_unity


    Unity Technologies

    Sep 5, 2019
    Hi @abdallahakrab98

    We have a self-play feature that might fit this need. The basic idea would be that the monster and player are agents that learn by competing against each other. Then after training, you can control the player yourself using a heuristic or player controller.

    You can read more about self-play here Also, please look at our Soccer and StrikersVsGoalie example environments for examples of using self play in symmetric and asymmetric games.