I’m working on a template for FPS game sin UE4. It’s aimed to be mainly educational, with full documentation and step-by-step in engine tutorials for people new to game creation in UE4.
The point is for people to have a project which contains everything needed to make a small game in one place, and to give the basics to make something bigger.
I haven’t really seen anything like that around, except for the shooter tutorial.
I will make a small shooting range, with scoring system and highscores (offline for now). Want to add ingame menu with graphics settings, input settings etc. But only on basic level.
Currently I’m working on the weapon system, it’s mostly done.
The UI reacts to data received from the character, like what weapon he has equipped and how much ammo it has.
There is also weapon spread, but it needs some work, sometimes it does stupid stuff.
Crosshair reacts to movement and weapon spread.
Made this partly from tutorials all over the internet and the other part by myself.
Started out with the Shooter Tutorial, great stuff. Then youtube videos, forums, answerhub etc.
All assets and animations are made by me.
In case you’re interested in getting these assets you can find them on >>CGTrader<<](https://www.cgtrader.com/3d-models/various/various-models/fps-starter-pack).
The P90 uses a screen capture component for the scope.
Changed the firing spread, made shooting more accurate.
Previously I used projectiles, now I’m using line trace.
Changed the camera shake when firing zoomed in. Still needs some refinement I think.
Made a UI element for weapon pickup and swap message. It only shows up if you don’t have that weapon in hand.
I want to expand it with the logo of the weapon you’re looking at.
During weapon swapping you have to hold for half a second. The progress bar around the button fills up.
It can be cancelled any time by releasing the button.
jonny2027
Yes. I’m planning to sell this on the marketplace when it’s finished.
franktech
Yeah The name is pretty generic. This is just a working title so people interested in something like this can find it. The final version will be a shooting range with scoring system. So it will be called something like “Shooting Range an FPS Template” or something.
Nice job on the assets they look top notch any chance you will release the arms on there own? you shouldn’t state you created it off youtube videos it wont be a good selling point lol, you mite also want to state its single player only as well, back when i started my own weapon system i was going to release it for people to use because the marketplace lacks networked weapon systems, i never did because i just don’t have the time to offer support for a asset while also working on a game.
Thank you. Yeah, you’re right. I should specify that I only started with the tutorials, but it’s mostly made by myself.
I didn’t think people would be interested in only the arms, so I only included it in my FPS Pack on CGTrader. But I will make an upload with the rigged arms only during the weekend then.
Oh right, I forgot to say that it’s single player only. Thanks for bringing it to my attention.
I saw your game by the way, some time ago. Looks pretty nice. The building system is neat.
Yeah. There are no projectiles though. I spawn the impact effect and decal at the hit location using the hit normal.
Previously I used projectiles but linetraces work better.
Moved to the UE4 First Person map to see how plug & play the assets are. Had to fix some minor issues.
The character will stop firing if you get too close to the wall, and resume when moving back.
Changed wall detection from Box collision to line trace.
Added sound effects. They aren’t all good, but you can change them easily in your project if needed.
Added ammo pickup system with ammo BP asset. You can choose the weapon type and how much ammo you want added. They have the same physics as the weapons.
Sound effects are from Freesound.org. Most of them are CC0. The rest you can read in the video description.
I will provide a full list with the final product.
Looks like you added a ‘lift gun when near walls’ function, right? I would love to hear how you set this up, i’m looking into making something similar on my project right now
Easiest thing to do would either using a trace, or a collision overlap on the gun to check when its colliding with something like a wall, if it is then you disable the ability to fire the gun and play the animation for lifting the gun.