Jump to content
TheF3nt0n

Adding a new emergency vehicle is possible now.

Recommended Posts

when you add cars, why will you add to both x64e and to mpchristmas, (and mpheist as mentioned above in my other reply) why cant you just add all to the x64e? isnt that where most of the cars are, besides the DLC cars of course


READ THE INSTRUCTIONS FOR THE MODS..THEY'RE CALLED READMEs   AKA read me for a reason

lspdfr plugin or GTA V crashed? find your Rage log in your gta folder, usually found after ragepluginhook.exe and open it, hit Ctrl a, open pastebin.com, select new paste, hit Ctrl v, get the link after you pasted it and supply that with your issue in the specific mod topic, it helps the developer diagnose the problem you may have.

 

Share this post


Link to post
Share on other sites

Hi, I just noticed that all my added vehicles in mpchristmas2 dlcpack looks like matte paintjob but if I change them to x64e look good. Any one knows why?

Hidden Content

That's because the police3 slot has different color settings defined in the original carvariations, which isn't yet viewable. I don't know if there's a resource on the color settings around, but yo can mess with them and see what happens.

 

when you add cars, why will you add to both x64e and to mpchristmas, (and mpheist as mentioned above in my other reply) why cant you just add all to the x64e? isnt that where most of the cars are, besides the DLC cars of course

Because the DLC files have both the required meta files, so it's easier to keep it all together, Plus it seems sometimes certain vehicles need to load after certain DLCs in order to work.

Edited by The Loot

Share this post


Link to post
Share on other sites

Hi, I just noticed that all my added vehicles in mpchristmas2 dlcpack looks like matte paintjob but if I change them to x64e look good. Any one knows why?

Hidden Content

I think it has something to do with the 'Carcols.meta' File.

Share this post


Link to post
Share on other sites

Nope, It's still belongs to carvariations.meta, carcols.meta is a .meta file which is controls modifications from Los Santos Custom.
 

Try this lines, This should fixed your problem about matte white.

    <Item>
      <modelName></modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="2" />
    </Item>

 

Share this post


Link to post
Share on other sites

Nope, It's still belongs to carvariations.meta, carcols.meta is a .meta file which is controls modifications from Los Santos Custom.
 

Try this lines, This should fixed your problem about matte white.

 

    <Item>
      <modelName></modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="2" />
    </Item>

 

Are here any Tutorials about that file that you know of?

Share this post


Link to post
Share on other sites

Nope, It's still belongs to carvariations.meta, carcols.meta is a .meta file which is controls modifications from Los Santos Custom.
 

Try this lines, This should fixed your problem about matte white.

    <Item>
      <modelName></modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="2" />
    </Item>

 

Thanks, works fine!

Share this post


Link to post
Share on other sites

Nope, Carcols.meta is replaced by carvariations.meta, which is controls vehicle colors, liveries, lights, and siren settings, and new carcols.meta which is controls mod kit like car bumper, Neon lights, Engine, Brake, Selection of car colors, and wheels, This .meta file is used by Los Santos Custom, So this is serve same as carmods.dat from GTA San Andreas.

Share this post


Link to post
Share on other sites

Nope, Carcols.meta is replaced by carvariations.meta, which is controls vehicle colors, liveries, lights, and siren settings, and new carcols.meta which is controls mod kit like car bumper, Neon lights, Engine, Brake, Selection of car colors, and wheels, This .meta file is used by Los Santos Custom, So this is serve same as carmods.dat from GTA San Andreas.

I see. I guess Trial and Error will be my best approach.

Thanks anyway, F3nt0n. :smile:

Share this post


Link to post
Share on other sites

Nope, It's still belongs to carvariations.meta, carcols.meta is a .meta file which is controls modifications from Los Santos Custom.
 

Try this lines, This should fixed your problem about matte white.

    <Item>
      <modelName></modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="2" />
    </Item>

 

Interesting, can you explain which lines exactly are fixing the matte color? I'm guessing it's the 4 lines below  <indices content="char_array"> ?

Share this post


Link to post
Share on other sites

Hi! I was replacing my old Crown Vic in the slot hwaycar2 with the 2008 Tahoe. I changed the carvariations settings to the one provided in the download, however no siren/lights come on, only regular horn. My other Crown Vic in hwaycar slot used to work fine, but now the sirens/lights will not work either, even though I didn't change any settings. Any help please?

 

 <Item>
      <modelName>hwaycar2</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            0
            0
            160
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Probabilities />
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>
<Item>
      <modelName>hwaycar</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            156  
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134 
            134 
            156  
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134 
            134 
            156  
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134 
            134 
            156  
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>156_jester2_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>

Share this post


Link to post
Share on other sites

Hi! I was replacing my old Crown Vic in the slot hwaycar2 with the 2008 Tahoe. I changed the carvariations settings to the one provided in the download, however no siren/lights come on, only regular horn. My other Crown Vic in hwaycar slot used to work fine, but now the sirens/lights will not work either, even though I didn't change any settings. Any help please?

 

Can you show us your vehicles.meta?

Share this post


Link to post
Share on other sites

Can you show us your vehicles.meta?

Never mind! I just figured it out, I was so silly that throughout the steps I somehow removed the <CVehicleModelInfoVariation>
  <variationData> at the top of the carvariations.meta

 

Everything works fine now, thanks for the help!

Share this post


Link to post
Share on other sites

for some reason I cannot get extra liveries to work on my policed, everything else works fine. And the model is setup with to have multiple liveries. When i go in the trainer it just says 0 and i cannot change anything. 


MattJeter_Modifications-800x200-Transpar

Long standing Vehicle Developer at Code 3 Customz

Share this post


Link to post
Share on other sites

For some reason the game crashes when I load my car. It's supposed to replace police3 (but obviously I'm trying to add it separately) so should I copy that entry from the vehicles.meta and just change the name or should I take a civilian car entry and just add the emergency flags?

<Item>
      <modelName>car1</modelName>
      <txdName>car1</txdName>
      <handlingId>CAR</handlingId>
      <gameName>CAR</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>police3</audioNameHash>
      <layout>LAYOUT_STD_EXITFIXUP</layout>
      <coverBoundOffsets>POLICE3_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_NEAR</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.030000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.055000" y="-0.075000" z="-0.045000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.075000" z="-0.045000" />
	  <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.060000" z="-0.030000" />
	  <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.130000" y="0.275000" z="0.530000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
	  <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.136000" y="0.156000" z="0.445000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.136000" y="0.156000" z="0.445000" />
			<SeatIndex value="3" />
		</Item>
	  </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.175000" z="0.675000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="false" />
      <AllowSundayDriving value="false" />
      <AllowBodyColorMapping value="false" />
      <wheelScale value="0.244000" />
      <wheelScaleRear value="0.244000" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.300000" />
      <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
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.83" />
      <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="100" />
      <swankness>SWANKNESS_0</swankness>
      <maxNum value="2" />
      <flags>FLAG_EXTRAS_ALL FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE</flags>
      <type>VEHICLE_TYPE_CAR</type>
	  <vehicleClass>VC_SEDAN</vehicleClass>
      <plateType>VPT_BACK_PLATES</plateType>
	  <dashboardType>VDT_GENTAXI</dashboardType>
      <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>

 

Share this post


Link to post
Share on other sites
11 hours ago, espfutbol98 said:

For some reason the game crashes when I load my car. It's supposed to replace police3 (but obviously I'm trying to add it separately) so should I copy that entry from the vehicles.meta and just change the name or should I take a civilian car entry and just add the emergency flags?

Absolutely copy the police3 meta entry if the car was supposed to replace it.

Share this post


Link to post
Share on other sites

So this has to do with the command center I'm working on Model works, spawns fine but a few issues
1. It seems I have working lights but no siren
2. it sometimes spawns a bit 'glossy' but giving it a random colour via a trainer fix's this

Carvariants 

[spoiler]       <modelName>mcc</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item> [/spoiler]

