Add Apoc Attack AI Trigger.fscript 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // FinalAlert2:YR Script file
  2. // Name: Move 4 starting points close to corners
  3. // Written By: Matthias Wagner
  4. // Last Change: August 21, 2001
  5. // Be careful when editing scripts, they may cause damage to maps if used improperly
  6. AskContinue("This script will add AI Triggers and Teams that makes soviet AIs attack with a certain amount of Apocs. Continue?");
  7. // disable safe mode so that we can move already existing waypoints, not just create new ones
  8. // user must allow the script to do this. If he does not, the waypoints won´t be moved if they
  9. // already exist.
  10. SetSafeMode("FALSE","Necessary for moving waypoints");
  11. AllowAdd("Necessary for adding AI trigger");
  12. UInputGetInteger("%Count%","How many Apocalypse tanks shall be in the attack force?","1","20");
  13. SetIniKey("ScriptTypes","63811929","63811929");
  14. SetIniKey("TaskForces","63811928","63811928");
  15. SetIniKey("TeamTypes","63811930","63811930");
  16. // taskforce
  17. SetIniKey("63811928","0","%Count%,APOC");
  18. SetIniKey("63811928","Name","%Count% Apocs");
  19. SetIniKey("63811928","Group","-1");
  20. // script
  21. SetIniKey("63811929","0","54,0");
  22. SetIniKey("63811929","1","53,0");
  23. SetIniKey("63811929","2","0,1");
  24. SetIniKey("63811929","3","11,15");
  25. SetIniKey("63811929","Name","AI Apoc Attack");
  26. // teamtype
  27. SetIniKey("63811930","Max","5");
  28. SetIniKey("63811930","Full","no");
  29. SetIniKey("63811930","Name","Apoc Attack");
  30. SetIniKey("63811930","Group","-1");
  31. SetIniKey("63811930","House","Neutral");
  32. SetIniKey("63811930","Script","63811929");
  33. SetIniKey("63811930","Whiner","no");
  34. SetIniKey("63811930","Droppod","no");
  35. SetIniKey("63811930","Suicide","no");
  36. SetIniKey("63811930","Loadable","no");
  37. SetIniKey("63811930","Prebuild","no");
  38. SetIniKey("63811930","Priority","5");
  39. SetIniKey("63811930","Waypoint","A");
  40. SetIniKey("63811930","Annoyance","yes");
  41. SetIniKey("63811930","IonImmune","no");
  42. SetIniKey("63811930","Recruiter","yes");
  43. SetIniKey("63811930","Reinforce","no");
  44. SetIniKey("63811930","TaskForce","63811928");
  45. SetIniKey("63811930","TechLevel","0");
  46. SetIniKey("63811930","Aggressive","yes");
  47. SetIniKey("63811930","Autocreate","no");
  48. SetIniKey("63811930","GuardSlower","no");
  49. SetIniKey("63811930","OnTransOnly","no");
  50. SetIniKey("63811930","AvoidThreats","no");
  51. SetIniKey("63811930","LooseRecruit","no");
  52. SetIniKey("63811930","VeteranLevel","1");
  53. SetIniKey("63811930","IsBaseDefense","no");
  54. SetIniKey("63811930","UseTransportOrigin","no");
  55. SetIniKey("63811930","MindControlDecision","0");
  56. SetIniKey("63811930","OnlyTargetHouseEnemy","no");
  57. SetIniKey("63811930","TransportsReturnOnUnload","no");
  58. SetIniKey("63811930","AreTeamMembersRecruitable","yes");
  59. AddAITrigger("%AITrigID%","Apoc Attack,63811930,<all>,1,1,NATECH,01000000030000000000000000000000000000000000670100000000cc869412,250.000000,230.000000,250.000000,1,0,2,0,<none>,1,1,1");
  60. SetIniKey("AITriggerTypesEnable","%AITrigID%","yes");