[How to] Custom Engine Sounds on Addon Cars!

I thought I’d release a quick simple tutorial on how to easily change your vehicle sound of an addon car in your FiveM server. Please follow the steps below.


Firstly you want to go to your vehicles.meta file and find the car you want to edit.


		<Item>
			<modelName>charger</modelName>
			<txdName>charger</txdName>
			<handlingId>POLICE3</handlingId>
			<gameName>POLICE3</gameName>
			<vehicleMakeName>police3</vehicleMakeName>
			<expressionDictName>null</expressionDictName>
			<expressionName>null</expressionName>
			<animConvRoofDictName>null</animConvRoofDictName>
			<animConvRoofName>null</animConvRoofName>
			<animConvRoofWindowsAffected />
			<ptfxAssetName>null</ptfxAssetName>
			<audioNameHash>police3</audioNameHash>
			<layout>LAYOUT_BIKE_DIRT</layout>
			<coverBoundOffsets>BIKE_COVER_OFFSET_INFO</coverBoundOffsets>
			<POVTuningInfo>SANCHEZ_POV_TUNING</POVTuningInfo>
			<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
			<scenarioLayout />
			<cameraName>FOLLOW_UPRIGHT_BIKE_CAMERA</cameraName>
			<aimCameraName>BIKE_AIM_CAMERA</aimCameraName>
			<bonnetCameraName>BIKE_SANCHEZ_POV_CAMERA</bonnetCameraName>
			<povCameraName>BIKE_SANCHEZ_POV_CAMERA</povCameraName>
			<FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="0.000000" />
			<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
			<FirstPersonProjectileDriveByIKOffset x="0.030000" y="0.020000" z="0.000000" />
			<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
			<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.060000" z="-0.020000" />
			<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
			<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.000000" z="0.000000" />
			<FirstPersonMobilePhoneOffset x="0.155000" y="0.315000" z="0.520000" />
			<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
			<PovCameraOffset x="0.000000" y="0.000000" z="0.000000" />
			<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
			<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.200000" />
			<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
			<vfxInfoName>VFXVEHICLEINFO_MOTORBIKE_GENERIC</vfxInfoName>
			<shouldUseCinematicViewMode value="true" />
			<shouldCameraTransitionOnClimbUpDown value="false" />
			<shouldCameraIgnoreExiting value="false" />
			<AllowPretendOccupants value="false" />
			<AllowJoyriding value="true" />
			<AllowSundayDriving value="true" />
			<AllowBodyColorMapping value="true" />
			<wheelScale value="0.267000" />
			<wheelScaleRear value="0.238800" />
			<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="0.700000" />
			<HDTextureDist value="5.000000" />
			<lodDistances content="float_array">
        10.000000	
        25.000000	
        60.000000	
        120.000000	
        500.000000	
        500.000000
      </lodDistances>
			<identicalModelSpawnDistance value="80" />
			<maxNumOfSameColor value="10" />
			<defaultBodyHealth value="1000.000000" />
			<pretendOccupantsScale value="1.000000" />
			<visibleSpawnDistScale value="1.000000" />
			<trackerPathWidth value="2.000000" />
			<weaponForceMult value="1.000000" />
			<frequency value="30" />
			<swankness>SWANKNESS_1</swankness>
			<maxNum value="5" />
			<flags>FLAG_NO_BOOT FLAG_LAW_ENFORCEMENT FLAG_NO_RESPRAY FLAG_IGNORE_ON_SIDE_CHECK FLAG_DONT_SPAWN_IN_CARGEN FLAG_HEADLIGHTS_USE_ACTUAL_BONE_POS FLAG_BIKE_CLAMP_PICKUP_LEAN_RATE FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
			<type>VEHICLE_TYPE_BIKE</type>
			<plateType>VPT_NONE</plateType>
			<dashboardType>VDT_SPORTBK</dashboardType>
			<vehicleClass>VC_EMERGENCY</vehicleClass>
			<wheelType>VWT_BIKE</wheelType>
			<trailers />
			<additionalTrailers />
			<drivers>
				<Item>
					<driverName>A_M_M_Hillbilly_02</driverName>
					<npcName />
				</Item>
				<Item>
					<driverName>A_M_M_Salton_01</driverName>
					<npcName />
				</Item>
			</drivers>
			<extraIncludes />
			<doorsWithCollisionWhenClosed />
			<driveableDoors />
			<bumpersNeedToCollideWithMap value="false" />
			<needsRopeTexture value="false" />
			<requiredExtras />
			<rewards />
			<cinematicPartCamera>
				<Item>WHEEL_REAR_LEFT_CAMERA</Item>
			</cinematicPartCamera>
			<NmBraceOverrideSet>Bike</NmBraceOverrideSet>
			<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
			<buoyancySphereSizeScale value="1.000000" />
			<pOverrideRagdollThreshold type="NULL" />
			<firstPersonDrivebyData>
				<Item>BIKE_SANCHEZ_FRONT</Item>
				<Item>BIKE_DAEMON_REAR</Item>
			</firstPersonDrivebyData>
		</Item>

