Search Unity

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

    abdallahakrab98

    Joined:
    Feb 9, 2021
    Posts:
    3
    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

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    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 https://github.com/Unity-Technologi...ign-Agents.md#teams-for-adversarial-scenarios. Also, please look at our Soccer and StrikersVsGoalie example environments for examples of using self play in symmetric and asymmetric games.
     
    abdallahakrab98 likes this.
  3. abdallahakrab98

    abdallahakrab98

    Joined:
    Feb 9, 2021
    Posts:
    3
  4. abdallahakrab98

    abdallahakrab98

    Joined:
    Feb 9, 2021
    Posts:
    3
    @andrewcoh_unity it is bit confusing for me, how self-play is used when the player has skill set (actions) very different from monster's skill set (actions)