Linus4 / csgoverview

A 2D demo replay tool for Counter Strike: Global Offensive.
MIT License
190 stars 25 forks source link

Hiding team names #27

Closed langhillie closed 3 years ago

langhillie commented 3 years ago

Currently for scrim/league demos off of ESEA, team names are displayed for every player, causing their igns to be cut off. I'm not sure if it would be feasible, but it would be nice if team names could be hidden so full player names could be shown. Example: VirtualBoxVM_6uGwFl8sAH

Linus4 commented 3 years ago

Check this out: https://github.com/Linus4/csgoverview/pull/28

https://github.com/Linus4/csgoverview/tree/27-hiding-team-names

Does it work for you? I tested with a couple of demos.

Currently, I remove all prefixes that are at least 2 characters long. (So if all player names from a team start with the same letter it won't change anything - just in case :D)