To register actors from your mod to the game, you must first create a global red::Registrar object. The recommended method is to create a getter function with a static variable to hold the registrar:
The namespace is used to create a unique ID for your mod, and is recommended to be the same as your mod's name.
Once you have a registrar, you can register new profiles (registration information for an actor), replace vanilla profiles outright, or edit specific properties of an existing profile.
See red::Registrar for more information.
You may now move on to creating actors.