Hello all, I have made a simple first person shooting game using the default first person template of unreal engine and now I want to use it in another project

I am pretty new to unreal engine as well as game developement so my problem is I want to use the default first person template in a new project which I downloaded from megascans but my character doesn’t perform any operations apart from jumping, I would like to know how to fix the problem or how to make a first person shooting template from the scratch. Any advice would be really helpful.

1 Like

In your project you didn’t set input bindings. You need to add them to project settings.
To do it, you need to go to Edit/Project Settings, after in opened window move to Engine/Input and set your key bindings in Bindings at Action Mappings, which is a common button like on keyboard, and Axis Mappings, which is some axis like gamepad sticks or mouse moving. You can bind multiple buttons for one action or axis, so you can make an Axis Mapping from keyboard, if you need it.
So, in your case, you need to add 6 Axis and 1 Action Mapping. Mapping names must be same as action names you use in code.


2 Likes

You have to define those input actions in the project settings:

2 Likes

Thanks a lot, that was really helpful as I had no idea how multiple keys are linked with single button but now I got it and was able to replicate my first person shooting game. Thanks again for the tip.

2 Likes

Thanks a lot , cause of your video I was able to learn a new topic of key binding.

1 Like