NorthernStars Mixed-Reality Framework
MR-Framework & Example AI:
This project is maintained by NorthernStars
This guide shows how to quickly start an example artifical intelligence (ok maybe it's not really intelligent) using the MR-FWNS.
All you need is to download the MR-Framework from the side menu. After downloading the MixedRealityBot archive, unpack it.
You also have to download a Mixed-Reality server. If you don't have one, simply use our Mixed-Reality Server.
If you didn't started your Mixed-Reality server, do it now. Open ports for two teams and whatever you have to set up a new Mixed-Reality game. In terminal type:
java -jar mrserver-runnable.jar -cf defaultserver.config -sl scenarios/mrscenariofootball.jar -sc mrscenariofootball.core.ScenarioCore -sc_al
Now start the bot_remotecontrol.jar from MR-FWNS by simply double clicking it or use a terminal and type:
java -jar bot_remotecontrol.jar
The bot remotecontrol needs to know the location of the jars of the ai core framework and the bot ai. Use the buttons on top of bot remotecontrol to load the core file (default: bot_mr.jar) and bot ai file (default: ais/example_ai.jar).
At the top of the bot remotecontrol you can edit connection settings for your bot. Enter server ip, server port and select a team color and AI class (For now it doesn't matter wich AI class you choose). Click Start bot to start your bot. The bot is shown in bot remotecontrol and should appear in your MixedReality server too.
Klick the Stop bot button at the bot you started, to stop it or simply close the bot remotecontrol to stop all running bots.