I succeeded in creating an FPS controler from scratch, the image below shows how I did it, and I commented the keys for better understanding.
But now I want to make it run. The base value for walking forward is 1, an I want to increase it when I press shift.
So I created and InputAction set up with Left Shift. But I don’t know how to proceed. I need something that changes the value of Scale Value in Add Movement Input based on InputAction Run.
I don’t even know if it’s possible, or if I have to change the whole thing around to make it work.
My idea was to use a boolean system to detect wether shift is pressed and change the value based on that. Having the 2 values set as float variables.
That’s way too complicated for me. I’m just an artist trying to make a walkable camera to get around the map. I have little knowledge of programing.
I understand some of what he does, but it doesn’t really help me. There seems to be a lot of custom functions, and I don’t know how they are made.
He also blends everything together, uses stamina, and other variables that looses me.
There are a couple of interesting things like “Branch” and “Compare Float”. I’d have to look into it. But I don’t know how to express booleans. Sometimes I get errors saying they are not compatible, and I don’t know why.
You mean the one where it starts as third person template and uses timeline to blend between the animations? I’ve seen that. But in that case the inputs were already done, it only explained stuff about animations.
are you looking for “maxwalkspeed” inside the character movement component? just set that to the value you specified in your blendspace max y value for running
if you want to make it quick and simple you can subclass from character instead pawn, add a camera comp, leave the skeletal mesh empty
You could do a branch that if shift is down (make a variable for the run input that toggles on when down and off when up) then it multiplies the value of scale value where if it is false keep it the same