123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- // To add your own fonts, create a seperate font file and execute like this:
- exec config/font_default.cfg // Must be executed! DO NOT MODIFY.
- exec config/font_monospace.cfg // Must be executed! DO NOT MODIFY.
- exec config/font_serif.cfg
- // Then, in that file, define the font. To do this, first define the font file.
- // See: ./docs/reference.xml#identifier_font for the command to do this.
- // Then, each font character.
- // See: ./docs/reference.xml#identifier_fontchar for the command to do this.
- // Once defined, you can use the command "setfont" to switch between fonts
- // See: ./docs/reference.xml#identifier_setfont
- // See the other font files for an example on how to define these fonts.
- // Note that the fonts are defined in the particular order shown in the comments.
- // You can also use the "TTF2Font" tool to assist you:
- // https://sourceforge.net/projects/bloodfrontier/files/Vault/TTF2Font/
- // DO NOT MODIFY THE BELOW
- // These are used for displaying the HUD, rather than fonts.
- // Changing these settings may leave AssaultCube unplayable.
- font huddigits "packages/misc/huddigits.png" 40 64
- fontskip 47
- fontchar 476 64 24 64 // /
- fontchar 4 64 40 64 // 0
- fontchar 52 64 40 64 // 1
- fontchar 100 64 40 64 // 2
- fontchar 148 64 40 64 // 3
- fontchar 196 64 40 64 // 4
- fontchar 244 64 40 64 // 5
- fontchar 292 64 40 64 // 6
- fontchar 340 64 40 64 // 7
- fontchar 388 64 40 64 // 8
- fontchar 436 64 40 64 // 9
- font serverquality "packages/misc/serverquality.png" 48 64
- fontskip 48
- fontchar 0 64 48 64 // 0 - "Unknown"
- fontchar 48 64 48 64 // 1 - "Very bad"
- fontchar 96 64 48 64 // 2 - "Bad"
- fontchar 144 64 48 64 // 3 - "Medium"
- fontchar 192 64 48 64 // 4 - "Good"
- fontchar 240 64 48 64 // 5 - "Very good"
- font bargraphs "packages/misc/bargraphs.png" 32 64
- fontskip 48
- fontchar 0 64 32 64 //0 [ ][ ]
- fontchar 32 64 32 64 //1 [x][ ]
- fontchar 64 64 32 64 //2 [ ][x]
- fontchar 96 64 32 64 //3 [x][x]
- fontchar 128 64 64 64 //4 [Black]
- fontchar 192 64 64 64 //5 [Green]
- fontchar 256 64 64 64 //6 [Yellow]
- fontchar 320 64 64 64 //7 [Red]
- font radaricons "packages/misc/radaricons.png" 64 64
- fontskip 65
- fontchar 0 0 64 64 //A red small triangle
- fontchar 64 0 64 64 //B red cross
- fontchar 128 0 64 64 //C red big triangle
- fontchar 192 0 64 64 //D red flag
- fontchar 0 64 64 64 //E blue small triangle
- fontchar 64 64 64 64 //F blue cross
- fontchar 128 64 64 64 //G blue big triangle
- fontchar 192 64 64 64 //H blue flag
- fontchar 0 128 64 64 //I green small triangle
- fontchar 64 128 64 64 //J green cross
- fontchar 128 128 64 64 //K green big triangle
- fontchar 192 128 64 64 //L yellow flag
- fontchar 0 192 64 64 //M red circle
- fontchar 64 192 64 64 //N blue circle
- fontchar 128 192 64 64 //O green circle
|