You know how when you press shift in some games, the character goes faster? That’s what I’d like to do with the vehicle sample, but I have no idea where to start.
Where should I look in the vehicle settings to setup something like that?
You know how when you press shift in some games, the character goes faster? That’s what I’d like to do with the vehicle sample, but I have no idea where to start.
Where should I look in the vehicle settings to setup something like that?
I have yet to mess with the vehicle class but I assume you could do this using blueprints. Enable input on your Blueprint class. Then add a SHIFT event to the graph. Once you have both of those things enabled, you can begin to do some stuffs like… add an impulse of speed, distort the camera, have the camera trail further behind, create a HUD material that adds distortion and speed lines to the screen, etc.
“speed lines to the screen” ? But that does nothing other than fake adding the speed. I need the car to actually go faster. And you can’t just simply add an impulse to the car,because it would look weird, actually check out the vehicle sample before responding.
Woah there tiger! Why so hostile? Is that any way to treat someone who is trying to help you?
First off, speed lines was the last thing I said. And yes, they would not add actual speed but enhanced effect. Secondly, there are many ways to add impulse. The vehicle input works similarly to the character input. You will need to add a modifyer value in between the “inputAxis MoveForward” event node, in the desired vehicle class, and the “set throttle input” function. Currently, when pressing the W key, the value 1 is passed to the “set throttle input” every tick (or whatever epic has set this timing to be). If you want to speed the vehicle up, add a number above 1 into the blueprint chain only while w and shift are held down.
There is more logic that you’ll need to mess with but that should get you going. And please don’t attack those who are using their free time to help.
Woah there tiger! Why so hostile? Is that any way to treat someone who is trying to help you?
First off, speed lines was the last thing I said. And yes, they would not add actual speed but enhanced effect. Secondly, there are many ways to add impulse. The vehicle input works similarly to the character input. You will need to add a modifyer value in between the “inputAxis MoveForward” event node, in the desired vehicle class, and the “set throttle input” function. Currently, when pressing the W key, the value 1 is passed to the “set throttle input” every tick (or whatever epic has set this timing to be). If you want to speed the vehicle up, add a number above 1 into the blueprint chain only while w and shift are held down.
There is more logic that you’ll need to mess with but that should get you going. And please don’t attack those who are using their free time to help.
Critiquing your answer is an attack? Also, you chose to spend your time answering here, and its great you spend your time helping people, but that doesn’t mean that when you give a non accurate/incorrect answer i shouldn’t critique your answer.
You weren’t critiquing my answer. You were being mean, and you know it.
BTW: the second answer is the same as the first. You just wanted someone to actually do it for you. Glad to be of service!
Actually, you did not help at all. The suggested method doesn’t work at all, feel free to test it. I don’t see how the second answer is the same as the first, since neither does the work.
By the way, I see that when I down-voted your answer for not being helpful, you down-voted my perfectly legit question, which might be asked by other users in the future. Try to to get out of the ego bubble you live in man.
As replied below, increasing the throttle input(like multiplying it by 1000), does not affect the speed at all.
Actually, I got it working on my side. Free tip: Use your brain a little. I know it hurts… but just try it.