Disabling player collision in-game via console command.
-
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.
-
When trying to change a restricted dvar, the console should give you a reason for why it didn’t change. The dvar
g_playerCollisionis 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. -
undefined 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