Announcement

Collapse
No announcement yet.

Vehicle Climb

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

    Request Vehicle Climb

    is their a way to change the 4x4 to climb steeper incline without slowing down or stopping?

    #2
    Vehicles.xml has some parameters.

    Comment


      #3
      yes but which parameter? i tired the upAngleMax and tiltAngleMax but didnt seem to do anything... i made a underground base with a garage thats a 45 degree slope and the vehicles just cant make it up... down below is the default xml what u suggest?

      <property name="cameraDistance" value="5.5, 7"/>
      <property name="cameraTurnRate" value=".2, .35"/>
      <property name="motorTorqueMinQ" value="4000"/>
      <property name="motorTorqueMaxQ" value="6000"/>
      <property name="brakeTorque" value="5000"/>
      <property name="upAngleMax" value="70"/>
      <property name="upForce" value="1"/>
      <property name="steerRate" value="130"/>
      <property name="steerCenteringRate" value="90"/>
      <property name="tiltAngleMax" value="80"/>
      <property name="tiltThreshold" value="3"/>
      <property name="tiltDampening" value=".22"/>
      <property name="tiltDampenThreshold" value="8"/>
      <property name="tiltUpForce" value="0"/>
      <property name="hopForce" value="0"/>
      <property name="unstickForce" value="1"/>
      <property name="velocityMax" value="9, 18"/>
      <property name="waterDrag_y_velScale_velMaxScale" value="1.8, .9, .1"/>
      <property name="wheelPtlScale" value="1"/>

      Comment


        #4
        Is this on all vehicles ?

        I think Bicycles can go up steeper incline compared to cars ...... can you go up down ramp on a bike ?

        <property name="tiltUpForce" value="5"/> is for a bicycle

        maybe try that starting in value from 1 - 5 and see

        For a bicycle these lines are different all others are same values as above
        Code:
        <property name="tiltAngleMax" value="20"/>
        	<property name="tiltUpForce" value="5"/>
        	<property name="hopForce" value="4"/>
        	<property name="unstickForce" value=".2"/>
        	<property name="wheelPtlScale" value=".6"/>

        Comment


          #5
          its not the tiltupforce that is for leaning like a bicycle and motorcycle do the 4x4 doesnt lean in turns even the bicycle cant go up my ramp and its only 45 degrees ... well it can go up just very slow
          Last edited by UbberN00ber; 01-26-2019, 02:53 PM.

          Comment


            #6
            will try changing the UpForce to something lower the "1" maybe like ".5" like the gyro i hope it doesnt make the 4x4 fly...lol

            Comment


              #7
              Check the wheel0 - wheel3 settings too, there are some numbers there, too.

              Comment


                #8
                not sure what to change on the wheels

                Comment


                  #9
                  I saw this somewhere have not tested this myself but basically in a mod somewhere out there there was a comment saying that it was doubling all engine torque values to help get up steep slopes.


                  https://7daystodie.com/forums/showth...les-Mod-v17-1e

                  The comment is at end of the mods descriptions before the download link , this is a xml mod not a modlet but theory is same.
                  Last edited by Ragsy 2145; 01-27-2019, 04:14 PM. Reason: Found the reference

                  Comment


                    #10
                    Originally posted by Ragsy 2145 View Post
                    that it was doubling all engine torque values to help get up steep slopes.
                    I played around with this yesterday with my APC but its more than just torque.
                    The settings in unity also matter such as the mass of the vehicle as well as a few others.

                    The water settings in xml are self explanatory though. Setting it all to zero and you can power through like nothing.

                    Might take a little while to fully understand the vehicles and physics but once everything settles there should be some interesting things in the pipelines from people.

                    Comment


                      #11
                      I spent the day trying to understand the vehicle physics, making new "profiles" for each car so they handle how they should, with some individual character.

                      Ended up with the following comparison.
                      Both vehicles have the same mass, drag, xml and torque values. Doubling as per above.
                      MinQ = 8000
                      MaxQ = 16000
                      Brake = 10000

                      The only differences are the vehicle length, wheel size and wheel suspension/weight/friction/slip settings ( slight increases over vanilla ) on the new vehicle.

                      The result below:

                      Last edited by DUST2DEATH; 01-28-2019, 08:57 AM.

                      Comment


                        #12
                        Good information there DUST2DEATH ....

                        Comment


                          #13
                          Torque IRL affects vehicle acceleration and climbing power. It is affected by vehicle weight.

                          https://scienceblogs.com/startswitha...ue-in-a-car-do

                          - - - Updated - - -

                          So if the engine is realistic at all then dusts stuff should work

                          Comment


                            #14
                            Im want to have more diversity between the vehicles, and wonder if anyone found out what setting, or combination of settings" impact hill climbing the most? I see some mentioning of suspension/weight/friction/slip, Im not sure where to find this settings.

                            Comment


                              #15
                              Those are wheel collider settings in unity. They're not exposed to XML, but yeh you can have frictionless cars that skate and flip easy or grinders that will dig into concrete, and everything in between. It's a huge balance act.

                              Comment

                              Working...
                              X