x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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?

Product Version: Not Selected
Tags:
more ▼

asked Mar 22 '14 at 03:57 PM in Using UE4

avatar image

Albert Espín
967 80 98 359

avatar image Neville Adams Mar 30 '14 at 03:26 PM

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

avatar image Mauricio Pampin Sep 27 '16 at 05:05 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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)

more ▼

answered Mar 30 '14 at 03:28 PM

avatar image

Neville Adams
113 1 6 17

avatar image Albert Espín Mar 30 '14 at 05:07 PM

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.

avatar image Neville Adams Mar 30 '14 at 05:46 PM

No problem. I agree with you on that.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Mar 22 '14 at 04:07 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image Albert Espín Mar 22 '14 at 04:34 PM

Works great, thanks for that fast response!

avatar image davlo Jan 28 '16 at 11:56 PM

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

avatar image Connormcfarland Feb 10 '18 at 09:11 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question