ok, your script is working in FMB, for some reason we could not spawn in dedi server to test it there and we ran out of time last night. I dont know if it was because of server problem or just a problem with the game. We had added a red spawn point but could not spawn.
Before this we tried to use the script on our mission with our parameters but there was some errors. Can you see any mistakes here?
Code:
private static string userdocpath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private static string CLODO_FILE_PATH = userdocpath + @"\1C SoftClub\il-2 sturmovik cliffs of dover\";
private static string FILE_PATH = @"missions\campaign\campaign3.mis"; // adjust to your needs
private static string MISSION_FILE = CLODO_FILE_PATH + FILE_PATH;
List<LocalHeadquarters> Headquarters = new List<LocalHeadquarters>{
{new LocalHeadquarters("Luton(Eastbourne)", "CallSign24", 50000.0, 178852.52, 197246.94,
new ObserverStation( "Static1","A,4","B,4","C,4","D,4","E,4","A,3","B,3","C,3","D,3","E,3","A,2","B,2","C,2","D,2","E,2","A,1","B,1","C,1","D,1","E,1"))}, //Dover
{new LocalHeadquarters("RadPoe (Rye)", "CallSign23", 50000.0, 206102.81, 212379.97,
new ObserverStation( "Static37","F,6","G,6","H,6","I,6","F,5","G,5","H,5","I,5","J,5","F,4","G,4","H,4","I,4","J,4","K,4","F,3","G,3","H,3","I,3","J,3","K,3","L,3","F,2","G,2","H,2","I,2","J,2","K,2","L,2","F,1","G,1","H,1","I,1","J,1","K,1","L,1"))}, //Rye
{new LocalHeadquarters("Dover (Ash)", "CallSign22", 50000.0, 246758.98, 235779.38,
new ObserverStation( "Static38","I,7","J,7","K,8","L,8","M,11","N,11","O,11","J,6","K,7","L,7","M,10","N,10","O1,0","L,5","L,6","K,6","K,5","L,6","L,5","L,4","L,3","L,2","M,9","M,8","M,7","M,6","N,9","N,8","L,10","L,11","L,12","O,9","O,8"))}, //Dover
{new LocalHeadquarters("Dunkirk (Woodchurch)", "CallSign32", 50000.0, 220622.50, 252385.53,
new ObserverStation( "Static3","A,12","B,12","C,12","D,12","E,12","F,12","G,12","H,12","I,12","J,12","K,12","A,11","B,11","C,11","D,11","E,11","F,11","G,11","H,11","I,11","J,11","A,10","B,10","C,10","D,10","E,10","F,10","G,10","H,10","I,10","J,10","A,9","B,9","C,9","D,9","E,9","F,9","G,9","H,9","I,9","J,9","A,8","B,8","C,8","D,8","E,8","F,8","G,8","A,7","B,7","C,7","D,7","E,7","F,7","G,7","A,6","B,6","C,6","D,6","E,6","B,5","C,5"))}, //Rye
//{new LocalHeadquarters("Forest (Woodchurch)", "CallSign15", 208162.91, 227726.61, new ObserverStation( "Static4","E,1","E,2","E,3"), new ObserverStation( "Static5","F,1","F,2","F,3"))}
};
LandMarkHandling LandMarks = new LandMarkHandling(
new LandMark("Dover", 245577.51, 234521.20),
new LandMark("Folkestone", 235333.17, 229568.64),
new LandMark("St.Magarets's at Cliffe", 250423.81, 238001.64),
new LandMark("Deal", 250985.14, 244801.80),
The problem was some of the headquarters not showing up. Also when you selected HQ2 it would give you HQ1, Select HQ3 it would give you HQ2. Also the last HQ would not show in the menu.