Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #24  
Old 04-16-2012, 05:23 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
So we just add grids in the .cs file for the grids we want it to be able to see?
If you look at the code you will find
Code:
 List<LocalHeadquarters> Headquarters = new List<LocalHeadquarters>{
        {new LocalHeadquarters("Luton", "CallSign24", 100.0, 100.0, new ObserverStation( "Static0","A,1","A,2","A,3"), new ObserverStation( "Static1","B,1","B,2","B,3"))},
        {new LocalHeadquarters("RadPoe", "CallSign32", 200.0, 200.0, new ObserverStation( "Static2","C,1","C,2","C,3"), new ObserverStation( "Static3","D,1","D,2","D,3"))},
        {new LocalHeadquarters("Forest", "CallSign15", 300.0, 300.0, new ObserverStation( "Static4","E,1","E,2","E,3"), new ObserverStation( "Static5","F,1","F,2","F,3"))}
    };
there you can add/remove the observed sectors from a "Radarstation".

Code:
new LocalHeadquarters("Luton", "CallSign24", 100.0, 100.0, ..
Here you can modify the Headquarter, first the name of it, second its callsign, third and fourth the Position of it (needed later for "in range communication"). The next parameters are the attached Radarstations to this sectors.
Code:
new ObserverStation( "Static0","A,1","A,2","A,3")
first parameter is the name of the object from the mis-file, the next parameters are the sectors which are observed, you can add so many sectors you like.
You can also add so many Radarstations to a HQ you need.



The message texts are only placeholders at the moment.

Last edited by FG28_Kodiak; 04-16-2012 at 05:32 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.