Is there a way to create a first person shooter on a blank default level?
So I've started a level in the default blank template and now come to realise I want my character to move like a person and I'm not sure of how to do this in the easiest way possible. Any help will be greatly apreciated appreciated!
asked Jun 11 '15 at 10:52 AM in Blueprint Scripting
Take a look at the first person template. The blueprint one is BP only and you can just copy whatever you need.
Basically you create a new character (one of the default BP actor classes) which different to a simple pawn already possesses the characterMovementComponent. That one handles network, collision, velocity and all that stuff by itself and has quite a bit of customization options. You can then simply call "Add Movement Input" to make your character walk.
But in the end I can only highly recommend looking at the character blueprint in the first person template. If you have any questions about what a node in there does or why it's done the way it is I'll happily answer that as good as I can :)
answered Jun 11 '15 at 12:47 PM
Easiest way to handle this is to create a new First Person Blueprint project. Inside it, select the FirstPersonCharacter, FirstPersonGameMode, FirstPersonHUD, and FirstPersonProjectile Blueprints in the Content Browser. Right-click and select Asset Actions > Migrate. Click OK. Navigate to the project you want to use them in, and select the Content folder, then click OK.
Then you can open your other project, and these Blueprints will be in there. The trick to getting them to work is to make sure you have the GameMode assigned. In your Project Settings, go to the Maps & Modes section. Under Default Modes, set the Default GameMode to the Blueprint you just migrated over (FirstPersonGameMode).
Hope that helps!
answered Jun 11 '15 at 10:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here