home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2005 January / My Disc.iso / games / demo / Alexander / Data1.pak / Data / AI / BrigadeAI / Rules.ai < prev   
Encoding:
Text File  |  2004-09-23  |  1.9 KB  |  40 lines

  1. #BATTLESHIP MakBir(MK) MakPlo(MK) MakRib(MK) MakTri(MK) MakUni(MK) MakTor(MK) PerBir(PR) PerPlo(PR) PerRib(PR) PerShp(PR) IndBir(IN) IndPlo(IN) IndRib(IN) IndUni(IN) EgpPlo(EG) EgpRib(EG) EgpShp(EG) EgpTor(EG) EgpTorm(EG)
  2. if GetLastCommTime > 5 DistToAim > 400  DistToMT > 600
  3. do MoveToAim 1
  4. if St_Attack = 0 DistToMT < 600
  5. do Fire 1
  6. if GetLastCommTime > 5 GetMTStandTime > 1 DistToMT < 600 GetMTAngl < 64
  7. do Ram 2
  8. if GetLastCommTime > 5 GetMTStandTime > 1 DistToMT < 600 GetMTAngl > 210
  9. do Ram 2
  10. if GetLastCommTime > 5 DistToAim < 300 DistToMT > 900 
  11. do FireOnEnmBuilding 2
  12. #
  13. #FORMATIONS MakSar(MK) MakGip(MK) MakPlu(MK) MakDub(MK) MakKKat(MK) MakKDim(MK) MakBar(MK) MakKSkifL(MK) MakKSkifT(MK) PerKar(PR) PerBes(PR) PerPlu(PR) PerDub(PR) PerBar(PR) PerKSkifL(PR) PerKSkifT(PR) IndTha(IN) IndKop(IN) IndPlu(IN) IndDub(IN) IndKKsh(IN) IndBar(IN) IndKSkifL(IN) IndKSkifT(IN) EgpTop(EG) EgpFil(EG) EgpPlu(EG) EgpDub(EG) EgpKop(EG) EgpKSkifL(EG) EgpKSkifT(EG) EgpBar(EG)
  14. if DistToAim > 100 GetLastCommTime > 5 DistToMT > 400
  15. do MoveToAim 11
  16. if GetLastCommTime > 5 DistToMT < 1000
  17. do AttackMT 12
  18. #
  19. #STRELKI MakPra(MK) MakPel(MK) MakLuc(MK) MakKFes(MK) PerLuc(PR) EgpNLuc(EG) PerPra(PR) PerKLuc(PR) PerKCem(PR) PerKMet(PR) IndLuc(IN) EgpPra(EG) IndPra(IN) EgpLuc(EG)
  20. if DistToAim > 100 GetLastCommTime > 5 DistToMT > 400
  21. do MoveToAim 11
  22. if GetLastCommTime > 5 DistToMT < 200 GetMeleeForceDiff < 100
  23. do MoveBack 12
  24. if GetLastCommTime > 8 GetDistToEnmBuilding < 500 DistToMT > 1000
  25. do FireOnEnmBuilding 13
  26. if GetLastCommTime > 8 GetDistToEnmTower < 400 
  27. do FireOnEnmTower 13
  28. #
  29. #BALISTA MakBal(MK) IndBal(IN) PerBal(PR) EgpBal(EG) MakKat(MK) IndKat(IN) PerKat(PR) EgpKat(EG)
  30. if DistToAim > 100 GetLastCommTime > 5 DistToMT > 1300
  31. do MoveToAim 11
  32. if GetLastCommTime > 5 GetDistToEnmBuilding < 1300
  33. do FireOnEnmBuilding 13
  34. if GetLastCommTime > 3 DistToMT < 800
  35. do MoveBack 14
  36. if GetLastCommTime > 3 GetDistToEnmTower < 1300 
  37. do FireOnEnmTower 16
  38. #
  39.  
  40.