3 items

File information

Last updated

Original upload

Created by

fuegovic

Uploaded by

petpirepete

Virus scan

Safe to use

97 comments

  1. petpirepete
    petpirepete
    • member
    • 3 kudos
    Locked
    Sticky
    I stopped playing the game a couple of months ago and unless I start playing the game again I will probably not update the mod. The console commands listed below should works anyway.

    Thanks everyone!

    Those with an uncompatible version of the game and/or CET can always enter the console command manually at the start of each gameplay:

    Game.PrevSys_off()
    *Turns off the crime prevention system aka the cops.

    Game.PrevSys_on()
    *Turns on the crime prevention system
  2. AceGrakes
    AceGrakes
    • supporter
    • 1 kudos
    If you're looking for an updated version that works with the current game, try my Toggle Police System mod. It offers similar features and has been updated for the latest compatibility.
    https://www.nexusmods.com/cyberpunk2077/mods/19860
  3. timesethour
    timesethour
    • member
    • 0 kudos
    This mod works:
    [Disable Police System] https://www.nexusmods.com/cyberpunk2077/mods/9263
    If you kill an npc and cops are already present they still shoot you but you don't get stars and there won't be reinforcements.
  4. yalash
    yalash
    • member
    • 0 kudos
    to everyone:

    ignore this mod because this mod is outdated and cannot work anymore.

    go find another way to do this trick or NCPD will continue to hunt you down.
  5. Rivarez
    Rivarez
    • supporter
    • 26 kudos
    I found a more interesting solution.
    You can disable the cops respawning with a simple red script:
    @replaceMethod(PreventionSystem)
      public final static func DelayedSpawnUnitRequest(context: GameInstance, recordID: TweakDBID, preventionLevel: Uint32, spawnTransform: WorldTransform, delay: Float) -> Void {
      }
    so cops will attack you on your aggression, but will not unlimited respawn from nowhere
    1. DeathWrench
      DeathWrench
      • premium
      • 140 kudos
      Kudos
    2. dstanfield9
      dstanfield9
      • member
      • 0 kudos
      Cool, "my" first Redscript!  Works great 1.6
    3. Wspirit82
      Wspirit82
      • member
      • 22 kudos
      how to install where?
    4. TakDes
      TakDes
      • member
      • 0 kudos
      make a mod?
    5. Welstead
      Welstead
      • member
      • 0 kudos
      can someone tell where can I run this script exactly? police is so buggy man
    6. SkyrimSweetheart
      SkyrimSweetheart
      • member
      • 4 kudos
      Hi, 

      For this script to work you need to:

      INSTALL REDSCRIPT
      https://www.nexusmods.com/cyberpunk2077/mods/1511

      THIS WILL CREATE
      A folder named r6 at:
      (Drive Letter):\Program Files\Steam\steamapps\common\Cyberpunk 2077\
      Or wherever your game is installed.

      NEXT
      Go inside that (r6) folder, and look for a folder called scripts.

      EXAMPLE
      D:\Program Files\Steam\steamapps\common\Cyberpunk 2077\r6\scripts

      NEXT
      Go into the scripts folder.

      CREATE A FOLDER
      I called mine, Disable Cop Respawn

      NEXT
      Go into the folder you just made (Disable Cop Respawn) or whatever you called it.

      Create a .txt file, that you're going to rename completely
      (I am using Notepad++ for editing the text file. It's free software, google it.)

      I named my text file
      DisableCopRespawn.reds

      * For Clarity - Do not use a .txt at the end of it.

      IN THE TEXT FILE PUT
      @replaceMethod(PreventionSystem)
        public final static func DelayedSpawnUnitRequest(context: GameInstance, recordID: TweakDBID, preventionLevel: Uint32, spawnTransform: WorldTransform, delay: Float) -> Void {
        }

      Save the file
      Launch the Game

      SAMPLE OF STRUCTURE
      D:\Program Files\
      Steam\
      steamapps\
      common\
      Cyberpunk 2077\
      r6\
      scripts\
      Disable Cop Respawn\
      DisableCopRespawn.reds

      I'm liking this a lot better actually after testing it. I'm using both systems together because really the more ways to keep the cops out of the game as much as possible, the better, lol.
    7. yalash
      yalash
      • member
      • 0 kudos
      sadly your idea cannot work anymore.

      I did all your steps to create the mod folder and the script file in there, i also put all content in it you showed to us, but it showed that message below:

      "REDScript compilation has failed.
      This error has been caused by mods listed below:
      -Disable Cop Respawn ; this is the mod folder i named

      You should check if these mods are outdated and update them if possible. They may also be incompatible with the current version of the game, in which case you should remove them and try again.

      The game will start but no scripts will take effect.
      If you need more information, consult the logs."
  6. josherich
    josherich
    • member
    • 1 kudos
    @replaceMethod(PreventionSystem)
    private func OnAttach() -> Void {}

    Disable Prevention System on Version 2.x
    1. OverDDOS74
      OverDDOS74
      • member
      • 0 kudos
      yo, can you check if this still work on the latest version? cause I'm getting error
    2. dmki
      dmki
      • premium
      • 20 kudos
      Thank you. The mod doesn't work, but your solution does.

      For those, who didn't get it - create the file with ".reds" extension in r6\scripts, with contents of joserich's post.
    3. zoffix2
      zoffix2
      • supporter
      • 0 kudos
      I get "Compilation failed" error after doing that from REDScript mod.... Am I missing some special sauce?
    4. OboTheHobo
      OboTheHobo
      • premium
      • 1 kudos
      This doesn't work. Can you share exactly how you structured everything?
    5. WyrmaxRGC
      WyrmaxRGC
      • member
      • 1 kudos
      this sorta works. i still get wanted it just randomly goes away and when shooting police it'll sometimes not trigger wanted. its far from ideal but better than nothing
    6. thugstone
      thugstone
      • premium
      • 10 kudos
      @zoffix2 check what \r6\logs\redscript_rCURRENT.log says.

      In my case it had an issue with copy-pasting the @ so i had to retype it then it work
  7. SkyrimSweetheart
    SkyrimSweetheart
    • member
    • 4 kudos
    I took this out just to see if it was making a difference on my gameplay experience, and it definitely still is. I'm so glad for this mod! I'm using the latest version of the game and this is still working. Thank you.

    Update:
    I couldn't resist trying Rivarez system, and it's a lot nicer because it just always works and removes the CET menu ui. That's appreciated!
  8. TakDes
    TakDes
    • member
    • 0 kudos
    NOT WORKING,

    0 wanted mods really
  9. XxAarchangeLxX
    XxAarchangeLxX
    • member
    • 14 kudos
    Tested. This is 1.6 compatible, Steam.
  10. Austinr12
    Austinr12
    • member
    • 0 kudos
    Thank god for the command to turn it off, im in the middle of a fight and a stray bullet hits a civ and boom! Cops..... yet not enough cops to fight crime in the first place? This logic from the developers is retarded.
  11. sodx
    sodx
    • member
    • 3 kudos
    Has anyone tested this with 1.5?
    1. FDiskandForget
      FDiskandForget
      • premium
      • 0 kudos
      It works with 1.5 (and the hotfixes)! I even use this along with Vehicle combat to disable extra stars that sort of hang around forever after you defeat all the enemies and are out of combat. This is the mod that keeps giving.