-
Notifications
You must be signed in to change notification settings - Fork 0
Coding your own bot
toncho11 edited this page Jul 21, 2022
·
5 revisions
KorraAI uses a simplified plug-in model where your work is compiled to a dll called KorraAI.dll. KorraAI.dll contains all the models (the bots you implemented) and selects which one to be used. The code provided on Github allows an existing model such as Joi to be modified or a new one to be created. Please refer to the Tutorial on how to build or re-use an existing model.
How to use the code:
- clone/download the provided Visual Studio solution 2017 from this Github repository
- The project KorraAIShared requires 2 dependencies: UnityEngine.dll and UnityEngine.CoreModule. These can be found in a Unity 2017.4.40 installation. Usually located in: C:\Program Files\Unity\Hub\Editor\2017.4.23f1\Editor\Data\Managed\UnityEngine.
- make modifications to the model(s) contained in the KorraAI project
- compile the VS solution (both projects) to produce the KorraAI.dll
- download the Demo Windows x64
- extract all files and locate the KorraAI.dll file
- replace the KorraAI.dll (from the zip file of the demo) with the one you just modified and compiled in Visual Studio
The demo app will load the KorraAI.dll you just generated and use it to control the bot. Start the application using "Companion.exe".