TheHellInVietnam.asl 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. state("thiv")
  2. {
  3. string10 map : "ChromeEngine2.dll", 0x4AF96C;
  4. int loading3 : "ChromeEngine2.dll", 0x42963C;
  5. int scene : "ChromeEngine2.dll", 0x2FD614;
  6. }
  7. startup
  8. {
  9. settings.Add("missions", true, "Missions");
  10. vars.missions = new Dictionary<string,string>
  11. {
  12. {"Mission_02","A Day in the Country"},
  13. {"Mission_04","Highway Patrol"},
  14. {"Mission_03","Down by the River"},
  15. {"Mission_05","The Battle of Hue"},
  16. {"Mission_06","Buddah's Smile"},
  17. {"Mission_07","Field of Destruction"},
  18. {"Mission_08","The Journey Home"},
  19. };
  20. foreach (var Tag in vars.missions)
  21. {
  22. settings.Add(Tag.Key, true, Tag.Value, "missions");
  23. };
  24. }
  25. start
  26. {
  27. return ((current.map == "Mission_01") && (current.loading3 != old.loading3));
  28. }
  29. isLoading
  30. {
  31. return (current.loading3 == 4);
  32. }
  33. split
  34. {
  35. return ((current.map != old.map) && (settings[current.map]));
  36. }
  37. reset
  38. {
  39. return ((old.scene == 5046310) && (current.scene == 4456486));
  40. }