drweissbrot / cs-hud

Custom Counter-Strike Spectator HUD
ISC License
231 stars 39 forks source link

Scale Teams logos #162

Open SerjProject opened 6 months ago

SerjProject commented 6 months ago

How to scale team's logos? I didn't find that setting or something, because they are too small. And can I add photos of each player as overlays?

42Firehawk commented 6 months ago

The Hud currently does not support this with the default theme, so the simplest method would be to create a custom theme that extends fennec with manual sizing for logos to suit your needs. See Custom Theming within the docs

SerjProject commented 6 months ago

It doesn't work because of folder cs-hud that creates automatically and there is no fenecc folder in it. When I download cs-hud-master and try to make some corrections in the file \src\themes\fennec\css\vars\sizes.json nothing happens and when I try to re-write something in cs-hud\userspace\theme.json - cs-hud-win doesn't launch at all((

drweissbrot commented 6 months ago

Easiest way is to make sure the images have no empty space around the logo itself, the images should be reasonably sized by default (see https://github.com/drweissbrot/cs-hud/issues/156#issue-2158143734 for an example).

And can I add photos of each player as overlays?

not a feature currently, see #109

SerjProject commented 5 months ago

All these things are in a good resolution and a great size:( I can change some code but where?