Log in to reply

Help With fixing cops.

  • Hello, I'm looking for mods to help with cops Speed hack removal.
    stop them from raming you when your on a motorcycle and in general raming.
    so ya I manly want them to stop raming 24/7 and want them to stop having speed boost like I'm going 200mph and
    then their SUV not only catches up to me and rams me but is going 2 times faster

  • @princegaz


    Try adding 'FLAG_IS_BULKY' or 'FLAG_BIG' to the flags line in a vehicle's 'vehicles.meta' file to stop the Police trying to ram you. I'm 90% sure that will stop them. Test it out on one car first before continuing :thumbsup:.
    You'll have to add the flag to the line for each vehicle you want NOT to be rammed. Might be worth using Notepad etc's replace functionality to add it to entire files at the same time:

    Find what: '</flags>'

    Replace with: ' FLAG_IS_BULKY</flags>' ( < Note the space at the start of that line)

    Something like that might get you close to adding it to every vehicle reasonably easily. Clean up any duplicate FLAG_IS_BULKY/FLAG_BIG flags after though if you use this method. :thumbsup: Doing it manually for hundreds of cars would be a pain for sure.

    Extra: I haven't messed with this so you'll have to experiment/test it yourself but there is also a vehicle task in 'vehicleaitasks.ymt' that relates to ai ramming vehicles (might be a quick easy instant fix for all cars? Try editing the lines & see what you get in-game :thumbsup:). It looks like this:

    <Item type="CTaskVehicleRam__Tunables">
    <BackOffTimer value="6.0" />
    <MinBackOffDistance value="0.0" />
    <MaxBackOffDistance value="20.0" />
    <CruiseSpeedMultiplierForMinBackOffDistance value="0.5" />
    <CruiseSpeedMultiplierForMaxBackOffDistance value="1.0" />


    In 'wantedtuning.ymt' there are settings (3 sets, one for cops, swat, & army) that look like this:

    							<Min value="1.000000" />
    							<Max value="3.950000" />
    							<ValueForMin value="0.000000" />
    							<ValueForMax value="0.300000" />

    Lower these values:

    							<Min value="1.000000" />
    							<Max value="3.950000" />

    to reduce the minimum/top speed of the dispatch vehicles :thumbsup:

  • @a63nt-5m1th thanks for the tweaks :)

  • @xxx78
    No probs :thumbsup:

Log in to reply

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