Configuring the agents' personalities

With all the code set up, we can now continue back in the editor and set up the agents to match the personality we want to apply to them. Open up the editor again, and follow the next exercise to apply the personalities to the agents and start training:

  1. Select RedStriker in Hierarchy and set the Agent Soccer | Person Role parameter we just created to Girl, as shown:

Setting the personalities on each of the agents
  1. Update all the agents with the relevant personality that matches the model we assigned earlier: BlueStriker-> Boy, BlueGoalie -> Police, and RedGoalie -> Zombie, as shown in the preceding screenshot. ...

Get Hands-On Deep Learning for Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.