Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Visualization chat commands #13328
New visualization chat commands - showcombatgeometry, showdebuggeometry, showdepthpreview, showactortags - available also for spectators.
Show Unit Paths (DevPathDebug chat command) is in Visualization section, but is also player command, so not available for spectators.
To enable these 4 options in Debug window, World needs VisualizationMode trait. To enable also chat commands, World needs also VisualizationCommands trait.
changed the title from
Add Visualization chat commands showcombatgeometry, showactortags
IGNORE Add Visualization chat commands showcombatgeometry, showactortags
May 21, 2017
This works well. Just a couple of naming suggestions that I think would make this a bit tidier.
One really great side effect of this is that the core engine no longer depends on the
DeveloperMode trait. Would you mind adding a commit that moves this to Mods.Common?