CODBlackOps3.asl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. state("blackops3")
  2. {
  3. int Loader : 0x19E00000;
  4. string70 CurrentLevelName : 0x156E5086;
  5. }
  6. startup
  7. {
  8. settings.Add("missions", true, "Missions");
  9. vars.missions = new Dictionary<string,string>
  10. {
  11. {"newworld", "New World"},
  12. {"ackstation", "In Darkness"},
  13. {"odomes", "Provocation"},
  14. {"en", "Hypercenter"},
  15. {"ngeance", "Vengeance"},
  16. {"amses", "Rise and Fall"},
  17. {"nfection", "Demon Within"},
  18. {"quifer", "Sand Castle"},
  19. {"otus", "Lotus Towers"},
  20. {"coalescence", "Life"},
  21. };
  22. foreach (var Tag in vars.missions)
  23. {
  24. settings.Add(Tag.Key, true, Tag.Value, "missions");
  25. };
  26. if (timer.CurrentTimingMethod == TimingMethod.RealTime) // stolen from dude simulator 3, basically asks the runner to set their livesplit to game time
  27. {
  28. var timingMessage = MessageBox.Show (
  29. "This game uses Time without Loads (Game Time) as the main timing method.\n"+
  30. "LiveSplit is currently set to show Real Time (RTA).\n"+
  31. "Would you like to set the timing method to Game Time? This will make verification easier",
  32. "LiveSplit | Call of Duty: Black Ops 3",
  33. MessageBoxButtons.YesNo,MessageBoxIcon.Question
  34. );
  35. if (timingMessage == DialogResult.Yes)
  36. {
  37. timer.CurrentTimingMethod = TimingMethod.GameTime;
  38. }
  39. }
  40. }
  41. start
  42. {
  43. return ((current.CurrentLevelName == "logue") && (current.Loader != 0));
  44. }
  45. split
  46. {
  47. return ((current.CurrentLevelName != old.map) && (settings[current.CurrentLevelName]));
  48. }
  49. isLoading
  50. {
  51. return (current.Loader == 0);
  52. }