home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / MODS / AgeOfEmpires2 / Raw.exe / AI / Immobile_Units.per.txt < prev    next >
Text File  |  2001-07-11  |  2KB  |  45 lines

  1. ;This Ai file has been created by Zanzard Lothar (zanzard@loja.net).
  2. ;Based on three ai files. One created by The Rasher and the others by Herodotus and Magnus.
  3. ;
  4. ;This Ai is supposed to make the Ai's villagers and military units stand still doing nothing.
  5. ;If enemy units come near the military units of the AI, the military units will move and attack the enemy
  6. ;units and then stand still again if the enemy units leave their sight or are vanquished.
  7. ;Villagers of the AI will not fight back.
  8. ;Units of the AI will execute orders given to them by triggers most of the time.
  9. ;
  10. ;Feel free to use this AI in any scenario of AOK, but use it at your own risk.
  11. ;The author is not responsible for any problems this AI file causes to any users of it.
  12.  
  13. (defrule
  14.     (true)
  15. =>
  16.     (set-strategic-number sn-maximum-food-drop-distance 0)
  17.     (set-strategic-number sn-maximum-wood-drop-distance 0)
  18.     (set-strategic-number sn-maximum-gold-drop-distance 0)
  19.     (set-strategic-number sn-maximum-stone-drop-distance 0)
  20.     (set-strategic-number sn-maximum-hunt-drop-distance 0)
  21.     (set-strategic-number sn-food-gatherer-percentage 0)
  22.     (set-strategic-number sn-gold-gatherer-percentage 0)
  23.     (set-strategic-number sn-minimum-civilian-explorers 0)
  24.     (set-strategic-number sn-wood-gatherer-percentage 0)
  25.     (set-strategic-number sn-cap-civilian-explorers 0)
  26.     (set-strategic-number sn-percent-civilian-explorers 0) 
  27.     (disable-self)
  28. )
  29.  
  30. (defrule
  31.     (true)
  32. =>
  33.     (set-strategic-number sn-percent-enemy-sighted-response 100)
  34.     (set-strategic-number sn-hits-before-alliance-change 25)
  35.     (set-difficulty-parameter ability-to-maintain-distance 100)
  36.     (set-difficulty-parameter ability-to-dodge-missiles 100)
  37.     (set-strategic-number sn-number-explore-groups 0)
  38.     (set-strategic-number sn-percent-attack-soldiers 0)
  39.     (set-strategic-number sn-task-ungrouped-soldiers 0)
  40.     (set-strategic-number sn-number-attack-groups 0)
  41.     (set-strategic-number sn-enemy-sighted-response-distance 10)
  42.     (set-strategic-number sn-total-number-explorers 0)
  43.     (set-strategic-number sn-relic-return-distance 0)
  44.     (disable-self)
  45. )