alias [<name> <string>] | [<name> REMOVE]
Creates or REMOVEs a shorthand version of a command. As an example:
alias r mp_dotrange
makes typing r have the same effect as typing mp_dotrange.
alias r REMOVE
would delete the shorthand version we just created.
ban [ADD] [REM] [NAME [<name>]] [PATTERN [<pattern>]] [IP [<ip mask>]] [CLEAR] [LOAD [<file name>]] [SAVE [<file name>]]
The ban command is used by a server host/admin for banning players from the server. Bans can be done by name or IP. Contributions as to how the individual parameters work are welcome.
channel <empty> (list channels) <number> [DESTROY] [SPEED <b/s>] [TIMEOUT <sec>] [STAT <sec>]
To do with voice comms? Or maybe AI radio chatter?
chat <message> [ALL] [MY_ARMY] [TO# <N>] [TO <name>|<*>] [ARMY <N>|<name>]
Appears to be a means of entering chat messages while in the console or perhaps a format for loading message for chat from files.... this is probably what FBDaemon uses for the automatic server messages.
console [CLEAR] [HISTORY [<size>]] [HISTORYCMD [<size>]] [LOG [on|off]] [LOGFILE [<file name>]] [LOAD <file name>] [SAVE <file name>]
For handling the contents of the console screen and managing console logging. This list of console commands was assembled from a console log file, it save me an awful lot of typing
![Wink ;)](./images/smilies/icon_wink.gif)
console0 [WRAP [on|off]] [PAGE [<size>]] [PAUSE [on|off]] [CLEAR] [HISTORY [<size>]] [HISTORYCMD [<size>]] [LOG [on|off]] [LOGTIME [on|off]] [LOGFILE [<file name>]] [LOAD <file name>] [SAVE <file name>]
del <name of atom>
No idea on this one.
f <file name of list commans> [BREAK] - in new environment
file <file name of list commans> [BREAK] - in current environment
These two are for loading a file with a list of commands. From the description it appears that one of them applies the commands immediately and the other reloads the game or the mission (not sure which) prior to executing the commands. Anyone got a better or more detailed explanation?
fps [START|STOP] [SHOW|HIDE] [LOG <sec>]
Controls the games built in frame rate counter. It appears there's a log fuction I wasn't previously aware of (or had forgotten about
![Wink ;)](./images/smilies/icon_wink.gif)
help [<pattern of commands>] [NAMES] [SIZE <size of colons>] [WIDTH <width>]
The game's built in console help system. Left blank it outputs a list of commands. With a command name specified, it lists syntax for that command specifically. If you use wild cards in the command name you're requesting help for, it will list syntax for all matches. The SIZE & WIDTH parameters appear to make it possible to specifiy something other than the default table spacing for the output list.
history
Prints a list of console commands issued by you (& from files?) in this game session.
host <empty> (list hosts) PATH (list pathes) <name> (rename local host)
Lists all "hosts" connected and allows renaming of the local host (yourself). I'm not sure what the PATH parameter does.
hotkey [<hot key> CMD <command>] [ENV [<environment>]] [CMDRUN [<cmdrun>] [REALTIME]]
hotkeycmd [ENV [<environment>]] [EXEC <name> [TIME <sec>]] [START <name>] [STOP <name>]
These two appear to control what functions of the game are available in the current mode. I'm not sure how they're applied, any ideas?
kick <name>
kick# <N>
Used by server host to kick players from the server. The first must have the player's exact name, the second uses the player's server assigned player number. The player name or number can be obtained from the USER command or by pressing s while in the game.
mission [LOAD <name>] [BEGIN] [END] [DESTROY]
Loads, starts or stops missions on the fly. I'm not sure what the DESTROY parameter does or whether you have to END the current mission before LOADing and BEGINning the next mission. Any exxperienced hosts have any ideas?
mp_dotrange [FRIENDLY|FOE] [DEFAULT] [COLOR <km>] [DOT <km>] [RANGE <km>] [TYPE <km>] [ID <km>] [NAME <km>]
See this page for more info.
music [PLAY] [STOP] [BREAK] [VOL] [PATH <randpathname>] [FILE <filename>]
Changes your inflight music on the fly by the look of it. Never tried it so I don't know how it works. Any ideas?
param <name of command> [<name param> [<value>]]
Lists parameters for the specified command and appears to offer a means of specifying default values for those parameters. Anyone able to offer more detail?
radio [<name>] [NONE] [COMMON] [ARMY] [LIST]
This is for setting up and controlling the in game voice comms system. The syntax definition appears to be incomplete or out of date, the PF manual shows some different paramaters. The paramaters listed in the manual are TEST, LEVEL, LATENCY, CODEC and AGC and they are explained there. The functions described in the manual suggest that the parameters in the manual are for setting up your voice comms and those listed in console are for selecting channels. I use TS or Ventrilo so don't ask me how it all works
![Wink ;)](./images/smilies/icon_wink.gif)
set <name of atom> <string>
show [<pattern of name atoms>] [AREA <name of area>]
These two appear to go with "del". I still have no idea, though you advanced programming types may be able to intuit something by opening console and typing "show". Let us know if you can work anything out.
socket
<empty> (list protocols)
LISTENER [<0|1>] (enable/disable connect from remote hosts)
JOIN [BREAK] (show status join/ break join)
<protocol> (list sockets)
<protocol> CREATE [[LOCAL]HOST <nm>] [[LOCAL]PORT <n>] [CHANNELS <n>] [SPEED <n>]
<protocol> CHANNELS <n> [SPEED <n>] [[LOCAL]HOST <nm>] [[LOCAL]PORT <n>]
<protocol> SPEED <n> [CHANNELS <n>] [[LOCAL]HOST <nm>] [[LOCAL]PORT <n>]
<protocol> DESTROY [LOCALHOST <nm>] LOCALPORT <n> [HOST <nm>] [PORT <n>]
<protocol> JOIN [LOCALHOST <nm>] [LOCALPORT <n>] HOST <nm> [PORT <n>] [SPEED <n>]
socks [ON|OFF] [HOST <socks host addr>] [PORT <socks host port>] [USER <user name>] [PWD <password>]
Socket & socks appear to be a means of controlling connection, ports and proxy settings on the fly. Not being a networking expert I'll refrain from further speculation and let someone with more experience do the testing required to work out exactly how & when to use them.
speedbar [SHOW|HIDE]
Self explanatory, & it's in the PF manual anyway.
timeout <timeout in ms> <command name> [<params>]
Issues the specified command after the specifed timeout period (in milliseconds) has elpased.
tod [<hour.min>]
Used by hosts to change the server time of day. Format is 24 hour time.
user [<name>|<*>] [# <N>] [ARMY <N>|<name>] [STAT]
Lists all or specified users with ping, plane, army and server assigned player number details. When used with the STAT parameter it also lists the user's current kill/damage statistics.
window [<width> [<height> [<bpp> [<stencilbits>]]]] [FULL] [PROVIDER <name.dll>]
Appears to be intended to change resolution and other vid settings on the fly. Used without parameters it outputs the current settings.
Following is a segment of my console log showing the results of me messing about with some of the above commands.
38>socket
The availablis protocols:
udp maxChannels: 128 maxSpeed: 10000 bytes/sec
39>socks
Proxy socks is disable
HOST UNKNOWN
PORT 1080
40>alias
a is alias
h is history
s is show
41>ban
42>channel
43>chat
44>chat This is a test ALL
45>
45>console
46>console0
47>help del
<del>
del <name of atom>
48>f
ERROR f: Bad command format
49>help f
<f>
f <file name of list commans> [BREAK] - in new environment
50>fps
LOG 5
HIDE
STOPPED
51>history
32 is help socks
33 is help speedbar
34 is help timeout
35 is help tod
36 is help user
37 is help window
38 is socket
39 is socks
40 is alias
41 is ban
42 is channel
43 is chat
44 is chat This is a test ALL
45 is console
46 is console0
47 is help del
48 is f
49 is help f
50 is fps
51 is history
52>help
? alias ban channel chat console
console0 del f file fps help
history host hotkey hotkeycmd kick kick#
mission mp_dotrange music param radio set
show socket socks speedbar timeout tod
user window
53>help host
<host>
<empty> (list hosts)
PATH (list pathes)
<name> (rename local host)
54>host
localhost: Tully
55>hotkey
HotKey environments:
default DISABLED
Console ENABLED
hotkeys DISABLED
FreeFly DISABLED
FreeFlyXYZ DISABLED
HookView DISABLED
PanView DISABLED
SnapView DISABLED
pilot DISABLED
move DISABLED
gunner DISABLED
misc DISABLED
$$$misc DISABLED
aircraftView DISABLED
timeCompression DISABLED
orders DISABLED
gui DISABLED
MouseXYZ DISABLED
builder DISABLED
56>hotkeycmd
HotKeyCmd environments:
default DISABLED
Console ENABLED
hotkeys ENABLED
FreeFly DISABLED
FreeFlyXYZ DISABLED
HookView ENABLED
PanView ENABLED
SnapView ENABLED
pilot ENABLED
move ENABLED
gunner ENABLED
misc ENABLED
$$$misc ENABLED
aircraftView ENABLED
timeCompression ENABLED
orders ENABLED
gui ENABLED
MouseXYZ DISABLED
builder DISABLED
57>kick
58>kick#
59>mission
Mission: net/dogfight/Training/landingdf.mis is Playing
60>mp_dotrange
Friendly Dot Ranges:
DOT 14.0 km
COLOR 6.0 km
TYPE 6.0 km
NAME 6.0 km
ID 6.0 km
RANGE 6.0 km
Foe Dot Ranges:
DOT 14.0 km
COLOR 6.0 km
TYPE 6.0 km
NAME 6.0 km
ID 6.0 km
RANGE 6.0 km
61>music
music : null
volume : 1.0
state : STOPPED
62>param
ERROR param: Bad command format
63>radio
Radio is NONE
64>help set
<set>
set <name of atom> <string>
65>set
ERROR set: Bad command format
66>help show
<show>
show [<pattern of name atoms>] [AREA <name of area>]
67>show
_$$0 is OK
_$$1 is OK
_$$2 is OK
alias is on
echo is on
fast is off
history is 20
_$$0 is OK
_$$1 is com.maddox.il2.objects.air.A_20G@1127
_$$2 is OK
alias is on
echo is on
fast is off
history is 0
68>socket
The availablis protocols:
udp maxChannels: 128 maxSpeed: 10000 bytes/sec
69>socks
Proxy socks is disable
HOST UNKNOWN
PORT 1080
70>speedbar
SpeedBar is SHOW
71>timeout
ERROR timeout: timeout not present
72>tod
Time Of Day: 12.290833
73>user
N Name Ping Score Army Aircraft
0 Tully 0 0 (1)Red 27* A-20G
74>window
1024x768x32 24 8 Opengl32.dll