Your vehicle.meta file should look like this.


Find the line that looks like this. Line 13 in my case


<audioNameHash>police3</audioNameHash>

Now you want to find the correct vehicle engine sound you want to replace “police3” with. Please use this LINK to find the spawn name of the car you want to use!

For example since I’m editing an charger, I want a nice beefy V8 sound. So I’m going to be using the dominator.


Now after you’ve found the spawn name simply replace it over the existing model like so.

<audioNameHash>dominator</audioNameHash>

PRESS SAVE AND YOU’RE DONE! :slight_smile: Start your server and spawn the car in and enjoy :heart:

NOTE: Most DLC vehicle sounds do NOT work. You can try all sorts of sounds to see which one works best and suits the car.

16 Likes

The ‘Windsor’ sounds really good to replace a Dodge Charger or something along those lines.

3 Likes

If you guys have a really fast muscle car and you are looking for a really nice sound. I recommend the trophy truck. I use it on my drag nova and it sounds amazing and fits the car perfectly.

1 Like

I use the liberator engine sound for the riata. very fitting.

2 Likes

This looks so complicated
Can you either make a youtube video or make it more simple?

My brother is one word you have to change, it’s very easy, read the instructions :slight_smile:

can i do this client side?

2 Likes

nope, server side only man

1 Like

Does this work with replacement cars?

if you use a custom vehicles.meta, yes.

2 Likes

i am and its not working

So when I use the Monster truck sound it actually disables the sirens, Any ideas as to why?

not workig

Like <3

1 Like

is it possible to stream an addon sound, like the sentinel sg4 has custom sound, would that be possibly be streamed whit the sounds also, i have the vehicle and suing aother car sound currently but would be nice to have the right sound

  1. Are you using ELS or Non-ELS?

  2. Did you use the truck’s vehicle.meta or just the AudioHashName?

I have changed the sound from the polamggtr and now i didnt hear a siren sound

<Item>
      <modelName>polamggtr</modelName>
      <txdName>polamggtr</txdName>
      <handlingId>polamggtr</handlingId>
      <gameName>amggtr</gameName>
      <vehicleMakeName>MERCEDES</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>marshall</audioNameHash>
      <layout>LAYOUT_LOW</layout>
      <coverBoundOffsets>DOMINATOR_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD_LONG</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND_MID</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="0.000000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.025000" z="0.000000" />
      <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.120000" z="0.030000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.030000" z="-0.040000" />
      <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.035000" z="0.000000" />
      <FirstPersonMobilePhoneOffset x="0.133000" y="0.228000" z="0.468000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
      <PovCameraOffset x="0.000000" y="-0.145000" z="0.590000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="true" />
      <AllowSundayDriving value="true" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.279400" />
      <wheelScaleRear value="0.279400" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.700000" />
      <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">
        15.000000
        30.000000
        65.000000
        130.000000
        250.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.85" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="90" />
      <swankness>SWANKNESS_2</swankness>
      <maxNum value="20" />
      <flags>FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_RECESSED_HEADLIGHT_CORONAS FLAG_HAS_LIVERY FLAG_SPAWN_ON_TRAILER FLAG_AVERAGE_CAR FLAG_HAS_INTERIOR_EXTRAS FLAG_PARKING_SENSORS FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG</flags>
      <type>VEHICLE_TYPE_EMERGENCY</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_TAILGATER</dashboardType>
      <vehicleClass>VC_SUPER</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers />
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards />
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
      <firstPersonDrivebyData>
        <Item>STD_DOMINATOR_FRONT_LEFT</Item>
        <Item>STD_DOMINATOR_FRONT_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

thats my vehicles.meta

The reason it’s not working is because you didn’t change your vehicle class the right setting.

You have:
< vehicleClass>VC_SUPER< /vehicleClass>

when it should be:
< vehicleClass>VC_EMERGENCY< /vehicleClass>

Hope that helps.

1 Like

Does anyone know what engine sound would match a Crown Vic?

POLICE2 is the most commonly used one with a Crown Vic from my knowledge