Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Added police cars (police5, police6, etc.), vehicle not clearing the way


Aebian

Recommended Posts

Greetings guys,

 

I have a problem with added police cars. They are ELS enabled and are working fine except on thing:

 

 When I use Stage 3 normally all cars are clearing the way, if I do this on a regular police car slot (police, police2, police3, police4, sheriff, sheriff2, fbi, fbi2, etc.) but not on my added police cars.

I looked at my meta's and they are fine as far as I can tell.

 

vehicles.meta:

 <Item>
      <modelName>police7</modelName>
      <txdName>police7</txdName>
      <handlingId>gauntlet</handlingId>
      <gameName>POLICE4</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>gauntlet</audioNameHash>
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>BUFFALO_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_EXTRA_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.040000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.040000" z="-0.020000" />
    <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.115000" z="0.000000" />
    <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.140000" z="0.000000" />
    <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.020000" />
    <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.020000" />
    <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.010000" />
    <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.273000" z="0.535000" />
      <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.150000" z="0.665000" />
      <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="true" />
      <wheelScale value="0.253800" />
      <wheelScaleRear value="0.253800" />
      <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.862" />
      <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_1</swankness>
      <maxNum value="2" />
     <flags>FLAG_EXTRAS_REQUIRE FLAG_HAS_LIVERY FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON 
FLAG_PARKING_SENSORS</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>s_m_y_hwaycop_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras>EXTRA_12</requiredExtras>
      <rewards>
      </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_POLICE2_FRONT_LEFT</Item>
        <Item>STD_POLICE2_FRONT_RIGHT</Item>
        <Item>STD_POLICE2_REAR_LEFT</Item>
        <Item>STD_POLICE2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

And last but not least, carvariations.meta:

 

<Item>
      <modelName>police7</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134
            134
            134
            134
            134
            134
          </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>
          <Item>
            <Name>Standard White</Name>
            <Value value="100" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
   </Item>

Does somebody has any clue?

© 2008 - 2020 by Knight Industries

Link to comment
Share on other sites

Also noticed that stopping a vehicle with LSPDFR is not possible with the added cars. Changing the audiohash also makes no difference. 

Anyone has maybe a solution for that?

 

Thanks,

 

Alex

© 2008 - 2020 by Knight Industries

Link to comment
Share on other sites

28 minutes ago, Aebian said:

Also noticed that stopping a vehicle with LSPDFR is not possible with the added cars. Changing the audiohash also makes no difference. 

Anyone has maybe a solution for that?

 

Thanks,

 

Alex

Sounds like gta is getting its info from another vehicles.meta. Which one are you editing?

Link to comment
Share on other sites

11 hours ago, Kalleboston said:

Sounds like gta is getting its info from another vehicles.meta. Which one are you editing?

 

I'm editing my own in E:\Games\Steam\steamapps\common\Grand Theft Auto V\mods\update\x64\dlcpacks\dlc_opAebian\dlc.rpf\common\data\levels\gta5\vehicles.meta

 

My content.xml:

 

<?xml version="1.0" encoding="UTF-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
  <disabledFiles />
  <includedXmlFiles />
  <includedDataFiles />
  <dataFiles>
      <Item>
      <filename>dlc_opAebian:/common/data/ai/loadouts.meta</filename>
      <fileType>LOADOUTS_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/levels/gta5/vehicles.meta</filename>
      <fileType>VEHICLE_METADATA_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/levels/gta5/popcycle.dat</filename>
      <fileType>POPSCHED_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/carcols.meta</filename>
      <fileType>CARCOLS_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/carvariations.meta</filename>
      <fileType>VEHICLE_VARIATION_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/dlctext.meta</filename>
      <fileType>TEXTFILE_METAFILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/handling.meta</filename>
      <fileType>HANDLING_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>	
      <Item>
      <filename>dlc_opAebian:/common/data/vehiclelayouts.meta</filename>
      <fileType>VEHICLE_LAYOUTS_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/%PLATFORM%/levels/gta5/vehicles.rpf</filename>
      <fileType>RPF_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/%PLATFORM%/levels/gta5/vehiclemods/policefm_mods.rpf</filename>
      <fileType>RPF_FILE</fileType>
      <overlay value="true" />
      <disabled value="false" />
      <persistent value="true" />
    </Item>
    <Item>
      <filename>dlc_opAebian:/common/data/carraddonContentUnlocks.meta</filename>
      <fileType>CONTENT_UNLOCKING_META_FILE</fileType>
      <overlay value="true" />
      <disabled value="false`" />
      <persistent value="true" />
    </Item>
  </dataFiles>
  <contentChangeSets>
	<Item>
	  <changeSetName>CCS_dlc_opAebian_NG_STREAMING</changeSetName>
	  <filesToDisable />
	  <filesToEnable>
        <Item>dlc_opAebian:/common/data/handling.meta</Item>
        <Item>dlc_opAebian:/common/data/levels/gta5/vehicles.meta</Item>
        <Item>dlc_opAebian:/common/data/ai/vehiclelayouts.meta</Item>
        <Item>dlc_opAebian:/common/data/carcols.meta</Item>
        <Item>dlc_opAebian:/common/data/carvariations.meta</Item>
        <Item>dlc_opAebian:/common/data/levels/gta5/popcycle.dat</Item>
        <Item>dlc_opAebian:/common/data/ai/loadouts.meta</Item>
        <Item>dlc_opAebian:/common/data/dlctext.meta</Item>	
        <Item>dlc_opAebian:/%PLATFORM%/levels/gta5/vehicles.rpf</Item>
        <Item>dlc_opAebian:/%PLATFORM%/levels/gta5/vehiclemods/policefm_mods.rpf</Item>
	  </filesToEnable>
	  <txdToLoad />
	  <txdToUnload />
	  <residentResources />
	  <unregisterResources />
	</Item>
  </contentChangeSets>
  <patchFiles />
</CDataFileMgr__ContentsOfDataFileXml>

extratitlesupdate.meta (at the bottom):

T7FxGfL.png

 

dlclist.xml:

 

q1Vt6FQ.png

 

 

But Sirens do work and Lights aswell, just they don't do anything:

 

EUnmbMm.png

 

 

Regards,

 

Alex

 

 

Edited by Aebian

© 2008 - 2020 by Knight Industries

Link to comment
Share on other sites

Oh and I just re-read your question. I think it's impossible that GTA is getting the info from another vehicles.meta. 

Because the car is only available as police7 (and vanilla only goes until police4) and the vehicles.meta controls which model and textures are getting used. 

 

And these info's are only available in my vehicles.meta because GTA does not have any more police cars.

So there is something else I missed. Not sure what exactly. 

© 2008 - 2020 by Knight Industries

Link to comment
Share on other sites

You should only reply here to ask for more information from Aebian or to answer the person's issue.

Reply to this thread only to offer help or assistance to Aebian.
If you want support, create your own thread in the appropriate forum. Non-relevant replies, derailing posts, "me too", disinformation and other support requests will be removed without warning.

Guest
You can no longer reply to this support topic as it was started over a year ago. Please make a new thread.


×
×
  • Create New...