Groups.lua
Entity Groups
An entity group is basically a tag you can apply on entities. It will be used in this file to determine the relationships between entity groups. Making them aggressive or peaceful towards other groups.
You can also use default game groups which can be found (here)[https://github.com/femga/rdr3_discoveries/tree/master/AI/RELATIONSHIP#list-of-default-relationship-groups].
Relationship Levels
Groups can have relationships between them, telling the game how their AI should behave when encountering other entities.
A list of relationship groups can be found (here)[https://github.com/femga/rdr3_discoveries/tree/master/AI/RELATIONSHIP#list-of-relation-types].
Example of configuration
Let’s say we want to add a new group called militia
which will attack another group named infected
. Also, infected
will attack militia
.