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.