Skip to content

Sponsors

Steven Knepper edited this page Feb 21, 2022 · 2 revisions

Things you can do with this field

You can use it for sponsors, or pronouns, or twitter handles. It's really up to you.

HUDs with Sponsor Logo Support

Several Templates now support Sponsor Logos. As long as you spell (capitalization does not matter) the Sponsor the same way the logo is named in the sponsor folder it will render. This allows you to add any logos of your own and use them. I recommend 64px images.

Adding Logos to your own HUD

When looking to add this feature to your own templates, I recommend making divisions labeled per player and in the style tags, using this.playerData[x].player.sponsor in a fashion similar to this.

#P1Sponsor { position: absolute; background: url('./img/sponsors/${this.playerData[0].player.sponsor}.png') 0px 0px no-repeat; width: 64px; height: 64px; }