View Single Post
  #2  
Old 11-27-2014, 04:01 PM
KG26_Alpha KG26_Alpha is offline
Approved Member
 
Join Date: Jan 2008
Location: London
Posts: 2,805
Default

Quote:
Originally Posted by sniperton View Post
Alpha, is there a way to make icon settings (as described in #33) default? I mean an auto-loading script instead of typing every time in console. Thanks

Are you running a dedicated server ?

If you are IL2 SC or FBDj can set the icons for the dedicated server.

If you are launching the standard client IL2 1946 v4.12.2 there's a icon set up in the gui
Setup>misc>Icons>

Or you can use the RCU file in the root directory and load preset icon ranges for different mission types.
You will have to enter them manually.


EG:

@a ddot dot DEFAULT

@a t1 mp_dotrange FRIENDLY DOT 15 COLOR 0.75 TYPE 0.5 ID 0.5 NAME 1.5
@a t2 mp_dotrange FOE DOT 15 COLOR 0.75 TYPE 1.0 ID 0.5 NAME 0.50


@a fdot dot FRIENDLY DOT 15 TYPE 2 COLOR 1.5 NAME 1.5 RANGE 0.5 ID 0.01
@a edot dot FOE DOT 15 TYPE 0.31 COLOR 0.31 RANGE 0.31 ID 0.2

@a 11 mp_dotrange FOE DOT 14 TYPE 2.0 COLOR 0.001 NAME 0.1 ID 0.001 RANGE 0.001
@a 22 mp_dotrange FRIENDLY DOT 14 TYPE 2.0 COLOR 0.001 NAME 5.0 ID 0.001 RANGE 0.001


@a i1 mp_dotrange FRIENDLY DOT 25.0 COLOR 0.1 RANGE 0.1 TYPE 1.0 ID 0.1 NAME 0.1 ALTICON
2.5 ALTSYMBOL + ALTCOLOR 3

@a i2 mp_dotrange FOE DOT 25.0 COLOR 0.1 RANGE 0.1 TYPE 1.0 ID 0.1 NAME 0.1 ALTICON
2.5 ALTSYMBOL + ALTCOLOR 3


For automatically setting the icons:

First you create a new file in your IL2 directory called icons.rcu
(create it in notepad and ensure it doesn't end up with a .txt suffix)
and enter your mp_dotrange commands inside.
Here is an example:

<pre class="ip-ubbcode-code-pre">mp_dotrange FRIENDLY DOT 15.000 COLOR 0.005 RANGE 0.005 TYPE 6.000 ID 0.005 NAME 0.005
mp_dotrange FOE DOT 15.000 COLOR 0.500 RANGE 0.005 TYPE 6.000 ID 0.005 NAME 0.005
timeout 60000 file icons.rcu</pre>

The last line makes the file reload roughly every 60 seconds.

Then you add this line to the end of your rcu file:

<pre class="ip-ubbcode-code-pre">@file icons.rcu</pre>

So now every time you start a mission your preferred icon settings are applied automatically.

Last edited by KG26_Alpha; 11-27-2014 at 04:08 PM.
Reply With Quote