Announcement

Collapse
No announcement yet.

GTA Style Vehicle Interaction - Project File Included

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

    #46
    Hmm, I guess I am not approaching this 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 this error:

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

    Having trouble replacing the GTA references in the Sedan blueprint
    Last edited by killian22; 04-15-2015, 01:45 AM.

    Comment


      #47
      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.

      Comment


        #48
        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?

        Comment


          #49
          I barely have time to touch the engine lately so i havent got to this yet. :\ Hopefully you'll get help from other members before i have the chance though!
          FREE VR Drum Kit Project
          FREE Color LUT Collection
          FREE Physics Driven Spacecraft Project
          FREE GTA Style Vehicle Interaction
          Dynamic DoF(Depth of Field)
          Camera Crossfade

          Comment


            #50
            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 Jacky & who are you cheating on us with!?

            Comment


              #51
              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 this be a bug??)
              Which could actually be the fix on 4.8?
              This was done by moving the SpawnLocation and Trigger inside the SpringArm component,
              Click image for larger version

Name:	CamInSpring.JPG
Views:	1
Size:	16.2 KB
ID:	1080693

              Also Trigger settings
              Click image for larger version

Name:	TriggerSettings.JPG
Views:	1
Size:	31.3 KB
ID:	1080694

              Got the handbrake working with the Advanced Vehicle setup, using similar method as above,
              Click image for larger version

Name:	handbrakeON.JPG
Views:	1
Size:	75.6 KB
ID:	1080692

              Thanks again for the info on this, made for a really enjoyable experiment and game mode!
              Last edited by Dodge; 06-26-2015, 08:53 AM.

              Comment


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

                Comment


                  #53
                  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, this seems to work fine, not sure where the difference lies?
                  Last edited by Dodge; 06-26-2015, 10:48 AM.

                  Comment


                    #54
                    Originally posted by CyberDev View Post
                    What are you up to these days Jacky & who are you cheating on us with!?
                    I'm up to some unpleasant stuff in life so i'm not cheating on you guys really.
                    FREE VR Drum Kit Project
                    FREE Color LUT Collection
                    FREE Physics Driven Spacecraft Project
                    FREE GTA Style Vehicle Interaction
                    Dynamic DoF(Depth of Field)
                    Camera Crossfade

                    Comment


                      #55
                      Loaded this 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.

                      Comment


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

                        Comment


                          #57
                          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.

                          Comment


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

                            Click image for larger version

Name:	XCVnhOO.png
Views:	1
Size:	84.0 KB
ID:	1082823

                            Comment


                              #59
                              Alright, 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.
                              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.
                              Last edited by Jacky; 07-29-2015, 08:39 PM.
                              FREE VR Drum Kit Project
                              FREE Color LUT Collection
                              FREE Physics Driven Spacecraft Project
                              FREE GTA Style Vehicle Interaction
                              Dynamic DoF(Depth of Field)
                              Camera Crossfade

                              Comment


                                #60
                                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 ?

                                Comment

                                Working...
                                X