Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing Advanced console in FTEQW

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
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.
 
+
* There’s a console command that searches all the commands, cvars that the engine has. It is called /apropos. Use it! It’s a big help to customize settings and explore!
== 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 ==
Line 76: Line 68:
 
== Fonts ==
 
== Fonts ==
 
FTE supports ttf fonts on the console.
 
FTE supports ttf fonts on the console.
* Note that they are only supported in gl-only builds, for the moment
+
* Note that they are only supported in gl-only builds, for the moment.
 
* Uses freetype2, dynamically linked.
 
* 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:
 
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.
+
* Use 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
+
* 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.
* 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.
 
* 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
 
* ^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.
 
* 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)
+
* 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
+
* The quake charset is mapped to ^Ue000 through ^Ue0ff.
* ^Ue100 upwards displays some hud images. This mechanism will likely change some time
+
* ^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)
+
* 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'
+
* 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.
 

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)