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