SniperElite2.asl 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. state("SniperEliteV2")
  2. {
  3. //int loading1: 0x6486C4;
  4. string65 map: 0x685F31;
  5. }
  6. startup
  7. {
  8. settings.Add("missions", true, "Missions");
  9. vars.missions = new Dictionary<string,string>
  10. {
  11. {"Street\\M02_Street.pc", "Schonberg Streets"},
  12. {"Facility\\M03_Facility.pc", "Mittelwerk Facility"},
  13. {"BodeMuseum\\M05_BodeMuseum.pc", "Kasier Friedrich Museum"},
  14. {"Bebelplatz\\M06_Bebelplatz.pc", "Opernplatz"},
  15. {"Church\\M07_Church.pc", "St Olibartus Church"},
  16. {"Flaktower\\M08_Flaktower.pc", "Tiergarten Flak Tower"},
  17. {"CommandPost\\M09_CommandPost.pc", "Karlshorst Command Post"},
  18. {"PotsdamerPlatz\\M10_PotsdamerPlatz.pc", "Kreuzberg HeadQuarters"},
  19. {"LaunchSite\\M10a_LaunchSite.pc", "Kopenick Launch Site"},
  20. {"BrandenburgGate\\M11_BrandenburgGate.pc", "Brandenburg Gate"},
  21. };
  22. foreach (var Tag in vars.missions)
  23. {
  24. settings.Add(Tag.Key, true, Tag.Value, "missions");
  25. };
  26. }
  27. start
  28. {
  29. return ((current.map == "Tutorial\\M01_Tutorial.pc") && (old.map == "nu\\Options.gui"));
  30. }
  31. split
  32. {
  33. return (settings[(current.map)] && (current.map != old.map));
  34. }
  35. reset
  36. {
  37. return ((current.map == "nu\\Options.gui") && (old.map != "nu\\Options.gui"));
  38. }
  39. /*isLoading
  40. {
  41. return (current.loading1 == 0);
  42. }
  43. */