[Release] Tesla Model X [Add-on]

Perfect, thank you very much :slight_smile:

Actually, doing that is suddenly making the car immovable for me… it didn’t do this before when i tested it. I’m not sure why it suddenly stopped working.

Yep I confirm, I just tested it, the car is immovable and the light flicker

Here is the handling of my Tesla Model S that is electric :

`<?xml version="1.0" encoding="UTF-8"?>

<CHandlingDataMgr>

  <HandlingData>
    <Item type="CHandlingData">
      <handlingName>MODELS</handlingName>
      <fMass value="1800.000000" />
      <fInitialDragCoeff value="8.300000" />
      <fPercentSubmerged value="85.000000" />
      <vecCentreOfMassOffset x="0.000000" y="0.100000" z="-0.050000" />
      <vecInertiaMultiplier x="1.200000" y="1.200000" z="1.400000" />
      <fDriveBiasFront value="0.500000" />
      <nInitialDriveGears value="1" />
      <fInitialDriveForce value="0.200000" />
      <fDriveInertia value="1.000000" />
      <fClutchChangeRateScaleUpShift value="1.300000" />
      <fClutchChangeRateScaleDownShift value="1.300000" />
      <fInitialDriveMaxFlatVel value="175.000000" />
      <fBrakeForce value="0.600000" />
      <fBrakeBiasFront value="0.650000" />
      <fHandBrakeForce value="0.800000" />
      <fSteeringLock value="40.000000" />
      <fTractionCurveMax value="2.150000" />
      <fTractionCurveMin value="1.850000" />
      <fTractionCurveLateral value="21.500000" />
      <fTractionSpringDeltaMax value="0.150000" />
      <fLowSpeedTractionLossMult value="1.000000" />
      <fCamberStiffnesss value="0.000000" />
      <fTractionBiasFront value="0.485000" />
      <fTractionLossMult value="1.000000" />
      <fSuspensionForce value="2.100000" />
      <fSuspensionCompDamp value="1.200000" />
      <fSuspensionReboundDamp value="2.000000" />
      <fSuspensionUpperLimit value="0.050000" />
      <fSuspensionLowerLimit value="-0.090000" />
      <fSuspensionRaise value="0.010000" />
      <fSuspensionBiasFront value="0.540000" />
      <fAntiRollBarForce value="0.700000" />
      <fAntiRollBarBiasFront value="0.640000" />
      <fRollCentreHeightFront value="0.470000" />
      <fRollCentreHeightRear value="0.470000" />
      <fCollisionDamageMult value="0.700000" />
      <fWeaponDamageMult value="1.100000" />
      <fDeformationDamageMult value="0.700000" />
      <fEngineDamageMult value="1.500000" />
      <fPetrolTankVolume value="0.000000" />
      <fOilVolume value="0.000000" />
      <fSeatOffsetDistX value="0.000000" />
      <fSeatOffsetDistY value="0.000000" />
      <fSeatOffsetDistZ value="0.000000" />
      <nMonetaryValue value="35000" />
      <strModelFlags>440010</strModelFlags>
      <strHandlingFlags>1000</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.100000" />
          <fBackEndPopUpBuildingImpulseMult value="0.030000" />
          <fBackEndPopUpMaxDeltaSpeed value="0.600000" />
        </Item>
        <Item type="NULL" />
        <Item type="NULL" />
      </SubHandlingData>
    </Item>
  </HandlingData>

</CHandlingDataMgr>
`

EDIT: I found that in my MODELS vehicule.meta there was a flag : FLAG_IS_ELECTRIC
which was not in the model X

That’s probably it then.

You must have that flag, as well as setting the fuel/oil volume level to 0.0. I’ll test it to make sure.

I just tested on my side and it is working perfectly now.
And yeah, we need to add : FLAG_IS_ELECTRIC in vehicle.meta
Thanks for the help :smiley:

1 Like

Yeah it works. Still very touchy handling though. But I guess that’s the issue with most addon cars, almost none have a very good handling.

At least the fuel now works.

Summary of solution:
Replace this in your handlings file:

<fPetrolTankVolume value="0.000000" />
<fOilVolume value="0.000000" />

and add this flag in vehicles.meta:

FLAG_IS_ELECTRIC
1 Like

The sound of it is not the most realistic, but great job

1 Like

hello Sam :slight_smile:

Yes this should fix some of the issues.

Pretty Sure you would have to change that in the vehicle.meta file. Not to sure though

SUP Jack :christmas_tree:

Tesla model X at 200mph+ :ok_hand:

2 Likes

Lmfao

DL Link is broken d00d.
Possible you could fix that? :smile:

he posted another thing. here you go.

anyone got a slowed down handling file? i suck at editing them

I used the handling line from this vehicle:

Where exactly do i put that in the Vehicle.meta?

you need to find than place it but dont forget to make a space after FLAG_IS_ELECTRIC

Hey the car is stuck in orange colour and I cannot see any option to change it help pls @SamRamster