ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

Remove standard `cl_overlay_entities` bind

Open gerdoe-jr opened this issue 1 year ago • 3 comments
trafficstars

It's both PR and discussion place for it. Newbie player doesn't really need to have such bind by default, they have it in Controls settings page in case if they want to use it

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with ASan+UBSan or valgrind's memcheck (optional)

gerdoe-jr avatar May 31 '24 23:05 gerdoe-jr

I don't really see any issue with having the bind except for the possibility of accidentally hitting it and not knowing how to turn it off. Personally I think it could stay, but it would be nice to know the motivation for removing it.

sjrc6 avatar Jun 01 '24 02:06 sjrc6

i wouldnt really remove it, maybe change it to +toggle ? (even tho that might create the issue of people asking how to have this on for the entire time ^^)

BlaiZephyr avatar Jun 01 '24 13:06 BlaiZephyr

except for the possibility of accidentally hitting it and not knowing how to turn it off.

That's probably the motivation.

heinrich5991 avatar Jun 01 '24 21:06 heinrich5991

Other opinions? It seems like a commonly asked question for new players is "how to fix this?" after they accidentally enabled entities overlay.

Robyt3 avatar Nov 13 '24 21:11 Robyt3

Merging this sounds good to me.

heinrich5991 avatar Nov 13 '24 22:11 heinrich5991

It seems like a commonly asked question for new players is "how to fix this?" after they accidentally enabled entities overlay.

Now a common question will be how to enable entities overlay. I'm in favor of showing a hint when entities are on, similar to the ctrl-shift-d hint.

def- avatar Nov 13 '24 22:11 def-

Now a common question will be how to enable entities overlay.

The question will probably come either way, since the pageup hotkey is not discoverable. Do you mean that the question "how to enable the entities overlay" would no longer have an easy answer: "Press the pageup key", but rather "go into settings and bind it"?

heinrich5991 avatar Nov 13 '24 22:11 heinrich5991

@def- What do you think about https://github.com/ddnet/ddnet/pull/8422#issuecomment-2474952086?

heinrich5991 avatar Feb 11 '25 19:02 heinrich5991

Not sure, haven't thought about this since November.

def- avatar Feb 11 '25 21:02 def-

In the debug mode there is now a message at the bottom telling users how to turn it off. This is not an option for entities because many players use it all the time and it would just pollute the view. But maybe we can still put it there? Just not all the time so long time players do not get bothered with it.

Could add some new kind of "tutorial" mode. That shows these kind of hints. That mode then has to be turned off with a setting by the player or maybe it could even turn it self off after some time or other condition.

ChillerDragon avatar Aug 14 '25 07:08 ChillerDragon

In the debug mode there is now a message at the bottom telling users how to turn it off. This is not an option for entities because many players use it all the time and it would just pollute the view. But maybe we can still put it there? Just not all the time so long time players do not get bothered with it.

So #9664?

KebsCS avatar Sep 07 '25 15:09 KebsCS

@KebsCS yea xd i realized that this pr exists later lol

ChillerDragon avatar Sep 07 '25 15:09 ChillerDragon

Rebased for CI.

heinrich5991 avatar Oct 21 '25 08:10 heinrich5991