Skip to content

v1.33

Latest
Compare
Choose a tag to compare
@andy013 andy013 released this 24 Jun 15:46

Download Version 1.33

Changelog:

  • Show connection time in the player list

Install instructions

Copy the files from this repo to a folder named zzz_votehud_custom_font in your tf/custom directory. (the zzz makes sure the mod loads after any custom HUD you have installed) E.g.

Program Files (x86)
│
└───Steam
    │
    └───steamapps
        │
        └───common
            │
            └───Team Fortress 2
                │
                └───tf
                    │
                    └───custom
                        │
                        └───zzz_votehud_custom_font     <----- Folder must be named correctly
                            │
                            │   info.vdf      <------ Mod files here
			    │	README.md
                            └───resource

If you have a custom HUD installed there are a few more steps you need to do to complete the installation:

  1. Go to your custom HUDs resource folder. It should be something like:

    C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\<CUSTOM HUD NAME>\resource

    In there you will find a file called clientscheme.res. Rename this file to clientscheme_OLD.res.

  2. Go into the ui folder and look for votehud.res, if your HUD has this file then rename it to votehud_OLD.res. If your HUD doesn't have this file then just skip this step.

  3. Go back to your resource folder and look for a file called chat_<language>.txt. Replace <language> with whatever language you have set in steam (e.g. for english look for chat_english.txt). If your HUD has this file, then you will need to copy some lines from the same file in zzz_votehud_custom_font. If your HUD doesn't have this file then you can skip this step.

    In the zzz_votehud_custom_font chat_<language>.txt file you will see a couple of block comments, one labeled CUSTOM FONT MOD START and another CUSTOM FONT MOD END. Copy all the text in between these 2 comments and paste it into your chat_<language>.txt file in your custom HUDs resource folder. In that file look for a line that says "Tokens" after that there should be an open curly brace {. Add a new line after this curly brace and paste the text that you copied from this mod there and save the file.

If you have followed these steps correctly you should now see this mod being used for the voting panels.

By default this mod will use a background colour as defined by your custom HUD. If you would rather override this and use the default grey you can edit the votehud.res file in this mods resource\ui folder. Look for the two lines that start with // "bgcolor_override" and remove the 2 slashes to uncomment them. One of them will make the active vote panel have a grey background and the other will do the same for the vote creation panel.