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

<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:** [October 14, 2015, 2:13pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/81 "2015-10-14T14:13:07Z")

</div>

> [@arbopa;399186](#):
>
> I finally had a very limited amount of time to start adding more… also cleared out some things from my build and archived it up and threw it on dropbox, as some were requesting the project to compare to theirs. Its \> 330 megs, not sure what stuff I need to NOT archive up… if anyone knows let me know I’ll re-do it smaller.
> 
> [https://dl.dropboxusercontent.com/u/36880077/LearnBP%204.9.7z](https://dl.dropboxusercontent.com/u/36880077/LearnBP%204.9.7z)

Thank you sir! I was hoping you didnt crash on your way back from Montana when I didnt see you online for a couple days 🙂

---

<div class="post-metadata">

**Author:** ![Fabry911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabry911](https://forums.unrealengine.com/u/Fabry911)\
**Post date:** [October 14, 2015, 2:26pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/82 "2015-10-14T14:26:34Z")

</div>

work it, thank you so much

---

<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:** [October 14, 2015, 2:34pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/83 "2015-10-14T14:34:39Z")

</div>

> [@Fabry911;399435](#):
>
> work it, thank you so much

sweet , so later on in this tutorial you will delete the online subsystem=null and add.

```auto

[/Script/Engine.GameEngine]!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection"

```

---

<div class="post-metadata">

**Author:** ![HiIAmMoot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HiIAmMoot](https://forums.unrealengine.com/u/HiIAmMoot)\
**Post date:** [October 14, 2015, 3:52pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/84 "2015-10-14T15:52:43Z")

</div>

Any plans on a tutorial on how to keep track of scores and such? Determine who wins and how to save that data on an online database?

---

<div class="post-metadata">

**Author:** ![Fabry911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabry911](https://forums.unrealengine.com/u/Fabry911)\
**Post date:** [October 14, 2015, 5:28pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/85 "2015-10-14T17:28:14Z")

</div>

> [@MountainDew;399440](#):
>
> sweet , so later on in this tutorial you will delete the online subsystem=null and add.
> 
> ```auto
> 
> [/Script/Engine.GameEngine]!NetDriverDefinitions=ClearArray
> +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
> [OnlineSubsystem]
> DefaultPlatformService=Steam
> PollingIntervalInMs=20
> [OnlineSubsystemSteam]
> bEnabled=true
> SteamDevAppId=480
> GameServerQueryPort=27015
> bRelaunchInSteam=false
> GameVersion=1.0.0.0
> bVACEnabled=1
> bAllowP2PPacketRelay=true
> P2PConnectionTimeout=90
> [/Script/OnlineSubsystemSteam.SteamNetDriver]
> NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection"
> 
> ```

Everything work, now i can host and join, finding servers. Actually i implementented UE mannequin with animations to test if everything work correctly and:  
-if i launch the game by the game map, the player work correctly;

-if i launch the game by the Main Menu, when i spawn in the new map, my mouse is locked

(this happen only for host, not for client)

---

<div class="post-metadata">

**Author:** ![Fabry911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabry911](https://forums.unrealengine.com/u/Fabry911)\
**Post date:** [October 14, 2015, 9:31pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/86 "2015-10-14T21:31:36Z")

</div>

> [@Fabry911;399565](#):
>
> Everything work, now i can host and join, finding servers. Actually i implementented UE mannequin with animations to test if everything work correctly and:  
> -if i launch the game by the game map, the player work correctly;
> 
> -if i launch the game by the Main Menu, when i spawn in the new map, my mouse is locked
> 
> (this happen only for host, not for client)

Ok i built it and and host people work correctly…but don’t found inside the wiki, the Refresh Button code in Join widget.

---

<div class="post-metadata">

**Author:** ![Fabry911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabry911](https://forums.unrealengine.com/u/Fabry911)\
**Post date:** [October 14, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/87 "2015-10-14T22:50:11Z")

</div>

I created a little solution for refresh button:

- in game instance BP, show join event, i created a second event [http://prntscr.com/8re2ix](http://prntscr.com/8re2ix)

- in widget BP, onclicked button refresh [http://prntscr.com/8re2vc](http://prntscr.com/8re2vc)

it work, but replicate results; it find server, clicking refresh, it found it again. [http://prntscr.com/8re3s9](http://prntscr.com/8re3s9)

---

<div class="post-metadata">

**Author:** ![Fabry911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabry911](https://forums.unrealengine.com/u/Fabry911)\
**Post date:** [October 14, 2015, 11:43pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/88 "2015-10-14T23:43:36Z")

</div>

> [@MountainDew;399424](#):
>
> yeh but its a good way to check and make sure everything else is working ok. If that fixes it I was going to give you the line of script that will fix your problem plus enable online system.

using this:

```
[/Script/Engine.GameEngine] 
!NetDriverDefinitions=ClearArray 
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver") 

[OnlineSubsystem] 
DefaultPlatformService=Steam 
PollingIntervalInMs=20 

[OnlineSubsystemSteam] 
bEnabled=true 
SteamDevAppId=480 
GameServerQueryPort=27015 
bRelaunchInSteam=false 
GameVersion=1.0.0.0 
bVACEnabled=1 
bAllowP2PPacketRelay=true 
P2PConnectionTimeout=90 

[/Script/OnlineSubsystemSteam.SteamNetDriver] 
NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection" 

```

inside file /Config/DefaultEngine.ini, i made the pack for windows and tested with friends. everything work, there is just a bug about severs information showed in join widget. in editor i can find the match and give me righ information like “1/4 players” or “44 ping”; after package for all people who found the match, informations always were “0/4 players” and “9999 ping”

---

<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:** [October 15, 2015, 12:02am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/89 "2015-10-15T00:02:38Z")

</div>

I havnt got that far but it sounds like a replication problem to me.

---

<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:** [October 15, 2015, 12:43am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/90 "2015-10-15T00:43:29Z")

</div>

> [@Mootjuh;399500](#):
>
> Any plans on a tutorial on how to keep track of scores and such? Determine who wins and how to save that data on an online database?

When I get to that point, yes.

> [@Fabry911;399565](#):
>
> Everything work, now i can host and join, finding servers. Actually i implementented UE mannequin with animations to test if everything work correctly and:  
> -if i launch the game by the game map, the player work correctly;
> 
> -if i launch the game by the Main Menu, when i spawn in the new map, my mouse is locked
> 
> (this happen only for host, not for client)

I use a few nodes that set the input to UI only, make sure when you are loading up a map to play you set it to game.

> [@Fabry911;399806](#):
>
> I created a little solution for refresh button:
> 
> - in game instance BP, show join event, i created a second event [Screenshot by Lightshot](http://prntscr.com/8re2ix)
> 
> - in widget BP, onclicked button refresh [Screenshot by Lightshot](http://prntscr.com/8re2vc)
> 
> it work, but replicate results; it find server, clicking refresh, it found it again. [Screenshot by Lightshot](http://prntscr.com/8re3s9)

Not sure what your issue with the refresh button was, I am pretty sure I put the code in the tutorial and I know it works.

---

<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:** [October 17, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/91 "2015-10-17T13:41:22Z")

</div>

@arbopa , man your the best, just checking the project now 🙂 . to answer your question on the zip size - check the “Intermediate” folders of the plug-ins there’s a large file in both which ends in .pch] not sure if they are needed but both show around 600mb in size, i sent Rama a pm so maybe he can enlighten us on that.

---

<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:** [October 17, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/92 "2015-10-17T16:38:35Z")

</div>

> [@Geodav;401586](#):
>
> @arbopa , man your the best, just checking the project now 🙂 . to answer your question on the zip size - check the “Intermediate” folders of the plug-ins there’s a large file in both which ends in .pch] not sure if they are needed but both show around 600mb in size, i sent Rama a pm so maybe he can enlighten us on that.

I figured someone would know how to cut it down it size. I kinda feel like a slacker cause life is sucking away all my time so I haven’t had much time to move forward on this. Hopefully today and tomorrow I will get some more cranked out.

---

<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:** [October 17, 2015, 4:55pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/93 "2015-10-17T16:55:16Z")

</div>

i might not be the creative type but quite good at knit-picking 😉 your doing a great job, learning loads from your stuff .

---

<div class="post-metadata">

**Author:** ![HQScanline](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HQScanline](https://forums.unrealengine.com/u/HQScanline)\
**Post date:** [October 17, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/94 "2015-10-17T17:42:26Z")

</div>

will you continue doing this?

---

<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:** [October 17, 2015, 9:36pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/95 "2015-10-17T21:36:41Z")

</div>

> [@OnlyHorrorOnlyHardcore;401736](#):
>
> will you continue doing this?

Yes, as time permits.

---

<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:** [October 17, 2015, 9:42pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/96 "2015-10-17T21:42:42Z")

</div>

I made it to the Audio Settings 🆒

---

<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:** [October 18, 2015, 2:57pm UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/97 "2015-10-18T14:57:14Z")

</div>

> [@MountainDew;401854](#):
>
> I made it to the Audio Settings 🆒

Oh man, I gotta pick up the pace. I just finished the stuff for toggle settings… need to keep moving before you catch 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:** [October 19, 2015, 12:21am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/98 "2015-10-19T00:21:47Z")

</div>

Apparently the link to the project on dropbox has been ‘banned’ due to an ‘excessive level of traffic’… ugh. I am working on making it smaller, and will put it elsewhere, guess I will close up my dropbox account, it’s worthless if you can’t share stuff with it.

---

<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:** [October 19, 2015, 1:19am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/99 "2015-10-19T01:19:16Z")

</div>

Thats crazy they banned that. I know I DLed it a few days ago no problem. 330 megs is normal for swapping out projects as far as I know.

---

<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:** [October 19, 2015, 1:22am UTC](https://forums.unrealengine.com/t/yet-another-fps-blueprint-tutorial/42234/100 "2015-10-19T01:22:34Z")

</div>

> [@arbopa;402168](#):
>
> Oh man, I gotta pick up the pace. I just finished the stuff for toggle settings… need to keep moving before you catch up. 😉

Haha yeh right ,you are kicking butt really. I have no idea how many hours I got in this and Im not plowing the way. I cant imagine how many hours you have in this.

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

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