As we just discussed, archetypes are templates based on predefined script values. These parameters are exposed in the Archetype Library tab, which can be found in the DataBase View window.
In this example, we will create two opposing teams of Grunt objects using two archetypes:
Open the DataBase View window by selecting the View menu and then opening View pane | DataBase View.
In the DataBase View window, click on the create new library icon.
Name this new
.xml
library Book_Example_5_Archetypes.Add an item to the library with the add item icon.
Name the group Enemies and the names of the enemy to Grunt_1.
Do the same for a second group called Friendly, and name the friend Grunt_2.
Set the Faction parameter of Grunt_2 to Players, as seen in the following screenshot:
Drag Grunt_1 and Grunt_2 from...