FearExtractionPoint.asl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. state("FEARXP")
  2. {
  3. int loading1 : 0x2173B8;
  4. string60 map1 : 0x21007F;
  5. int cutscene : 0x214DA4;
  6. }
  7. startup
  8. {
  9. settings.Add("missions", true, "Missions");
  10. vars.missions = new Dictionary<string,string>
  11. {
  12. {"Church_02.World00p","Contamination - Metastasis"},
  13. {"Warehouse_01.World00p","Flight - Ambush"},
  14. {"Warehouse_02.World00p","Flight- Holiday"},
  15. {"Warehouse_03.World00p","flight- Desolation"},
  16. {"Subway_01.World00p","Descent - Terminus"},
  17. {"Subway_02.World00p","Descent - Orange Line"},
  18. {"Subway_03.World00p","Descent - The L"},
  19. {"Office_01.World00p","Malice - Leviathan"},
  20. {"Hospital_01.World00p","Extraction Point - Malignancy"},
  21. {"Hospital_02.World00p","Extraction Point - Dark Heart"},
  22. {"Hospital_03.World00p","Epilogue"},
  23. };
  24. foreach (var Tag in vars.missions)
  25. {
  26. settings.Add(Tag.Key, true, Tag.Value, "missions");
  27. };
  28. if (timer.CurrentTimingMethod == TimingMethod.RealTime) // stolen from dude simulator 3, basically asks the runner to set their livesplit to game time
  29. {
  30. var timingMessage = MessageBox.Show (
  31. "This game uses Time without Loads (Game Time) as the main timing method.\n"+
  32. "LiveSplit is currently set to show Real Time (RTA).\n"+
  33. "Would you like to set the timing method to Game Time? This will make verification easier",
  34. "LiveSplit | Fear Extraction Point",
  35. MessageBoxButtons.YesNo,MessageBoxIcon.Question
  36. );
  37. if (timingMessage == DialogResult.Yes)
  38. {
  39. timer.CurrentTimingMethod = TimingMethod.GameTime;
  40. }
  41. }
  42. }
  43. start
  44. {
  45. return ((current.map1 == "Church_01.World00p") && (current.loading1 != 0) && (current.cutscene == 0));
  46. }
  47. isLoading
  48. {
  49. return (current.loading1 == 0) || (current.cutscene != 0);
  50. }
  51. reset
  52. {
  53. return (current.map1 == "XP_Intro.World00p");
  54. }
  55. split
  56. {
  57. if ((current.map1 != old.map1) && (settings[current.map1]));
  58. }