x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!

Product Version: UE 4.7
Tags:
more ▼

asked Jun 11 '15 at 10:52 AM in Blueprint Scripting

avatar image

Saphia
11 5 8 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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 :)

Cheers!

more ▼

answered Jun 11 '15 at 12:47 PM

avatar image

Erasio
5.9k 291 86 293

avatar image Saphia Jun 11 '15 at 02:41 PM

I tried to do use the same blueprints on the template and I am unsure of why it still wasn't working. I couldn't make it hook up so it would work. do you know why this might be?

avatar image Saphia Jun 11 '15 at 03:07 PM

I have worked around this and copied my work onto a first person shooter template but id still appreciate your ideas as it would be good to know in the future. sorry if this is basics to you also im fairly new to the software.

avatar image Erasio Jun 11 '15 at 06:35 PM

Well I'm not exactly sure what you did.

It's not only the nodes you have to replicate. You also need the settings in the character. For example the camera setup and some stuff in the details.

Show me what you tried and I might be able to tell you what you missed.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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!

more ▼

answered Jun 11 '15 at 10:05 PM

avatar image JohnADaniels Oct 03 '17 at 12:01 AM

Your answer helped but after migrating the files and making the changes to the GameMode and then dragging the FirstPersonChacter onto the map. When you click play you see the gun in your hand but you cannot move or shoot, he just stands there.

avatar image hussainAbis Oct 10 '17 at 05:01 AM

John, go to the input mappings in the FPS Project and make a note of it. Go back to your project and just replicate as it is, it'll work. As far as I know, there is no way of just migrating it automatically, you will have to type/edit yourself.

avatar image JohnADaniels Oct 11 '17 at 02:07 AM

Thank you !!!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question