Generic Shooter: Support Thread

@
You have multiple root node in your model.
When you import from ue4 to blender, it create automatically a root node. ( i had the same error in 3ds max)
Delete the first one and export again.

@LordPomp
You need to get the team num from the cached player state

@zuert
Yes! Works great. Thanks very much. :smiley:

Hi!

Help to configure DefaultEngine.ini for multiplayer games in steam.

Changed DefaultPlatformServise but it is not working.

[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=200

When you connect to the game server is recognized, but to connect to a host fails. Double-clicking does not work.

Screenshot_1.png

Are you running two different instances of the game on different machines? To get steam to work I had to do that, and use two different steam accounts.

All right, we have three different Steam account on three different computers run the same build of the game.

When we use the demo version, everything is working correctly, connect and play without any problems.

The problem is that when you run the source code, Steam is not set up, steam is activated only if you make changes to the configuration of what I wrote above. But apparently this is not enough, how to connect to another fails, double-click does not fire.

Thank you for the support for!

We use three computers, but in the game settings DefaultPlatformServise=None, and when you start Steam does not see a network.
And, we are changing the settings (DefaultPlatformServise=None => DefaultPlatformServise=Steam), can not connect to each other…
Maybe this is not enough?

Tell me how to get the configuration file (DefaultEngine.ini) from the demo? Thank you.
(Downloadable Demo: http://www.michaelallar.com/GenericShooterDemo.zip)

LAN and Localhost not connecting

Hi,

First up, AMAZING product, saw it and bought it straight away.

  1. LAN - Cannot find or direct connect to a hosted game on either two of my computers on my local LAN. I tried both ONLINE and LAN, with no luck.
    When I hit refresh it cannot find the server.
    If I direct connect using OPEN after about a second or two it drops back to main menu.

  2. Localhost - Created a separate PIE window and tread to open to localhost and the current PIE window closes.

Thanks and keep up the amazing work. :slight_smile:

So I was finally able to connect client to server and I had to do the following:

  1. Cook the project, not run it in PIE like quote above
  2. Start host on each machine, so that I could get console on client
  3. OPEN IPADDRESS:7777 on client

Not sure why console is disabled in menu, but maybe this should be enabled in default sample project.

Hi , I really like your Generic Shooter Sample Project.

Just wanted to mention one thing and ask a question to anyone that may be able to assist.

I installed the 4.9.1 version on Windows 7 64-Bit Professional and when testing the weapons in both PIE and stand alone game they all seem to work except for the grenade launcher. When using it the program locks up before a grenade explosion and I have to cntrl-alt-del to end the program from the task manager.

Question (this is primarily what i’d like to know the most):
What kind of events are these below?
CustomEvent2.png
This image is taken from the BP_BaseWeapon blueprint and seems to be used for things like ServerStartFire, ServerStopFire, etc… I’ve created custom events before, and I believe even with the similar attributes, but have never seen icons indicated within the green circle. When I checked the custom events documentation, along with a few other blueprint documents I can’t seem to find them. Here is another image listing the details pane for the function? / event in question.

Thanks for any help with this one. :slight_smile:

I have the same problem , it would be nice to solve it :cool:

Anyone having this problem too ?

When playing in editor or standalone, everything works. But when I package the game, suddenly it doesnt work. When trying to host a game, it seems to be like stuck, server never creates and I can click back to choose game modes but cant then click back to go to main menu.

TL;DR: When packing game, cant host games.

For all the other posts in this thread, I’ll get to you soon, I promise.

Your packaging settings probably are fubar due to some… I really don’t know what the issue is but…

If you follow the custom map tutorial in the first/second post of this thread, particularly the packaging maps list, I bet that’ll fix it.

Thanks but that was the first thing I´ve done and it didnt work. I have the same settings as in the video.

Edit: No idea what was wrong, deleted pack, downloaded again from marketplace and applied my commits -> is working now.

Hey, first off, this is a great template. Amazing, I’ve accomplished some great stuff with it, limb ripping, blood squirts, blood staining surfaces, killstreak and headshot announcing system, melee weapons, bloody weapons on flesh overlap,and more, just really great stuff…

And converting it to 4.92 was easy enough, had my old project open, and new one open, migrated the player character (to migrate dependent things not to transfer code) then copy/pasted code from character, controller, etc… to the new one… (Don’t forget to add all your goodies from your library that you use ahead of time) Some tips: after pasting in your code add your variables ahead of time(that is before compiling), the code will break less when you compile… the breaks that happen are from custom events, when you paste all the code from say one player character to the other in the 4.92 project it doesn’t just automatically paste all at once (though it seems to, processor does amazing things in milliseconds) it pastes a little at a time, so if a place being pasted is calling a custom event and the custom event declared was already pasted, then no worries, but if the custom event that was declared hadn’t pasted yet then when the custom event called trying to paste comes in-- it just deletes itself(because where it was declared pasted after-the-fact), so after pasting your code check every instance where a custom event is called, it will be about 50/50 some will paste over to the new one and some won’t for reasons given. (these custom events are sometimes a link to the rest of the functions as well, for instance I couldn’t pick up weapons at first, and it was because I missed a custom event in the pickup line and worked fine after putting it back in and reconnecting.)

I am having an issue though. I set the default for unknown Physical material types in impact defaults to just use concrete, which works great. However, sometimes when smacking a character with a melee weapon or a bullet or a projectile spawn, for a moment, it doesn’t seem to know what kind of surface it is hitting (Even though its still doing damage! but bypasses my limbripper and blood squirts and looks weird concrete particles comin out) and so it appears to the game as an unknown physical material and wham, concrete gibs…decal… etc… This doesn’t make sense to me, how can it not register what material it is that I am hitting one sec, then all of a sudden it does… and how can it not register what material it is that it is hitting and yet still be damaging the character? It seems to happen like 2 out of 6 or so times the character gets damaged… and every single time the character gets damaged if it spawned but didn’t move at all this also happens… I could be crazy but it seems to be dependent on the incident angle of the strike as well… like if the point normal of the incident angle moves out on a plane that intercepts you? My physics work and game development are blending together… I haven’t slept much since buying this template. =) But in a good way…

Thanks ahead of time for any clarification, and thank you , for taking care of all the grunt work for me in this bad **** template that is way overkill… and thanks to the community for asking all the right questions so I don’t have to usually, (aside from the few of you I see that ask the wrong questions, and down this amazing product because your skill level lacks… I judge only your hastiness, before 2 months ago I had zero Unreal experience or game experience at all. Be patient, and realize the problem is probably with you. Unreal is actually a great environment for beginners if you have the right attitude.) That being said, I hope that this problem I am having is retardedly simple and my fault… so any help constructive or insulting is welcome.

Thanks, and good luck all.
-Keeper

Edit: It was super simple, some trigger boxes attached for bleeding effects didn’t have a material assigned… oops… lol… thanks to all that read.

Is there any way to make jumping work in this?

Go to engine input>action mappings in project settings, make sure jump is the only one with spacebar attached, i think by default press fakefocusedwidget is also set to use spacebar? its one of the other ones besides jump, it overrides the jump because it consumes the command i think, so just remove spacebar from any of the input events listed there aside from Jump, then in your character blueprint, eventgraph just make spacebarpress and link to inputaction jump… and wallah…

Oh and, make sure can jump is checked in Movement Capabilities on the charactermovement(inherited) component in the bp player character or your character. I just double checked what i told you on a blank creation and jump started working if you do all of it.

@: I love this kit man … I basically started a new project on Friday night and by last night I had replaced all the weapons with the Prototype weapons, all the characters with the Prototype characters and all the sounds, impacts, and effects with new ones. Was as simple as watching your tutorials and then applying them to my circumstances. Thank you for this.

This week I plan on modifying the entire HUD and UI to bring it in-line with the style of my game … will post some screenshots later.

Thanks for this kit. 8-}

@everyone: Now for the question … how easy is it to get this game Steam enabled and are there some quick instructions that I can follow. I am assuming that this is using the Null sub-system at the moment.

I am having a blast. 8-}

Hello all! I have buy this project but I have a question: Where I can find “Create session”? Thanks all