GTA Style Vehicle Interaction - Project File Included

its work on 4.7.3 very well

Is there a to get the older GTA vehicle project? I had better success replacing the player character with my own, in current version I cannot edit or replace the GTA Character that’s locked into the Server event function, does anyone have a way to deal with ?

You should be able to change GTA character with yours pretty easily but i’m not sure where you are stuck. If you can give more information we can help you out.
In any case, here is the old version; Dropbox - GTAVehicleSetup_old.rar - Simplify your life

Thanks for the fast reply and project file,

I am trying to replace the GTA character with MyCharacter, I think I am having problems with step,

From my understanding Server Enter Vehicle is tied with the GTA Character, but I cannot find a way to change it to a different pawn.

Thanks

It’s just the function that calls ServerEventVehicle custom event. When you create a new custom event in your character BP then right click and type the name of your new event you’ll see a function with the same name under Call Function and then it will say Target is YourCharacterBP.

Hmm, I guess I am not approaching the right way, if I wanted to replaced the GTA Character with my own, I have the inputs and I can copy and paste the nodes/variables (along with the controller blueprints) but I am still not getting it right, if you can point me in the right direction I’m confident I can get it eventually.

Currently getting error:

Error Accessed None ‘Sedan’ from node Set Actor Rotation in blueprint MyController

Having trouble replacing the GTA references in the Sedan blueprint

Does anyone know if the Unreal 4 documentation on entering/exiting vehicles is compatible in 4.7? Having trouble adapting it but it’s probably on my side.

It looks like the thread is passive for a while but i have a question and maybe someone has an idea about it. When i switch to UE 4.7 the project is running fine but when i switch to UE 4.8 the client can enter the vehicle and stuck. It can not move or get out of the vehicle(server is working fine without any problems). Does anyone has any idea about it? What changed in 4.8 to effect that?

I barely have time to touch the engine lately so i havent got to yet. :\ Hopefully you’ll get help from other members before i have the though!

Yes it hurts that were finally realizing not all projects can be kept up to date with every update all the time from their creators, I’m hoping it can be fixed soon. What are you up to these days & who are you cheating on us with!?

I got the fix working for 4.8, however cannot remember for the life of me what I did!
I can upload my files if that helps?
Edit: The problem I was having was with the trigger volume on the car was always colliding with the player (Could be a bug??)
Which could actually be the fix on 4.8?
was done by moving the SpawnLocation and Trigger inside the SpringArm component,
26051477b72fe4ac9d290131c5470788c360bf21.jpeg

Also Trigger settings
TriggerSettings.JPG

Got the handbrake working with the Advanced Vehicle setup, using similar method as above,

Thanks again for the info on , made for a really enjoyable experiment and game mode!

Hello Dodge,
those modifications didn’t fix my problem, can you upload your 4.8 version? Maybe i am missing something.
Thank you.

Will try get them uploaded tonight, which part isn’t working for you the handbrake?

Just created a new project using the basic vehicle template, and the handbrake did come on, but the front wheels were still spinning?
On the advanced vehicle setup, seems to work fine, not sure where the difference lies?

I’m up to some unpleasant stuff in life so i’m not cheating on you guys really.

Loaded up in 4.8 and at first it was not working. Didn’t change a thing and magically it started working. The only thing I did was attempt to run it in simulated mode and also dedicated. I’m not sure what made it work but it works all of a sudden.

Hello ramPage16,
is client working on 4.8 also or is it just the server?

Hello everyone! Please explain How to implement the ability to input the second character in the car? The first player is driving, and the second player rotates his camera.

Not working in 4.8 multiplayer, cant drive once entering on client also camera goes into the floor, getting the following errors, Any you can update it?

Alright, here’s the updated project: https://drive.google.com/file/d/0B0LlbsIm3HuuZ2pRNlVuS0p0NUk/view?usp=sharing

It works on 4.8.1 and 4.9 Preview 1. You’ll still see the Branch error when you try to possess a vehicle that is already possessed but it doesnt seem to break anything so i wont bother with it for now. Btw, now the vehicle stops when you leave it( i dont remember if we had achieved that back in the days but here it is. ;P)

I should also point out Zak’s post here: Spawning a Pawn and Possess()'ing it doesn't function properly in MP with replication - Programming & Scripting - Epic Developer Community Forums

I was lazy so the pawn still gets destroyed in the updated project, but you should be able to make it work like Zak’s suggestion without too much work.

Hi guys , I put some blueprints on stage , getting the vehicle speed , is recorded in the variable is not the car I want. How to get the speed of a particular vehicle ?