Just a snippet, that I have gathered up and put in one place.
Shall eventually put it on the webby somehwer or other
________
Icons in On-Line Games (Not for Dedicated Server)
If plane icons are enabled, the host of an on-line game has the ability to define the relevant paramaters using the mp_dotrange command. E.g. the level of information displayed and the distance at which they become visible for both friendly and enemy units.
The command is given through the console and the correct syntax is:
mp_dotrange <FRIENDLY|FOE> <DEFAULT> <COLOR> <DOT> <RANGE> <TYPE> <ID> <NAME>
Note the spelling and that it is case sensitive.
Explanation of paramaters.
<FRIENDLY|FOE>
- defines whether the following parameters apply to friendly or enemy units. To apply the settings to both friendly and enemy plane units, ommit this parameter.
The following parameters define the distance at which :
<COLOR>
- the icon takes the army color. Icons farther than that are drawn in grey.
<DOT>
- the `dot' plane marker is visible. The glorious pixel you can chase for hours.
<RANGE>
- the range information is visible.
<TYPE>
- the airplane model or model family is visible.
<ID>
- the tactical number is visible.
<NAME>
- the pilot's name is visible (if human pilot)
_______________
e.g. typing the following two lines in the console:
mp_dotrange FRIENDLY COLOR 0.01 DOT 14 RANGE 0.01 TYPE 0.01 ID 1.0 NAME 0.01
mp_dotrange FOE COLOR 0.01 DOT 14 RANGE 0.01 TYPE 0.01 ID 0.01 NAME 0.01
Will give icon information at the following ranges.
Friendly aircraft:
- Aircraft dot at 14km
- Planes tactical number at 1km
- All other at 10m
Enemy aircraft:
- Aircraft dot at 14km
- All other at 100m
_______________
mp_dotrange DEFAULT
- restores all to the game defaults. i.e.
COLOR 6.0
DOT 14.0
RANGE 6.0
TYPE 6.0
ID 6.0
NAME 6.0
_______________
mp_dotrange
-run without any parameters shows the current icon set-up ranges (may be issued both on client and server sides).
_______________
ACTIVATING THE CONSOLE
Can be done by two methods
1. Toggle the console on and off using SHIFT+TAB
2. Go into the chat window and type ">"
- All information then entered into the chat window will be treated as console commands until you backspace over the ">" character.
_______________
USING ALIASES TO SHORTCUT FREQUENTLY USED CONSOLE COMMANDS USING THE RCU FILE
In the main FB directory there a file called rcu. Note that this file has no file extension and may be opened and edited using Notepad
Note: If you do edit it using notepad, remember to make sure that notepad has not added a .txt extension upon saving. It may also be wise to make sure that your windows settings are such that commonly used file extenstions are not hidden, as the .txt extension would not be visible even if it were there!
In this file you can set shortened aliases for commonly used long console commands.
The default version of the rcu file contains the following text.
@set fast off
@set echo on
@set alias on
@set history 20
@alias a alias
@a h history
@a s show
So, for example, if you add the following lines to your rcu file, you will be able to apply a predefined mp_dotrange command using 3 or 4 keystrokes.
@a 1fr mp_dotrange FRIENDLY COLOR 0.01 DOT 14 RANGE 0.01 TYPE 0.01 ID 1.0 NAME 0.01
@a 1fo mp_dotrange FOE COLOR 0.01 DOT 14 RANGE 0.01 TYPE 0.01 ID 0.01 NAME 0.01
In this case, typing 1fr in the console will activate the friendly icon settings defined, and 1fo will activate the defined foe settings.
Hope this may be of help.
S!
MA_Hat