-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement 54d8a38 even properlier #1604
base: master
Are you sure you want to change the base?
Conversation
I don't know about this one. I have hard time imagining this practically:
|
If you watch a replay then you want to disable cheats ASAP because game logic may work differently if you keep them on -> desync. |
Maybe the better approach would be to allow the command in replays and/or spectators? |
Isn't there a process for this stuff already? I recall debugpath can be used freely by spectators wihtout cheats, but players have to enable cheats. I can't recall whether cheats need to be enabled in replay for it to work. |
Yes, |
Makes sense, |
Yes, but a game can have gadgets with |
Well in that case the sync state is busted anyway as you can't time events like cheats on and off and rely on |
Fair enough. In that case how about keeping the cheat check but also letting spectators view it? Like is done in path debug as suggested by @lostsquirrel1: spring/rts/Rendering/QTPFSPathDrawer.cpp Line 62 in 0787116
- if (!(drawEnabled && gs->cheatEnabled))
+ const bool allowDraw = gs->cheatEnabled || gu->spectating;
+ if (!drawEnabled || !allowDraw) |
Yeah, we should extend |
Let people keep the debug airmesh view if they disable cheats after enabling
/airmesh
, since now they are forced to keep cheats enabled for the whole game even if they only wanted it for that one command.