Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
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 228 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 on 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 on 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 on

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      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
      • Unread 0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups