How to use bots in Shooter Game Sample?

Hi, I’ve read bots are in the Shooter Game and seen the navigation areas, but I haven’t been able to figure out how to activate them (tried with some game modes and play options). How can they be activated (I mean, make them spawn and act with the AI)? Or they need to be created?

1 Like

Hi Albert,

If you want to simply have Bots running around in the Shooter Game sample, look in the Content Browser under the Game/Blueprints/Pawn folder and drag-and-drop the BotPawn into the level. When you hit Play you should see them running around and coming after you.

Hope this helps!

-W

1 Like

Works great, thanks for that fast response!

I Thought I might also give you an answer or method you could use as I had to mess around a bit too.
One option when playing the game is to press the ` key (above tab,left of 1) to bring up the console, from here type spawnbot and press enter. this will spawn one bot at a time.

a better method is to click the drop down next to the play button and select ‘standalone game’. This will run the game in a new window. The game will launch automatically with a countdown timer as usual. You can press the escape key and go to the main menu of the game. From here you can host a new game, select a game type, select how many bots you want to have (up to 8 if I remember correctly). and so forth. This will then start a game that has bots.Check out the options menu as here you can also set the game to full screen.

This is just for starting out and messing about with the game, playing against some bots instead of running about on your own.

enjoy

I Thought I might also give you an answer or method you could use as I had to mess around a bit too.
One option when playing the game is to press the ` key (above tab,left of 1) to bring up the console, from here type spawnbot and press enter. this will spawn one bot at a time.

a better method is to click the drop down next to the play button and select ‘standalone game’. This will run the game in a new window. The game will launch automatically with a countdown timer as usual. You can press the escape key and go to the main menu of the game. From here you can host a new game, select a game type, select how many bots you want to have (up to 8 if I remember correctly). and so forth. This will then start a game that has bots.Check out the options menu as here you can also set the game to full screen.

This is just for starting out and messing about with the game, playing against some bots instead of running about on your own.

enjoy(think I posted this twice…sorry bout that)

Thanks for the information, mainly for the second paragraph, however for what you explain in the first paragraph I think is better to spawn the bot blueprint.

No problem. I agree with you on that.

ya man! just what i needed to get going! thanx so freaking much -W!!

Hey guys, I’m trying to figure out how this example works too:P thanks for all the tips on getting the bots to work in the example file! I’m learning so much!

My question though… if I create a new custom level myself and drag and drop the bot blueprint to my map ( I also have 2 ShooterTeamStart to respawn the bot and to spawn me when killed) the game works more or less as expected except the bot won’t move at all. it aims and shoots at me but doesn’t chase me around. any ideas why? I’m I missing something in my scene?
Thanks

This definitely works, but i want to use them in a different map, but when i use the same set up as the original shooter game ( different map ) the AI’s will turn and shoot, but will not run around. i have a Nav Mesh Bounds set up, and still nothing.