Latest revision |
Your text |
Line 1: |
Line 1: |
− | '''Note: By default the console opens with CTRL+SHIFT+ESC!'''
| |
− |
| |
| == Autocompletion == | | == Autocompletion == |
| * FTE will not randomly complete commands. The ctrl+space key combo is directly equivelent to tab in vanilla engines. | | * FTE will not randomly complete commands. The ctrl+space key combo is directly equivelent to tab in vanilla engines. |
| * Some commands/cvars have descriptions. These will be shown if the command is entered. | | * Some commands/cvars have descriptions. These will be shown if the command is entered. |
− |
| |
− | == Useful commands ==
| |
− | * ''/apropos'' - searches all the commands, cvars that the engine has
| |
− | * ''/flocate'' - searches for a named file and gives location in OS filesystem
| |
− | * ''/dir *.*'' - Displays filesystem listings with wildcards
| |
− | * ''/cfg_load'' & ''/cfg_save'' - load and write changes to the config file
| |
− | * ''/fs_restart'' & ''/vid_restart'' - resets filesystem and renderer?
| |
− |
| |
| == Chat == | | == Chat == |
| * Lines typed in may be interpreted as either chat or commands, depending on the value of cl_chatmode. | | * Lines typed in may be interpreted as either chat or commands, depending on the value of cl_chatmode. |
Line 74: |
Line 64: |
| *** leading forward-slash: Links with no info and a leading forward slash will be inserted into the input line when clicked. The user must still press enter to issue the given command. Use semi-colons if you wish to include multiple cvars/commands in a single link. | | *** leading forward-slash: Links with no info and a leading forward slash will be inserted into the input line when clicked. The user must still press enter to issue the given command. Use semi-colons if you wish to include multiple cvars/commands in a single link. |
| *** This list is subject to change. | | *** This list is subject to change. |
− | == Fonts ==
| |
− | FTE supports ttf fonts on the console.
| |
− | * Note that they are only supported in gl-only builds, for the moment
| |
− | * Uses freetype2, dynamically linked.
| |
− | * Is the console text too small? Use /con_textsize or /vid_conautoscale to change
| |
− | * Type "/apropos fonts" in the console for more info about fonts
| |
− |
| |
− | Notes:
| |
− | * Use cvar "gl_font" to specify the font file name to load. Does not yet go through the FTE filesystem, so cannot be in any pak files, and gamedirs are ignored. c:/windows/fonts/cour.ttf gives courier.
| |
− | * A "gl_font" value such as FONT:ALTFONT specifies an alternative font when ^a is used
| |
− | * Example: "/gl_font cour?col=1,1,1:couri?col=0,1,0" will load the cour.ttf and uses the italic version for alternative text with a different colour tint.
| |
− | * Most fonts seem to use 12 pixels as a minimum height for readability. FTE allows smaller, but you probably want vid_conautoscale to 1.5 (12/8 = 1.5), or greater, or vid_conheight set to some equivelent value
| |
− | * Variable width fonts are supported, the width of the font ignores vid_conwidth.
| |
− | * ^UXXXX can be used to print a unicode character on the console (capital U, lowercase is not recognised). U is hex between 0000 and ffff
| |
− | * If com_parseutf8 is set to 1, any text printed onto the console will be read as utf8 text. If there are any errors, parsing will be disabled until the next string.
| |
− | * in_builtincharmap can be set to 0 in order to get FTE to enter characters according to their system keyboard map (only required in windows)
| |
− | * The quake charset is mapped to ^Ue000 through ^Ue0ff
| |
− | * ^Ue100 upwards displays some hud images. This mechanism will likely change some time
| |
− | * Links dynamically to FreeType. You can get a compatible version from http://gnuwin32.sourceforge.net/downlinks/freetype-bin-zip.php (freetype6.dll is the only file needed)
| |
− | * If you're compiling yourself and you have issues with FreeType2 dependancies, it can be disabled by tweeking bothdefs.h or by doing eg: 'make CFLAGS=-DNO_FREETYPE gl-rel'
| |
− |
| |
− | Recommended font setting by Spike:
| |
− | * ''/con_textsize -12'', which gives size in pixels and ignores random rescaling. Most ttf fonts require 12 pixels thus this gives the best control over it.
| |