(also I think I might have a few to many liveries lines

.meta

[spoiler] <Item>
      <modelName>mcc</modelName>
      <txdName>mcc</txdName>
      <handlingId>BOXVILLE</handlingId>
      <gameName>BOXVILLE</gameName>
      <vehicleMakeName>BRUTE</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>boxville</audioNameHash>
      <layout>LAYOUT_VAN_BOXVILLE</layout>
      <coverBoundOffsets>BOXVILLE_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_TRUCK</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>DEFAULT_VEHICLE_BONNET_CAMERA</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA_NO_REVERSE</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.093000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.165000" y="-0.028000" z="-0.060000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="-0.165000" y="-0.023000" z="-0.107000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.080000" z="-0.065000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.153000" y="0.370000" z="0.533000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
      <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.281000" y="0.491000" z="0.538000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.156000" y="0.533000" z="0.538000" />
			<SeatIndex value="3" />
		</Item>
      </FirstPersonMobilePhoneSeatIKOffset>
      <PovCameraOffset x="0.000000" y="-0.075000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="false" />
      <AllowSundayDriving value="false" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.232500" />
      <wheelScaleRear value="0.232500" />
      <dirtLevelMin value="0.300000" />
      <dirtLevelMax value="0.850000" />
      <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">
        20.000000	
        90.000000	
        130.000000	
        260.000000	
        750.000000	
        750.000000
      </lodDistances>
      <minSeatHeight value="1.247" />
      <identicalModelSpawnDistance value="40" />
      <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="10" />
      <swankness>SWANKNESS_1</swankness>
      <maxNum value="999" />
      <flags>FLAG_BIG FLAG_NO_BOOT FLAG_AVOID_TURNS FLAG_DELIVERY FLAG_PEDS_CAN_STAND_ON_TOP FLAG_DAMPEN_STICKBOMB_DAMAGE FLAG_DONT_SPAWN_IN_CARGEN FLAG_IS_BULKY FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_HAS_INTERIOR_EXTRAS</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_SPEEDO</dashboardType>
      <vehicleClass>VC_VAN</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_M_GenTransport</driverName>
          <npcName>Postal Driver</npcName>
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed>
        <Item>VEH_EXT_DOOR_DSIDE_R</Item>
        <Item>VEH_EXT_DOOR_PSIDE_R</Item>
      </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>VAN_BOXVILLE_FRONT_LEFT</Item>
        <Item>VAN_BOXVILLE_FRONT_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item> [/spoiler]
Edited by 0taku

 

if your replying to me Please @0taku or Quote me so I get a notification 

Share this post


Link to post
Share on other sites

Boxville has no siren sound applied to it's audio hash, so that's the reason the siren's not working properly.

Change the audio hash to:

<audioNameHash>riot</audioNameHash>

 

Share this post


Link to post
Share on other sites

omg i just added a car and for some reason the game crashed on me,
here is my vehicles.meta and carvariations.meta:

vehicles.meta

 <Item>
      <modelName>hwaypatrol</modelName>
      <txdName>suburban1</txdName>
      <handlingId>FBI2</handlingId>
      <gameName>HWAYPATROL</gameName>
      <vehicleMakeName>VAPID</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>FBI2</audioNameHash>
      <layout>Layout_RANGER</layout>
      <coverBoundOffsets>FBI2_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_MID_NEAR</bonnetCameraName>
      <povCameraName>REDUCED_NEAR_CLIP_POV_CAMERA</povCameraName>
      <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" />
      <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.268000" />
      <wheelScaleRear value="0.268000" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.450000" />
      <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
        60.000000	
        120.000000	
        500.000000	
        500.000000
      </lodDistances>
      <minSeatHeight value="0.812" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="1" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="100" />
      <swankness>SWANKNESS_1</swankness>
      <maxNum value="10" />
      <flags>FLAG_LAW_ENFORCEMENT FLAG_DONT_SPAWN_IN_CARGEN FLAG_IS_OFFROAD_VEHICLE FLAG_HAS_INTERIOR_EXTRAS FLAG_HAS_LIVERY FLAG_EXTRA_STRONG FLAG_EXTRAS_REQUIRES FLAG_EMERGENCY_SERVICE</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
	  <dashboardType>VDT_CAVALCADE</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SUV</wheelType>
      <trailers />
      <additionalTrailers />
      <driverNAME>S_M_Y_HWAYCOP_01 </driverNAME>
	  <npcNAME />
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
	  <Item>REWARD_WEAPON_CARBINERIFLE</Item>
	  <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
	  <Item>REWARD_AMMO_CARBINERIFLE</Item>
	  <Item>REWARD_AMMO_PUMPSHOTGUN</Item>
	  <Item>REWARD_WEAPON_STAT</Item>
      <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" />
<!-- Example of adding extra vfx water samples
      <additionalVfxWaterSamples>
	<Item>
	  <position x="2.0" y="0.0" z="0.0" />
	  <size value="0.8" />
	</Item>
	<Item>
	  <position x="-2.0" y="0.0" z="0.0" />
	  <size value="0.8" />
	</Item>
	<Item>
	  <position x="0.0" y="0.0" z="2.0" />
	  <size value="1.0" />
	</Item>
 <modelName>hwaypatrol</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="1" />
    </Item>

http://cadeptpublicsafety.com

 

Join California Department of Public Safety and become a part of the most realistic California policing experience in the GTA roleplay community.

Share this post


Link to post
Share on other sites

i have a question. im trying to add this vehicle to vehicles meta as fireute what do i do?:) i put the lines required in but rage plugin hook says the game crashed because of a spawing of vehicles issue. how do i properly add the lines to vehicles meta?:)

 

Edited by adam enforcers

Share this post


Link to post
Share on other sites
53 minutes ago, adam enforcers said:

i have a question. im trying to add this vehicle to vehicles meta as fireute what do i do?:) i put the lines required in but rage plugin hook says the game crashed because of a spawing of vehicles issue. how do i properly add the lines to vehicles meta?:)

 

you should read into this: 

then read about this: 

 


READ THE INSTRUCTIONS FOR THE MODS..THEY'RE CALLED READMEs   AKA read me for a reason

lspdfr plugin or GTA V crashed? find your Rage log in your gta folder, usually found after ragepluginhook.exe and open it, hit Ctrl a, open pastebin.com, select new paste, hit Ctrl v, get the link after you pasted it and supply that with your issue in the specific mod topic, it helps the developer diagnose the problem you may have.

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...