# 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:** 15

<div class="post-metadata">

**Author:** ![akalovemaker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akalovemaker](https://forums.unrealengine.com/u/akalovemaker)\
**Post date:** [November 18, 2015, 11:01pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/282 "2015-11-18T23:01:00Z")

</div>

> [@Kiliangg;422386](#):
>
> sure ill upload it

Kiliang, try to finish all the tutorial before testing for errors… I know it’s bad programming practice but make an exclusion for now since arboba fixes those issues later on, at leasts that’s how it worked out for me. (in his website though)

&  
Arboba it was the map, THANK YOU for bringing that up, I removed the map and the game cocked and was packaged with no errors. My guess is that I used something from the landscape tools that messed it up.

---

<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:** [November 18, 2015, 11:21pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/283 "2015-11-18T23:21:47Z")

</div>

> [@Kiliangg;422386](#):
>
> sure ill upload it

First thing i found was in your defined\_modes array you had L\_Survival listed as the game mode, instead of SM, so it was passing the wrong thing. the other mode was right (used the short name you made in the config file)…

I have looked a little but am baffled. I made a new map, named it test, added it to the defined maps array and selected that and it worked fine, went right into map, main menu did not come back up… so I am confused a bit.

Have to go to gym, but will look at more 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:** [November 18, 2015, 11:35pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/284 "2015-11-18T23:35:42Z")

</div>

For the video widget stuff, there was something strange with your widget switcher. I deleted it as I could not resize it. I added a new one and renamed it WidgetSwitcher\_0 like your old one… then picked MM\_S\_Video from the User Created in the Palette and pulled it into the switcher. So that part works:

 ![x01.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/9/c9e6ea67bf2dff31ef178c68e21fafe1f573696b.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:** [November 18, 2015, 11:43pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/285 "2015-11-18T23:43:02Z")

</div>

Looks like the problem is somewhere around this stuff… are you using persistant levels? I don’t know anything about them or if they work differently.

```auto

[2015.11.18-23.36.30:309][106]LogLoad: LoadMap: /Game/Levels/lad?listen?Game=SM
[2015.11.18-23.36.30:338][106]LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x00000000643CE7A0
[2015.11.18-23.36.30:345][106]Cmd: MEM
[2015.11.18-23.36.30:369][106]LogMemory: Platform Memory Stats for Windows
[2015.11.18-23.36.30:369][106]LogMemory: Process Physical Memory: 1756.25 MB used, 1846.13 MB peak
[2015.11.18-23.36.30:369][106]LogMemory: Process Virtual Memory: 2441.25 MB used, 2721.53 MB peak
[2015.11.18-23.36.30:369][106]LogMemory: Physical Memory: 7192.00 MB used, 32729.06 MB total
[2015.11.18-23.36.30:369][106]LogMemory: Virtual Memory: 3094.48 MB used, 8388608.00 MB total
[2015.11.18-23.36.30:369][106]LogMemory: 
[2015.11.18-23.36.30:369][106]Allocator Stats for TBB: (not implemented)
[2015.11.18-23.36.30:369][106]LogPlayLevel: Creating play world package: /Game/Levels/UEDPIE_0_lad
[2015.11.18-23.36.30:371][106]LogPlayLevel: PIE: StaticDuplicateObject took: (0.001706s)
[2015.11.18-23.36.30:372][106]LogAIModule: Creating AISystem for world LvL_Menu
[2015.11.18-23.36.30:372][106]LogPlayLevel: PIE: World Init took: (0.000579s)
[2015.11.18-23.36.30:372][106]LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/Levels/LvL_Menu.LvL_Menu to /Game/Levels/UEDPIE_0_lad.LvL_Menu (0.002458s)
[2015.11.18-23.36.30:372][106]LogUObjectGlobals:Warning: Failed to find object 'Class None.SM'
[2015.11.18-23.36.30:372][106]LogWorld:Warning: Failed to load game mode 'SM' specified by URL options.
[2015.11.18-23.36.30:372][106]LogWorld: Game class is 'L_Base_Gamemode_C'
[2015.11.18-23.36.30:372][106]LogInit: WinSock: Socket queue 131072 / 131072
[2015.11.18-23.36.30:373][106]LogNet: GameNetDriver IpNetDriver_14 IpNetDriver listening on port 7777
[2015.11.18-23.36.30:374][106]LogWorld: Bringing World /Game/Levels/UEDPIE_0_lad.LvL_Menu up for play (max tick rate 0) at 2015.11.18-15.36.30
[2015.11.18-23.36.30:374][106]LogActor:Warning: GameSession /Game/Levels/UEDPIE_0_lad.LvL_Menu:PersistentLevel.GameSession_32 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily
[2015.11.18-23.36.30:374][106]LogActor:Warning: GameNetworkManager /Game/Levels/UEDPIE_0_lad.LvL_Menu:PersistentLevel.GameNetworkManager_36 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily
[2015.11.18-23.36.30:374][106]LogWorld: Bringing up level for play took: 0.000807
[2015.11.18-23.36.30:375][106]LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating
[2015.11.18-23.36.30:375][106]LogOnline:Warning: NULL: Can't start an online session (Game) in state InProgress
[2015.11.18-23.37.22:408] 48]LogBlueprintUserMessages: Early EndPlayMap Detection: Level '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel' has LevelScriptBlueprint '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel.LvL_Menu' with GeneratedClass '/Game/Levels/LvL_Menu.LvL_Menu_C' with ClassGeneratedBy '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel.LvL_Menu'

```

---

<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:** [November 19, 2015, 5:34am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/286 "2015-11-19T05:34:29Z")

</div>

FWIW, I have been messing with that live streaming stuff… dunno how it comes out… other than borning as hell, as I have it set to push to talk because my house can get noisy at random times… and often I forget to push when I am talking… LOL… But I just put up another blog entry and added to the wiki, and I did it on my second attempt at streaming… it is an easy little bit, so if you want to watch (and be put to sleep), or you can skip to the end and see me update it all on the blog and wiki to see what is involved…

https://player.twitch.tv/?video=v26527313&parent=forums.unrealengine.com&autoplay=false

---

<div class="post-metadata">

**Author:** ![akalovemaker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akalovemaker](https://forums.unrealengine.com/u/akalovemaker)\
**Post date:** [November 19, 2015, 6:41am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/287 "2015-11-19T06:41:13Z")

</div>

> [@arbopa;422579](#):
>
> FWIW, I have been messing with that live streaming stuff… dunno how it comes out… other than borning as hell, as I have it set to push to talk because my house can get noisy at random times… and often I forget to push when I am talking… LOL… But I just put up another blog entry and added to the wiki, and I did it on my second attempt at streaming… it is an easy little bit, so if you want to watch (and be put to sleep), or you can skip to the end and see me update it all on the blog and wiki to see what is involved…
> 
> [Twitch](http://www.twitch.tv/arbopa/v/26527313)

I just followed you… Make sure you stream in game talk shows section since twitch recently updated their terms and service.

---

<div class="post-metadata">

**Author:** ![akalovemaker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akalovemaker](https://forums.unrealengine.com/u/akalovemaker)\
**Post date:** [November 19, 2015, 7:12am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/288 "2015-11-19T07:12:12Z")

</div>

[HOLD ON A SECOND BATMAN…] TUTORIAL

arbopa what specifically did you do for the function “setGameOptions” inside the base\_Gamemode?

I don’t have none of this variables Mode name, Map Name, nor Server name on the game state but they are on the game instance. Did you create all this variables inside the base game mode and forgot to mention that in the tutorial?

Also where are those Map name, max players and max score coming from?

Im talking about this specifically: [http://i1.wp.com/www.acclivitygamestudios.com/wp-content/uploads/2015/11/setgameoptions103.png](http://i1.wp.com/www.acclivitygamestudios.com/wp-content/uploads/2015/11/setgameoptions103.png)

---

<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:** [November 19, 2015, 8:35am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/289 "2015-11-19T08:35:00Z")

</div>

> [@arbopa;422579](#):
>
> FWIW, I have been messing with that live streaming stuff… dunno how it comes out… other than borning as hell, as I have it set to push to talk because my house can get noisy at random times… and often I forget to push when I am talking… LOL… But I just put up another blog entry and added to the wiki, and I did it on my second attempt at streaming… it is an easy little bit, so if you want to watch (and be put to sleep), or you can skip to the end and see me update it all on the blog and wiki to see what is involved…
> 
> [Twitch](http://www.twitch.tv/arbopa/v/26527313)

Darn it ,I missed the live stream. 🙂

---

<div class="post-metadata">

**Author:** ![kggx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kggx](https://forums.unrealengine.com/u/kggx)\
**Post date:** [November 19, 2015, 12:34pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/290 "2015-11-19T12:34:46Z")

</div>

@arbopa:

> [@](#):
>
> are you using persistant levels?

It was a persistant Level but I donno why… Kappa

Still wont work after recreating the MainMenu.

thanks for the fix for the settings bug

greets  
Kiliangg

---

<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:** [November 19, 2015, 2:32pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/291 "2015-11-19T14:32:02Z")

</div>

> [@akalovemaker;422594](#):
>
> I just followed you… Make sure you stream in game talk shows section since twitch recently updated their terms and service.

Will look into that and make sure I figure that out.

> [@akalovemaker;422604](#):
>
> arbopa what specifically did you do for the function “setGameOptions” inside the base\_Gamemode?
> 
> I don’t have none of this variables Mode name, Map Name, nor Server name on the game state but they are on the game instance. Did you create all this variables inside the base game mode and forgot to mention that in the tutorial?
> 
> Also where are those Map name, max players and max score coming from?

Later in the tutorial I move a lot of stuff, that’s probably where all that comes from. I really need to update my document with all this so it goes in better order.

> [@Kiliangg;422719](#):
>
> It was a persistant Level but I donno why… Kappa
> 
> Still wont work after recreating the MainMenu.

Yeah, I’m not sure at all why it does that. Seems a total mystery to me. Will try a bit again today and see if I see what is going on.

---

<div class="post-metadata">

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

</div>

> [@](#):
>
> Yeah, I’m not sure at all why it does that. Seems a total mystery to me. Will try a bit again today and see if I see what is going on.

alright thanks! but ill probably rework the whole menu.

---

<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:** [November 19, 2015, 11:43pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/293 "2015-11-19T23:43:37Z")

</div>

Was working on more stuff, and realized some of the timer stuff wasn’t replicating properly on client. After a lot of fiddling, I realized I had stuff in the Game Mode that I was referencing… well the game mode doesn’t exist on clients, so any cast to it would fail. So I am buried in redoing a lot of stuff. ARGH! I think when I am done I am just going to work on merging all the fixes and get it all flowing properly, rather than move forward… will delay the next steps, but I think it’s necessary to prevent problems people might run into. Sorry… should have thought it out a bit better.

Will get there, will just take a bit longer.

---

<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:** [November 20, 2015, 12:34am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/294 "2015-11-20T00:34:56Z")

</div>

> [@arbopa;423113](#):
>
> Was working on more stuff, and realized some of the timer stuff wasn’t replicating properly on client. After a lot of fiddling, I realized I had stuff in the Game Mode that I was referencing… well the game mode doesn’t exist on clients, so any cast to it would fail. So I am buried in redoing a lot of stuff. ARGH! I think when I am done I am just going to work on merging all the fixes and get it all flowing properly, rather than move forward… will delay the next steps, but I think it’s necessary to prevent problems people might run into. Sorry… should have thought it out a bit better.
> 
> Will get there, will just take a bit longer.

I like your logic here.

---

<div class="post-metadata">

**Author:** ![je0810](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@je0810](https://forums.unrealengine.com/u/je0810)\
**Post date:** [November 20, 2015, 1:47am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/295 "2015-11-20T01:47:19Z")

</div>

> [@akalovemaker;421576](#):
>
> I did this and it’s not the solution for me 😕 any more insights
> 
> I knew there was something that doesn’t allow my game to package. It has something to do with this error, but I can’t quiet figure it out yet :
> 
> LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\mesh\TriangleMeshBuilder.cpp (264) 32 : cleaning the mesh failed
> 
> ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
> 
> After this an unknow error goes off and cooking for packaging game fails. I went through the entire settings/video/audio/gameplay widget tutorials and everything is the same.

I Hope your way past this now, but i have just restarted tut again(i learn quicker by repeating over… dunno why) and hit the same problem again this time i just persisted and kept going along and it seems once you finish the particular section of TUT the error clears itself!

---

<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:** [November 20, 2015, 5:46am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/296 "2015-11-20T05:46:31Z")

</div>

> [@MountainDew;423134](#):
>
> I like your logic here.

I wish my logic included how to get this silly stuff to work with the Game Mode… man it is becoming a bigger mess the more I dig. Works fine, but try all possibilities, find a bug, go to fix it and the whole thing collapses. So much fun.

Posted a question about Game Mode’s and the Event OnPostLogin, that seems to be the bane of my trouble right now.

---

<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:** [November 20, 2015, 8:33am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/297 "2015-11-20T08:33:58Z")

</div>

> [@MountainDew;423134](#):
>
> I like your logic here.

See if you can make sense of this madness: [Game Mode, replication, and running on clients - Multiplayer & Networking - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?91933-Game-Mode-replication-and-running-on-clients&p=423281#post423281)

---

<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:** [November 20, 2015, 7:04pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/298 "2015-11-20T19:04:06Z")

</div>

> [@arbopa;423282](#):
>
> See if you can make sense of this madness: [Game Mode, replication, and running on clients - Multiplayer & Networking - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?91933-Game-Mode-replication-and-running-on-clients&p=423281#post423281)

Yeah man this is really advanced BP. Notice not many people are replying because they just don’t know. I will ask a friend to take a look as well, but I will need to study this again. I had to reformat my PC. I’m done with Win 10.

---

<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:** [November 20, 2015, 7:29pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/299 "2015-11-20T19:29:19Z")

</div>

> [@MountainDew;423591](#):
>
> Yeah man this is really advanced BP. Notice not many people are replying because they just don’t know. I will ask a friend to take a look as well, but I will need to study this again. I had to reformat my PC. I’m done with Win 10.

eh, not so much advanced, as it’s important to know what fires off first, had loads of problems and it turns out it was because things didn’t fire in the order that made sense. That onpostlogin still boggles my mind but I handled it.

I hope never to start with win 10. 😉

If win 7 just isn’t supported anymore I may well move to linux.

---

<div class="post-metadata">

**Author:** ![je0810](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@je0810](https://forums.unrealengine.com/u/je0810)\
**Post date:** [November 20, 2015, 7:46pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/300 "2015-11-20T19:46:59Z")

</div>

> [@arbopa;423608](#):
>
> I hope never to start with win 10. 😉
> 
> If win 7 just isn’t supported anymore I may well move to linux.

What i know about linux you could write on the back of a postage stamp but i’m with you there win 8 and win 10 are horrid i hat all the clutter that comes with the apps…and i love my windows button 🙂

---

<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:** [November 22, 2015, 6:44am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/301 "2015-11-22T06:44:14Z")

</div>

Well, I am only 46 pages into the document. That’s the hosting menu. So not far. But this stuff is the time consuming stuff. Plus I find I am replacing pictures left and right and adding new little bits. Like I just finished adding in the needed stuff so when you select a mode, you can only select maps that support that mode. Which I said in the tutorial I’d get back to, but forgot about until I went through it. Am also building the new one in 4.10 to make sure that is all good as well.

If you have the desire to figure it out, here is a key part of the ‘only list maps that support the selected mode’ stuff… will be a while until I am caught up and have everything much smoother.

 ![resetmapspermode1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/d/52d831cbd78368e1ce1a12c1d9a6578c57ab03c3.png)

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

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