Announcement

Collapse
No announcement yet.

Hold shift for walk, in the 3rd-person template.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hold shift for walk, in the 3rd-person template.

    Im trying to figure out how I can add a blueprint for a shift-key for walking. Im following this one, but I cant find the "character movement" node. Did this change in 4.4?

    Click image for larger version

Name:	rjmJGSj.png
Views:	1
Size:	80.6 KB
ID:	1137518
    Last edited by ÅsmundSchei; 08-17-2014, 02:01 PM.
    System
    ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

    ArtStation
    Artwork thread

    #2
    Just click onto "show inherited variables" in the variable window and then type in movement -> now should be abel to see it

    Comment


      #3
      I tried that, but I didnt find the node. I searched "movement" and "Character". Here is what I found on movement:

      Click image for larger version

Name:	Shift_Walk.jpg
Views:	1
Size:	149.5 KB
ID:	1053567
      System
      ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

      ArtStation
      Artwork thread

      Comment


        #4
        Try it with the other search bar at the left side of the window. Otherwise check in the component tab if you can find the movement component

        Comment


          #5
          Found no options for nodes for character or movement in the left searchbar. Nor in the components. I only found "ProjectileMovement1" in components, but not anything about character.
          System
          ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

          ArtStation
          Artwork thread

          Comment


            #6
            Now I can see it -> use the "character class" as a parent for your blueprint. Not the player controller. But when you want to get access to the movement component in the player controller you could cast from your char bp into the controller

            Comment


              #7
              Found it, thanks But it didnt work. I followed the blueprint step-by-step. What is wrong?
              I also did the actionmapping for left-shift.
              System
              ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

              ArtStation
              Artwork thread

              Comment


                #8
                Just do everything without the "flipflop" -> then when you press shift it will increase/decrease the speed to whatever you like (that's how I made my sprint system)

                e.g

                Click image for larger version

Name:	sprint.jpg
Views:	1
Size:	314.4 KB
ID:	1053569

                orange= sprint speed
                green= walk speed
                Last edited by fighter5347; 08-17-2014, 04:34 PM.

                Comment


                  #9
                  Hello,
                  Maybe you did something else in your project which does the trouble : to be sure, ive just try for me as that :
                  new 3rd person project
                  in my character blueprint :
                  event left shift, wire and add flip flop,
                  drag "character movement" from the left side and choose get. From this wire with context sensitive check "walk speed",
                  duplicate it, set one 300 other 600, linked both white to flip flop and blue to character movement.
                  compile and it worked.

                  Comment


                    #10
                    @Fighter5347, I tried that too, but with no luck. I also noticed that the walkspeed dosent change at all when Im changing values in the blueprint. What is wrong then?
                    Click image for larger version

Name:	Shift_Walk.jpg
Views:	1
Size:	146.4 KB
ID:	1053571

                    @Fen, thanks, will try that
                    Last edited by ÅsmundSchei; 08-17-2014, 05:10 PM.
                    System
                    ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

                    ArtStation
                    Artwork thread

                    Comment


                      #11
                      Originally posted by Frequia View Post
                      I also noticed that the walkspeed dosent change at all when Im changing values in the blueprint.
                      Even when you change it in the defaults tab?

                      Comment


                        #12
                        In the defaults tab it works fine
                        System
                        ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

                        ArtStation
                        Artwork thread

                        Comment


                          #13
                          Ok, then use e.g the "1" key instead of shift and try it again. Or use the key pressed event "left shift" instead of your custom action mapping
                          Last edited by fighter5347; 08-17-2014, 05:26 PM.

                          Comment


                            #14
                            Originally posted by Fen View Post
                            Hello,
                            Maybe you did something else in your project which does the trouble : to be sure, ive just try for me as that :
                            new 3rd person project
                            in my character blueprint :
                            event left shift, wire and add flip flop,
                            drag "character movement" from the left side and choose get. From this wire with context sensitive check "walk speed",
                            duplicate it, set one 300 other 600, linked both white to flip flop and blue to character movement.
                            compile and it worked.
                            This worked perfectly fine. Thanks!
                            And thanks for all your help too, fighter.

                            Click image for larger version

Name:	Shift_Walk.jpg
Views:	1
Size:	149.2 KB
ID:	1053572
                            Last edited by ÅsmundSchei; 08-17-2014, 05:29 PM.
                            System
                            ASUS ROG Maximus IX Forumla - ASUS ROG GeForce GTX 1080 8GB - G.Skill RGB 16GB, Samsung M2 500GB

                            ArtStation
                            Artwork thread

                            Comment


                              #15
                              Originally posted by Frequia View Post
                              This worked perfectly fine. Thanks!
                              And thanks for all your help too, fighter.

                              [ATTACH=CONFIG]9037[/ATTACH]
                              Yeah you don't need the FlipFlop, that's what Released is for.

                              Comment

                              Working...
                              X