Hey, I’m trying to make a multiplayer game as a test, which I will eventually change the assets in for my own and make a real game out of.
I have much of the game logic in place but I need to be able to shoot, I downloaded the shootergame from marketplace but I don’t know how to make Owen(currently the character I use as template) to use the weapon.
I would be happy if someone could give me pointers on how to turn the shootergame character into a third person character also, since I like that character more than Owen.
This might look like a begging post, but I have been trying to make it work for a few days now and I just can’t make it work. I tried to add the shootergame character to the standard thirdperson template but I wasn’t able to make the aimoffsets work properly so I gave up on that.
If I knew where to begin I wouldn’t make this post to ask for help, since I like to do it myself, but I’m lost right now.
I guess I would have to start from scratch and add the character with his gun, but I don’t know where to start.
When googling around I found this video, which looks like the way I want it but there is no explanation on how to do it:
I’m not asking for a full code, although that would be nice, all I need is some pointers so I know what to do.
I’m pretty new to all this and I don’t know if my advice will come across as useful or not.
Does your character a camera component? In a third person game, you could attach a camera boom to the torso and have a child follow camera, set back a little ways.
As far as weapons, I haven’t done anything with this exactly, but I’ve been working on a system where a player can pick up and put down wall actors in my level. To do this, I’ve been using “Attach actor to component” and attaching it to my camera. But if you use “Attach actor to actor”, you could specify “Self”, create a socket on the character skeleton’s hand, and attach it there (think there’s a “snap to target” option on that as well.
That might work? Don’t know if it’s the ‘proper’ way to do that. To enhance it, you’d probably want to make the gun move up and down based on camera rotation… the more I think about this, the more I think UE4 might have a better way to deal with this. But maybe not.
Anyways, as I said, I’m pretty new to all this so if you’re just rolling your eyes at my post because it’s full off poo, feel free to ignore it - I won’t be offended.
I’m using the character from ContentExamples, I believe they call him Owen, fully working Third Person Character. He already holds his hands like there is a gun there, so all I really need to do is add the weapon from the ShooterGame demo but so far I haven’t been successful.