Now all this community needs is a true GTA5 style Vehicle Ai For UE4 just like this one: https://www.youtube.com/watch?v=WfMPyTCqnhg&t=50s
Announcement
Collapse
No announcement yet.
GTA Style Vehicle Interaction - Project File Included
Collapse
X
-
neoxush repliedOriginally posted by Jacky View PostHello there,
Here you'll find a sample project that lets you drive any number of vehicles that exist in a level, as long as they are based on the same vehicle BP. It is setup in Player Controller BP and making it work with several different vehicle BP's is up to you. And dont forget to add a box(or sphere, doesnt matter) component to your vehicle BP for overlap events as you'll see in Sedan BP's in the project.
-----------------------------------------
UPDATE: Thanks to Omar007 the project is now MP ready and it is easier to implement for just single player too. You can download the project from one of the links below.
Download 1
Download 2
4.8.1 Update
Enjoy!
Leave a comment:
-
frostic repliedOriginally posted by Jacky View PostHello there,
Here you'll find a sample project that lets you drive any number of vehicles that exist in a level, as long as they are based on the same vehicle BP. It is setup in Player Controller BP and making it work with several different vehicle BP's is up to you. And dont forget to add a box(or sphere, doesnt matter) component to your vehicle BP for overlap events as you'll see in Sedan BP's in the project.
-----------------------------------------
UPDATE: Thanks to Omar007 the project is now MP ready and it is easier to implement for just single player too. You can download the project from one of the links below.
Download 1
Download 2
4.8.1 Update
Enjoy!
Originally posted by Tim Hobson View PostMaking and breaking games is fun and hard and I certainly enjoy both. While I do enjoy breaking them they are never perfect on the first release. Great work on the tutorial. It really is a great starting point for anyone looking to do vehicle games with their characters!
Thank you for taking the time and giving back to the community. It is always appreciated!
Tim
Leave a comment:
-
Dodge repliedGetting this error in the log
"Error Blueprint Runtime Error: Accessed None trying to read property Sedan from function: 'ExecuteUbergraph_GTA_Character' from node: Branch in graph: EventGraph in object: GTA_Character with description: Accessed None trying to read property Sedan"
Not having much luck with anymore this using my vehicle BP
Leave a comment:
-
Nsomnia repliedOriginally posted by Lemur8063 View PostHi 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 ?
Leave a comment:
-
Lemur8063 repliedHi 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 ?
Leave a comment:
-
Jacky repliedAlright, here's the updated project: https://drive.google.com/file/d/0B0L...ew?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: https://answers.unrealengine.com/que...#answer-172496
The fact that you immediately destroy the character while there is a pending RPC or replication is also not good. If you really need to destroy the character, insert a delay. Typically in this scenario we suggest hiding the actor, disabling collision, and disabling ticking. Then when you exit the vehicle, place the actor where you need it, and re-enable all those things.Last edited by Jacky; 07-29-2015, 08:39 PM.
Leave a comment:
-
CyberDev replied -
AndrewVishnevsky repliedHello 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.
Leave a comment:
-
Guvenc repliedHello ramPage16,
is client working on 4.8 also or is it just the server?
Leave a comment:
Leave a comment: