No vehicle Flip/ Vehicle turrets

Discussion in 'General Chat' started by tonyb42, Sep 28, 2019.

  1. Hello all. Does anyone know if there is a way to keep your vehicle from flipping over, outside using Sandbox, like something we would change in the vehicle's xtbl file?

    And kind of along the same lines, any new discoveries on how to add turrets (or at least the animation) to non-turret vehicles (also a xtbl file question)?
     
  2. There are about 9 code lines to change to get cars not to flip on their tops. Or...you could add some lines to the Vehicle_Type entry to try and control your vehicle against roll-overs....
    Example:
    This is from my personal Bootlegger xtbl.


    <Vehicle_Type>
    <Automobile>
    <Hydraulics_Capable>Yes</Hydraulics_Capable>
    <Drifting_Possible>Yes</Drifting_Possible>
    <Drifting_Conserve_Speed_Factor>1.0</Drifting_Conserve_Speed_Factor>
    <AutomobileFlags>
    <Flag>Has Security Alarm</Flag>
    <Flag>Has Beater Backfire</Flag>
    </AutomobileFlags>
    <Drifting_Yaw_Torque_Factor>0.645</Drifting_Yaw_Torque_Factor>
    <Drifting_Forward_Force>7200</Drifting_Forward_Force>
    <Drifting_Forward_Force_Speed_Cap>15.0</Drifting_Forward_Force_Speed_Cap>
    <Drifting_Boost_Strength>3.0</Drifting_Boost_Strength>
    <Drifting_Friction_Transition_Time>2000</Drifting_Friction_Transition_Time>
    <Crush_Height>-0.1</Crush_Height>
    <Crush_Factor>0.6</Crush_Factor>
    <Air_Control>
    <Max_Roll_Speed>50</Max_Roll_Speed>
    <Max_Roll_Accel>50</Max_Roll_Accel>
    <Max_Pitch_Speed>50</Max_Pitch_Speed>
    <Max_Pitch_Accel>50</Max_Pitch_Accel>
    <Max_Yaw_Speed>50</Max_Yaw_Speed>
    <Max_Yaw_Accel>50</Max_Yaw_Accel>
    </Air_Control>
    </Automobile>
    </Vehicle_Type>

    Where <Air_control> starts and ends </Air_control> the higher those numbers, the faster you turn/move on the axis. I made a Hammerhead just for stunts, I could do a spiral turn before landing. Numbers under Air_Control are timing vs velocity. Higher means faster.

    As far as Turret question...you should elaborate. You can't add a turret without tools that aren't available for this game.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice