Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Disabling player collision in-game via console command.

Disabling player collision in-game via console command.

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
2 Posts 2 Posters 40 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Yeetus_Keetusundefined Offline
    Yeetus_Keetusundefined Offline
    Yeetus_Keetus
    wrote last edited by
    #1

    I play with https://forum.plutonium.pw/topic/40702/zm-updated-bo2_zm_bots script and I was wandering if there's any way to set the g_playerCollision to enemies only through the game console, I have no dedicated.cfg file to edit since I only do singleplayer.

    I've tried writing on consloe stuff like "g_playerCollision enemies" or "g_playerCollision 1". But it doesn't change anything, the collision stays, the console shows "everyone" in the "g_playerCollision" line.

    1 Reply Last reply
    0
    • Hadi77KSAundefined Offline
      Hadi77KSAundefined Offline
      Hadi77KSA
      Contributor
      wrote last edited by
      #2

      When trying to change a restricted dvar, the console should give you a reason for why it didn’t change. The dvar g_playerCollision is cheat-protected, which means that to change it, you would have to either enable sv_cheats before changing it or change it through a .gsc script.

      1 Reply Last reply
      1
      • Xerxesundefined Xerxes moved this topic from BO2 Modding Releases & Resources
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate