Log in to reply

[Tutorial] | Vehicles.meta

  • If anyone can help I am looking for where can add more seats and how to adjust them thanks

  • Banned

    @dodgeboy121 said in [Tutorial] | Vehicles.meta:


    Hey Dude! WHAT'S THE CHANCES! I find you here! :grinning:

  • haha yeah bud i really enjoy tinkering with handling lines, and my endeavors in that lead me to this post, i havent published anything yet though

  • Is it possible to include only the vehicle you want in a vehicles.meta? We have a bunch of custom models in our server, and every time we load a new one we override our previous vehicles.meta with the new one.

    Is it possible to structure the per vehicle vehicles.meta, carcol.meta and carvariations.meta to only include the data specific to the car we are trying to load? Haven't been able to find any examples of this.

  • exactly what does 1.54. WEAPONFORCEMULT VALUE do ?

  • @dodgeboy121 For everyone who wants to know:

    ALLOWJOYRIDING allows the car to be driven recklessly. If you set it to false, it will drive professionally. Like the Bus and Ambulance.

  • Anybody know how to make a fx Sanchez to a police vehicle in "vehicles.meta"

  • @LauiiDK

    '<flags>' line in 'vehicles.meta'

    Give it the 'FLAG_LAW_ENFORCEMENT' (so it can spawn as dispatch. Also causes peds to respect it & get out of the way/not barge past knocking it over if vehicle siren is ON. Leave siren running if leave vehicle or peds will start barging past) & 'FLAG_EMERGENCY_SERVICE' (if you have it set to respond to ped emergencies ('<EmergencyResponses>' bottom of dispatch)).
    You can safely set both flags, there may be other effects/advantages of 'FLAG_EMERGENCY_SERVICE' I'm not aware of.

  • I remember there was a flag or something that makes the vehicle headlights blueish. It had something like halogen in somewhere of it's name but I can't find it anymore :/

  • How to edit the vehicle's HP ?

  • @Karabiner98 said in [Tutorial] | Vehicles.meta:

    How to edit the vehicle's HP ?

    A lot of the details on that in this thread.

  • Can someone tell me what is wrong with this dlc ??, everyone has told me to copy the data of the car I use as a replacement, I do that but I can't make this shit work I'm sick, the same thing always happens to me.
    ps: the car is not included


  • I'm adding in the Street Deluxo mod, however the layout is set to:
    This causes my game to crash whenever I try and enter the vehicle.

    Does this mean we can only use layouts from the base game or are DLC vehicle layouts allowed?

  • Can I use quote tags in vehicles.meta and american.gxt?

  • Sorry to ask.. Im still newbie here..
    Does the vehicle.meta(mods file) gonna overwrite my original vehicle.meta file ? I mean,if I have mod the original vehicle.meta file before,and then I replace the vechile.meta(mods file which i just download),does all my mod inside the original vehicle.meta gonna gone ?

  • @geforce3552
    Yes, if you overwrite any file, any previous edits will be gone.

    If you want to keep your edits, you'll want to open up your original edited 'vehicles.meta' & copy any data you want to keep into the new one & then install that.

    However, if you have made edits to the game folder version (ie original vanilla) & you then install the same file into the 'mods' folder, that will not overtly overwrite the data (ie old data will still exist), but the game will load the data in the file from the 'mods' folder instead, so your old edits will not appear in-game.
    To keep your old edits in this case is the same as above, manually copy the data you want to keep over into the 'mods' folder version of the file.

  • @a63nt-5m1th
    Im sorry but its little bit confusing,how do I know which file I need to copy and not, because inside the .meta file(original) and (mod) are almost same and too many lines.

  • @geforce3552
    Use something like https://www.diffchecker.com/ to compare two different files :thumbsup:

    First, you want to compare the vanilla 'vehicles.meta' to your edited one so that you can identify which vehicles you have edited previously (make a list of them somewhere if need be). Then you want to copy the data for those vehicles from your old edited file over into the new file you downloaded, overwriting the same vehicles & replacing their data.

    Use a more advanced text editor like Notepad++ for your editing (if you don't already). It will be much easier to read & see where sections of data in the file start & end (click on line & it will highlight start & end of that block of data highlighted purple with a red vertical line (on right of page) connecting them (see pic))

    purple highlighting & red line

    For vehicles in 'vehicles.meta' you want to click on the '<Item>'' just above the '<modelName>' line:

        <Item> <!-- This '<Item>' here -->

    Notepad++ will then highlight (purple highlight & red line etc) the entire block of data for that vehicle.
    Scroll down until you see a purple highlighted '</Item>' line & everything inbetween those highlighted lines is the data for that vehicle:

    Example (ninef):

        <Item> <!-- Copy from here... -->
          <animConvRoofWindowsAffected />
          <audioNameHash />
          <scenarioLayout />
          <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.050000" />
          <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.100000" z="0.000000" />
    	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="-0.045000" z="0.015000" />
    	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.020000" />
    	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
    	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="-0.100000" z="0.000000" />
    	  <FirstPersonMobilePhoneOffset x="0.130000" y="0.211000" z="0.580000" />
    	  <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.156000" z="0.463000" />      
          <PovCameraOffset x="0.000000" y="-0.200000" z="0.695000" />
          <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
          <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
          <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
          <shouldUseCinematicViewMode value="true" />
          <shouldCameraTransitionOnClimbUpDown value="false" />
          <shouldCameraIgnoreExiting value="false" />
          <AllowPretendOccupants value="true" />
          <AllowJoyriding value="true" />
          <AllowSundayDriving value="true" />
          <AllowBodyColorMapping value="true" />
          <wheelScale value="0.268000" />
          <wheelScaleRear value="0.268000" />
          <dirtLevelMin value="0.000000" />
          <dirtLevelMax value="1.000000" />
          <envEffScaleMin value="0.000000" />
          <envEffScaleMax value="1.000000" />
          <envEffScaleMin2 value="0.000000" />
          <envEffScaleMax2 value="1.000000" />
          <damageMapScale value="0.600000" />
          <damageOffsetScale value="1.000000" />
          <diffuseTint value="0x00FFFFFF" />
          <steerWheelMult value="1.000000" />
          <HDTextureDist value="5.000000" />
          <lodDistances content="float_array">
          <minSeatHeight value="0.812" />
          <identicalModelSpawnDistance value="20" />
          <maxNumOfSameColor value="1" />
          <defaultBodyHealth value="1500.000000" />
          <pretendOccupantsScale value="1.000000" />
          <visibleSpawnDistScale value="1.000000" />
          <trackerPathWidth value="2.000000" />
          <weaponForceMult value="1.000000" />
          <frequency value="30" />
          <maxNum value="2" />
          <trailers />
          <additionalTrailers />
          <drivers />
          <extraIncludes />
          <doorsWithCollisionWhenClosed />
          <driveableDoors />
          <bumpersNeedToCollideWithMap value="false" />
          <needsRopeTexture value="false" />
          <requiredExtras />
          <rewards />
          <NmBraceOverrideSet />
          <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
          <buoyancySphereSizeScale value="1.000000" />
          <pOverrideRagdollThreshold type="NULL" />
        </Item> <!-- ...to here -->

    Find (Ctrl+F) the same vehicle in your downloaded 'vehicles.meta', select all of it's data in the same way as above & then paste your older edited vehicle's data over it to replace it.

    Also, you want to be sure to copy the lines in the '<txdRelationships>' section of 'vehicles.meta' that relate to any of the vehicles you are copying to the new file.

    Example (ninef):

        <Item> <!-- Copy from here... -->
        </Item> <!-- ...to here -->

    Do that for each of the vehicles you have edited & you should be good. :thumbsup:

    Always make backups of everything before you edit it. Then you are always able to return to a previous working copy if need be.

  • @V4D3R Any way of adjusting Automated wings for supercars or getting them to work in the.meta?

  • is there a way to put a FLAG_HAS_LOWRIDER_HYDRAULICS in order to make a vanilla car a lowrider(ex: hermes)? I only manage to make this on modded cars but the vanilla ones aren't working, even when i delete one of the flags it still works on the car.

  • @Rstein Answering my own question almost a year later: yes, you can:
    alt text

    One would need to leave the VehicleMakeName empty though, otherwise you'd only get "Volvo, Super" and not "Volvo 850 TT5/R AWD "TT5/Rstein", Super"

  • How would I add the animation of jumping over door into a convertible/or roofless modded car? Vehicles meta?

  • @BewaretheRabbit said in [Tutorial] | Vehicles.meta:

    How would I add the animation of jumping over door into a convertible/or roofless modded car? Vehicles meta?

    Bump for the question above. I too would love to know please thanks.

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.