getting communication between ue4 and external python script working
based on https://github.com/getnamo/ml-remote-server
- open ue4.24 make a new third person shooter game c++, name it MLR_BP2. Close the game and VS
- copy the plugins folder into the project directory
- go into source and get the build.cs file. Copy that into the //project directory/source to overwrite
- open up the ue4 editor, click on the character, add new component. Show all classes. Search machine learning. Add new machine learning base component named bp2_mlb
- Add new machine learning remote component named bp2_mlr
- Compile and save. Close the game and visual studio again
- Copy the entirety of the source folder, content, and config into the project directory to overwrite
- Open the game and construct the blueprint based on the image bp.png here
- In the blueprint, be sure to configure the machine learning remote component to use hello.py
- start up the server (StartupServer.bat or server.py)
- Play the game.