# Yet another FPS blueprint tutorial

**URL:** <https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 19, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234 "2015-09-19T14:19:16Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [September 25, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/21 "2015-09-25T20:15:31Z")

</div>

er nope, sorry i know i’m being a pain but often i have problems working out what and how the variables are set here’s a few pics which might help pin point the error  
 ![c0af0103eede60a005290f5a9a386ad130adf551.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![3b452249844c45ec668098f260797cfdcf1af467.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 25, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/22 "2015-09-25T20:48:06Z")

</div>

Everything looks right. But your text fields are reversed (header vs where the error msg goes), but that shouldn’t matter.

[![]( " - YouTube") ](https://www.youtube.com/watch?v=6mUTqQ7_h_k)

Should pop up just like that. Is your SetErrorTXT a function in the Error\_MSG widget?

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [September 26, 2015, 12:32pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/23 "2015-09-26T12:32:11Z")

</div>

sorry but i don’t have any functions for that, i only get class or variable

 ![Error_msg_bp_02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/3/73984dce54f27ea93a2788ed9bc8cf586ba5e031.jpeg)

i think something must be missing from the widget/event graph or the text feild needs some sort of “bind” , sorry but thats why i do my best to follow tutorials i always find areas where the writers miss/forget to add these little bits, i know it like trying to spoon feed the info and it takes a lot of work from your side, so thanks in advance, i’ll now try and do the next section and hopefully come back to this later

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 26, 2015, 1:08pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/24 "2015-09-26T13:08:53Z")

</div>

No, this is good, thanks. I did miss making that function. In the Error\_MSG widget you need to make a new function, SetErrorTXT, looks like attached image. I somehow forgot to put that in, just updated the tutorial with it. ![seterrortxt.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/a/3a6b1eaf3956b44b205187a611615955a6b1cb5a.png)

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [September 26, 2015, 6:29pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/25 "2015-09-26T18:29:31Z")

</div>

You my friend deserve a Knighthood, after at least 4 hours following your tutorial (i’m slow) i’ve managed to finish the Host/gamemode section, though it doesn’t look right atm eg the main menu still shows when i click on the host button (need to set the vis of the main somewhere) i realise just how much work you have put into this tutorial + the menu system, i can only give you my heartfelt thanks and in return if you think you may need my help in anything then please tell me your kind work deservers more help in return.

again many thanks

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 27, 2015, 3:06am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/26 "2015-09-27T03:06:09Z")

</div>

