Server and HLDS tools
Accessing your console.
----------------------------------
The Half-Life console is a simple command-line interface, it works
sort of like an MS-DOS window. By default, Half-Life binds the
console activation to the tilde key: "~" on your keyboard.
While playing a game you can access your console by hitting the
tilde key "~" , this will bring down your console.
Note: hitting or typing the same key will close your console if it's open.
Note: the actual game command for the console is: "toggleconsole"
If you cannot access your console in a game, edit the config.cfg file found
in your SteamApps\YOURNAME@EMAIL\team fortress classic\tfc folder,
add these entries and save the file:
console "1"
bind "~" "toggleconsole"
You should now be able to access you console ingame with the "~" key.
In Game Help list.
----------------------------------
These are the console commands which will display the Server's help files.
The information will be displayed via console or MOTD window, or Both
depending on the server's "ntf_helptype" CVAR setting.
( 0 = MOTD only, 1 = Console only, 2 = MOTD and Console).
**General help commands**
Main help List : "ntf_help" , "helpme" , "help"
General help : "ntf_help_general" , "helpgeneral"
Server custom help : "ntf_help_server" , "helpserver"
**Feature-specific help commands**
MultiGun Help : "ntf_help_mg" , "helpmg"
Soldier Remote help : "ntf_help_remote" , "helpremote"
Aircraft Remote help : "ntf_help_remote_new" , "helpremotenew", "ntf_help_apache",
"helpapache"
Old Remote help : "ntf_help_remote_old" , "helpremoteold"
Map Entity help : "ntf_help_entity" , "helpentity"
HWGuy Mortar help : "ntf_help_mortar" , "helpmortar"
Player VAR help : "ntf_help_vars" , "helpvars"
**Class-specific help commands**
Scout help : "ntf_help_scout" , "helpscout"
Sniper help : "ntf_help_sniper" , "helpsniper"
Soldier help : "ntf_help_soldier" , "helpsoldier"
Demoman help : "ntf_help_demo", "ntf_help_demoman", "helpdemo"
Medic help : "ntf_help_medic" , "helpmedic"
HWGuy help : "ntf_help_hwguy" , "helphwguy"
Pyro help : "ntf_help_pyro" , "helppyro"
Spy help : "ntf_help_spy" , "helpspy"
Engineer help : "ntf_help_engineer" , "helpengineer"
NOTE: These commands MUST be entered via the player's console.
Player Vars
-----------------------------------
Players can customize the behavior of certain features on the
current server only they are on. This behavior will last until the
next map change, or, until the player changes it again.
Note: Thes customizations are valid for the current slot
occupied by the player.
To initiate a VARiable customization the first command
must be "ntf_impulse". This must be typed in console or
executed via a config file etc.
Commands:
Help Command : "ntf_impulse help"
This will display how to query or change player VARS.
VAR list command: "ntf_impulse list"
This will list all player VAR commands and
the types of input they require.
Input type definitions:
"interger" : whole numbers e.g. 1, 2, 5, 30
"boolean" : numeric equivalent of true/false, e.g. 1 or 0
"float" : floating point e.g. 0.5, 1.3, 10.6
"bitmask" : numeric sum of options, e.g. 1+2+4+8 = 15
Player VARS:
==Scout radar modes==
Help Command : "ntf_impulse radarmode help"
Var query command: "ntf_impulse radarmode",
this will display the current mode setting.
Set Var command "ntf_impulse radarmode <bits>"
Where <bits> is the combined total of all mode bits:
0 = SCAN ALL (default: scan everything),
1 = SCAN PLAYER ONLY (all players on all teams),
2 = SCAN TFC MECH ONLY (SG's, Dispensers, Teleporters and detpacks),
4 = SCAN NEOTF MECH ONLY (all multiguns).
For example: To scan for only MG's and TFC Buildings (2+4),
enter: "ntf_impulse radarmode 6" in your console.
Special note: "0" is the default radar setting (scan all).
Theses are all the combinations you can enter:
0 = SCAN ALL
1 = SCAN PLAYER ONLY
2 = SCAN TFC BUILDINGS ONLY
3 = SCAN PLAYER + TFC BUILDINGS
4 = SCAN NEOTF MECH ONLY
5 = SCAN PLAYER + NEOTF MECH
6 = SCAN TFC MECH + NEOTF MECH
7 = SCAN ALL
==Demoman Land Mine types==
Help Command : "ntf_impulse landminetype help"
Var query command: "ntf_impulse landminetype",
this will display the current type setting.
Set Var command "ntf_impulse landminetype <value>"
Where <value> is one of the following settings:
0 = NORMAL (default tossed Land Mine),
1 = STICKY+USE (deploy Sticky Mines IF player is holding USE key,
else deploy normal Land Mine),
2 = STICKY-ONLY (only deploy Sticky Mines ).
The default setting is "0" i.e. normal Land Mines.
==Medikit scanner mode==
Help Command : "ntf_impulse medscanoff help"
Var query command: "ntf_impulse medscanoff",
this will display the current mode setting.
Set Var command "ntf_impulse medscanoff <value>"
Where <value> is one of the following settings:
0 = (scan enabled),
1 = (scan disabled)
The default setting is "0" i.e. Scanner enabled for players.
==Medikit scanner delay==
Help Command : "ntf_impulse medscandelay help"
Var query command: "ntf_impulse medscandelay",
this will display the current time interval setting.
Set Var command "ntf_impulse medscandelay <time>"
Where <time> is the interval in seconds between scans (1 to 10 min/max).
The default setting is "2" seconds.
==Hudprint Fix ==
Help Command : "ntf_impulse hudprintfix help"
Var query command: "ntf_impulse hudprintfix",
this will display the current mode setting.
Set Var command "ntf_impulse hudprintfix <value>"
Where <value> is one of the following settings:
0 = (disabled: normal messages to upper hudprint section )
1 = (enabled: hudprint messages redirected to chat section ).
The default setting is "0" i.e. normal TFC messages.
==No HUD Help ==
Help Command : "ntf_impulse nohudhelp help"
Var query command: "ntf_impulse nohudhelp",
this will display the current mode setting.
Set Var command "ntf_impulse nohudhelp <value>"
Where <value> is one of the following settings:
0 = (Receive: players will receive NeoTF HUD help messages),
1 = (Ignore: Server will not send help messages to this player ).
The default setting is "0" i.e. players will receive HUD help messages.
Note: There is a 1-second delay between displaying VAR changes
to the player's HUD. This is to prevent the spamming of
messages from the server to players (initiated by the player).
NOTE:
Since all Player VARS are only valid for the current slot
that player's occupy on a server and they are reset at
every mapchange, we recommend the following:
1. Set up your config.cfg file to automatically exec class
configs when you respawn. To do this, open up this file
in your Client TFC directory, and put this entry:
setinfo "exec_class" "on"
2. Copy (from your old WON TFC) or create config files for
each playerclass and put whatever settings in each file.
Example demoman config:
/////////////////////////////////////////
ECHO "DEMO CFG LOADED"
ntf_impulse nohudhelp 1
ntf_impulse landminetype 1
bind "g" "mortar"
bind "h" "detmarker"
bind "KP_SLASH" "mortarfire"
bind "KP_END" "saberdisc"
bind "DEL" "detspecial"
bind "KP_PGUP" "detspecial"
bind "KP_HOME" "buildspecial2"
bind "PGDN" "buildspecial"
bind "g" "mortar"
bind "h" "detmortar"
////////////////////////////////////////
Valid filenames for TFC class configs:
scout.cfg sniper.cfg soldier.cfg
demoman.cfg medic.cfg hwguy.cfg
pyro.cfg spy.cfg engineer.cfg
Note: Your client tfc folder is: YOURNAME@EMAIL\team fortress classic\tfc