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"

workflow for complex inputs

Excuse me guys, I want to setup my character movement to almost like Ghost Recon Future Soldier. Is there any way (tutorials) to plan my inputs, so I can execute that planning in blurprints? My problem now is that I don't understand how the input system works within UE4 .. so in case you have time to read what I want to do and my current setup, there they are:

My basic movement situations: (3 states)

Up State: - Idle - Walk

Mid State: - Crouch - Sneaking

Down State: - Prone - Crawling

Sprinting State: - with pressing W,A, or D and pressing Shift. - in Sprinting State the player can slide by pressing Spacebar.

The problem in my setup is that I want just one thing to be active at the moment (when walking is true then every thing else is false) so I can setup my AnimBlueprint easily and set just one boolean for each transaction between two animations. I can't reach that with my current setup because Action Mapping works on the Tick and I don't understand how it works. So here is my current setup: https://blueprintue.com/blueprint/3pt3b1kt/ (sorry, can't take a screenshot because it's large)

This is just the basic movement. The character will be in other main states like being in cover or hanging, so what I am asking for is a workflow or a plan to manage my inputs so there will be no conflicting like what I currently have now.

Sorry for the long talk.

Product Version: UE 4.17
Tags:
more ▼

asked Jan 23 '19 at 06:53 PM in Blueprint Scripting

avatar image

Ahmed_123
3 2 3

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

2 answers: sort voted first

You are overcomplicating it. All you need are 3 variables Current Speed, Is Crouching, Is Crawling. When you press spriting key, you increase current speed, when you press crouching/crawling you set corresponding variable. Then in animation blueprint you have only three states: Idle-Walking-Sprinting, Crouching, Crawling. All these states include blend-space, node which takes current speed as input (same blendspace system is used in third person template). Check on youtube, there is bunch of crouching and sprinting tutorials, crawling will work the same way.

more ▼

answered Jan 27 '19 at 11:30 AM

avatar image

Skylonxe
81 4 5 12

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

answered Jan 27 '19 at 08:18 PM

avatar image

originaltenka
11 1 2

(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