> [@Geodav;387294](#):
>
> You my friend deserve a Knighthood, after at least 4 hours following your tutorial (i’m slow) i’ve managed to finish the Host/gamemode section, though it doesn’t look right atm eg the main menu still shows when i click on the host button (need to set the vis of the main somewhere) i realise just how much work you have put into this tutorial + the menu system, i can only give you my heartfelt thanks and in return if you think you may need my help in anything then please tell me your kind work deservers more help in return.
> 
> again many thanks

No problem. There should be a part in there that covers removing the main menu when the host comes up. It was later in my blog, but when I copied over to the wiki not sure where it landed, if you don’t find it let me know. There should be a whole bit on hiding widgets.

Thanks for going through it and letting me know where I mess up or forget things. I am close to done the ‘Join’ part, hopefully by tomorrow.

---

<div class="post-metadata">

**Author:** ![SupermanofGaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupermanofGaming](https://forums.unrealengine.com/u/SupermanofGaming)\
**Post date:** [September 27, 2015, 9:49pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/27 "2015-09-27T21:49:44Z")

</div>

very nice this is!

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 28, 2015, 2:58am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/28 "2015-09-28T02:58:35Z")

</div>

Thanks. Finished the Join Game part.

---

<div class="post-metadata">

**Author:** ![MountainDew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MountainDew](https://forums.unrealengine.com/u/MountainDew)\
**Post date:** [September 28, 2015, 6:51pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/29 "2015-09-28T18:51:39Z")

</div>

This looks really good and just what I have been looking for. Im about 2 hours in and loving it.

---

<div class="post-metadata">

**Author:** ![Conkerballs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Conkerballs](https://forums.unrealengine.com/u/Conkerballs)\
**Post date:** [September 29, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/30 "2015-09-29T14:19:19Z")

</div>

Hi Arbopa, Nice tutorial,

So I’m at the point where it requires the Advanced Session Plugin for 4.8 but further down you mention this…

> [@](#):
>
> There are LOADS of little bits of info on setting all this up, but all of that is not needed. With 4.9.1, they put all the Steam SDK files where they need to be, so all you need to do is edit a config file. Wherever you store your projects, you want to go to /Unreal Projects/LearnBP/Config/DefaultEngine.ini. Open it up, and add the following:

Is Advanced Session still needed?

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 29, 2015, 3:32pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/31 "2015-09-29T15:32:59Z")

</div>

> [@Conkerballs;389141](#):
>
> Hi Arbopa, Nice tutorial,
> 
> So I’m at the point where it requires the Advanced Session Plugin for 4.8 but further down you mention this…
> 
> Is Advanced Session still needed?

Yes, on the thread for the Advanced Sessions Plugin there is a download for 4.9, if I didn’t mention to use that I need to update the tutorial. The Steam stuff is seperate from the Advanced Sessions stuff.

---

<div class="post-metadata">

**Author:** ![Conkerballs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Conkerballs](https://forums.unrealengine.com/u/Conkerballs)\
**Post date:** [September 29, 2015, 4:17pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/32 "2015-09-29T16:17:57Z")

</div>

Just realized something real strange, When I hit Play, My gamemode and all the items associated are increasing every tick, so reproducing itself. I’m at the same point as Geodav, the Host menu won’t appear but I think its cause a new session is being created every tick. No idea why this is happening?

Any ideas?

---

<div class="post-metadata">

**Author:** ![Conkerballs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Conkerballs](https://forums.unrealengine.com/u/Conkerballs)\
**Post date:** [September 29, 2015, 4:30pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/33 "2015-09-29T16:30:56Z")

</div>

Lulz found it… On Start\_Game for some reason I had Open Level command. creating a continuous loop.

My bad.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a09f2b7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a09f2b7](https://forums.unrealengine.com/u/anonymous_user_2a09f2b7)\
**Post date:** [September 29, 2015, 4:40pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/34 "2015-09-29T16:40:00Z")

</div>

Hi arbopa

I liked it a lot. Just needs another excellent tutorial like it, teaching from scratch how to add bots, players, death, damage, fully functionally weapons, and pickups and any basic hud elements like health bar, armor bar, weapon selection, ammo and it would not be the another tutorial, would be the long time the Best Tutorial.

-

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 29, 2015, 4:49pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/35 "2015-09-29T16:49:29Z")

</div>

Conkerballs, glad you found it… BTW, how do you see that things are reproducing like that to catch such an error?

lunyBunny, that is all in the works, as the tutorial grows as I have time to work on it.

---

<div class="post-metadata">

**Author:** ![Conkerballs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Conkerballs](https://forums.unrealengine.com/u/Conkerballs)\
**Post date:** [September 29, 2015, 4:55pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/36 "2015-09-29T16:55:59Z")

</div>

Hi Arbopa,

If you look at the World Outliner at the top it shows you the session number of a called object. So for example, it will show HUD, GameMode, Player etc… And that number was just climbing up for me.

Unfortunately, I think I am truly having the same issue as Geodav now. When I hit play and click on Host, I can’t play with any of the host settings because it looks to still focus on the MainMenu. Ensure where the extract is in the file for focusing on the Host Menu.

Any help would be great 🙂

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [September 29, 2015, 5:20pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/37 "2015-09-29T17:20:02Z")

</div>

@Conkerballs just keep on with the host menu tutorial , he shows how to hide the main and just show the host, if i can do it then so can you

managed to finish the host section, atm it doesn’t work, think i’ve set a few of the textblock vars wrong, when i last checked there was a few images missing and a few more where i had to goto the blog to find ones that was big enough to see correctly, i think the macro for “set\_max\_players” isn’t show any where but thats might be a copy of the set\_max\_score. might i suggest you add the steam stuff for the defaultengine.ini file in there. i think my issues might also be typo’s in the ini file as my gamemode+map won’t switch even though i’ve got the buttons the wrong way round :o , i’m hoping that i can port this to other projects as theres other options i need to add the hostgame (team/factions) but i think this tutorials has given my some fantasic in sights on how to do this. hope to have a bit more time so i can continue.

can’t say thankyou enough 🙂

edit: oh boy talk about thick, yes i had a typo or 2 , then i had wired a node(byte \> ) in the up\_button the wrong way round ☹ , so now ready to sort the missing sting in option message (either the score limit or timelimit)

---

<div class="post-metadata">

**Author:** ![Conkerballs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Conkerballs](https://forums.unrealengine.com/u/Conkerballs)\
**Post date:** [September 29, 2015, 6:29pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/38 "2015-09-29T18:29:54Z")

</div>

Ty GeoDav, just got to that point now. My issue is that I have no Mouse Input for the MM\_Host, even when selected I can’t click on any of the buttons etc… I must of missed something.

EDIT: I love Unreal haha… It’s because I had an image over the whole host menu blocking button press… I am so bad at UMG!

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 29, 2015, 10:57pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/39 "2015-09-29T22:57:27Z")

</div>

Conckerballs, I went in and found where that timeenum image was missing and added it. Feel free to let me know of any other issues, would rather the tutorial be right… and I do miss things and forget things. Anyone feel free to friend me on the unreal messenger thing that is in the launcher if you want to pass me info on stuff I missed or got wrong, or could clarify better.

---

<div class="post-metadata">

**Author:** ![arbopa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arbopa](https://forums.unrealengine.com/u/arbopa)\
**Post date:** [September 30, 2015, 1:54pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/40 "2015-09-30T13:54:19Z")

</div>

Have started adding stuff for the settings menu, much work to do, but it is started, now I have to run off to my real job.

[Previous page](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234.md?page=1)

[Next page](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234.md?page=3)
