Talvieno

AI Wars AI

Sep 23rd, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  1. if nearest pit distance < #36 then avoid nearest pit
  2. if total self hp < #2 and nearest upgrader distance < #92 and nearest forest distance < #46 and nearest forest facingdeg < #15 then avoid nearest forest
  3. if total self hp < #2 and nearest upgrader distance < #92 and nearest forest distance < #46 and nearest wall facingdeg < #15 then avoid nearest wall
  4. if total self hp < #2 and total enemy count > #8 and total ally count > #0 and nearest ally distance > #25 and nearest enemy distance < #25 then forwards
  5. if nearest enemy distance < #46 then drop
  6. if nearest mine distance < #36 and nearest enemy distance > #36 and total self hp < #2 then avoid nearest mine
  7. if average enemy distance < #113 and total enemy count > #7 and total ally count < #5 then avoid nearest enemy
  8. if total self hp = #1 and nearest enemy distance > #200 and farthest ally hp = #1 and farthest ally distance > #92 and nearest upgrader distance > #50 then moveto farthest ally
  9. if nearest wall distance < #32 and avg robot hp < #1.1 then avoid nearest wall
  10. if farthest ally distance > #150 and nearest upgrader distance > #24 and total self hp > #2 then moveto farthest ally
  11. if nearest enemy distance < #20 and nearest enemy facingdeg < #5 and nearest wall distance > #32 then fire
  12. if nearest mine distance < #36 and total self hp < #2.5 and nearest upgrader distance > #50 then avoid nearest mine
  13. if weakest enemy distance < #20 and weakest enemy facingdeg > #15 then turnto weakest enemy
  14. if nearest upgrader distance < #25 and weakest enemy distance > #20 and nearest enemy distance < #20 and nearest enemy facingdeg > #15 then Turnto nearest enemy
  15. if nearest upgrader distance < #25 and nearest enemy distance < #20 then attack
  16. if total self hp > #4 and nearest enemy facingdeg < #5 and nearest enemy hp > #1.1 and nearest wall distance > #32 then fire
  17. if total self hp > #4 and weakest enemy facingdeg < #5 and weakest enemy hp > #1.1 and nearest wall distance > #32 then fire
  18. if total self hp > nearest enemy hp and nearest enemy distance < #20 and nearest enemy facingdeg < #15 and nearest enemy attack < total self attack then attack
  19. if nearest enemy distance > #0 and nearest enemy distance < #400 and boolean #6 is false and nearest enemy HP < #2.1 and nearest enemy facingdeg < #5 and nearest wall distance > #32 then fire
  20. if weakest enemy distance < #400 and boolean #6 is false and weakest enemy facingdeg < #5 and nearest wall distance > #32 then fire
  21. if total ally count > #0 then setboolean #6 false
  22. if total missile count > #0 and nearest missile distance < #92 and nearest enemy distance > #32 and nearest upgrader distance > #32 then avoid nearest missile
  23. if total ally count > #0 then setboolean #3 toggle
  24. if total enemy count > #0 and nearest enemy distance < #25 and nearest enemy facingdeg > #13 and total self hp > #0.9 and boolean #3 is false then TurnTo nearest enemy
  25. if total self hp < #2 and nearest upgrader distance < #25 then upgradex hpx
  26. if total enemy count > #0 and nearest enemy distance < #20 and nearest enemy facingdeg > #13 and total self hp > #0.9 and boolean #3 is true then turnto nearest enemy
  27. if total enemy count > #0 and nearest enemy distance < #20 and total self hp > #0.9 then attack
  28. if total mine count > #0 and nearest mine distance < #16 then avoid nearest mine
  29. if total enemy count > #0 and nearest enemy distance < #64 and total self HP < #1 and nearest enemy hp > #0.25 Then Drop
  30. if total enemy count > #0 and nearest enemy distance < #64 and total self HP < #1 and nearest enemy hp > #0.25 then TriggerChat #2
  31. if total enemy count > #0 and nearest enemy distance < #48 and total self HP < #1 and nearest enemy hp > #0.25 and nearest enemy facingdeg > #5 then avoid nearest enemy
  32. if nearest enemy distance > #32 and total self hp < #2 and nearest upgrader distance > #24 and nearest forest distance < #36 then avoid nearest forest
  33. if total enemy count > #0 and nearest enemy distance > #32 and total self HP < #2 and nearest upgrader distance > #24 then moveto nearest upgrader
  34. if total enemy count > #0 and nearest enemy distance > #50 and nearest upgrader distance < #25 and total self hp < #5 then upgradex hpx
  35. if total enemy count > #0 and nearest enemy distance < #17 and nearest enemy facingdeg > #15 then Turnto nearest enemy
  36. if total enemy count > #0 and nearest enemy distance < #17 then attack
  37. If Total Enemy Count > #0 and nearest enemy distance > nearest upgrader distance and nearest upgrader distance > #24 and total self turnrate < #5 then moveto nearest upgrader
  38. if total enemy count > #0 and nearest enemy distance > #32 and nearest upgrader distance < #25 and total self attack < #5 then upgradex attackx
  39. if total enemy count > #0 and nearest enemy distance > #32 and nearest upgrader distance < #25 and total self hp < #5 then upgradex hpx
  40. if total enemy count > #0 and nearest enemy distance > #32 and nearest upgrader distance < #25 and total self speed < #5 then upgradex speedx
  41. if total enemy count > #0 and nearest enemy distance > #32 and nearest upgrader distance < #25 and total self turnrate < #5 then upgradex turnratex
  42. If Total Enemy Count > #0 And Nearest Enemy Distance > #17 Then TriggerChat #3
  43. if total enemy count > #0 then setboolean #4 toggle
  44. If total enemy count > #0 and total ally count > #0 and total enemy kills < total ally kills then TriggerChat #4
  45. if nearest wall distance < #36 and total robot count < #16 and boolean #4 true then avoid nearest wall
  46. if nearest enemy facingdeg < #5 and nearest wall distance > #32 then fire
  47. if total enemy count > #0 then drop
  48. if total enemy count > #0 then setboolean #5 toggle
  49. if total self hp < #5 and nearest enemy distance > #200 and nearest upgrader distance > #24 then moveto nearest upgrader
  50. if total enemy count > #12 and nearest upgrader distance > #128 and boolean #3 is false then moveto nearest upgrader
  51. if avg ally hp < #2 then moveto nearest upgrader
  52. If Total Enemy Count > #0 And weakest Enemy Distance > #20 and weakest enemy attack < #2.5 and weakest enemy distance < strongest enemy distance Then MoveTo Weakest Enemy
  53. If Total Enemy Count > #0 And Nearest Enemy Distance > #20 Then MoveTo Nearest Enemy
  54. if total ally count > #0 and nearest ally distance < #50 then avoid nearest ally
  55. Chats
  56. KillStr
  57. Swing, swing, swinggidy wing.
  58. You wanted to be "one less." That's "-1". HA!
  59. I'll tell your wife you hate her.
  60. Just call 1-800-LAWYERS. Oh, wait, you're dead.
  61. Hasta la vista.
  62. So long.
  63. You looked like my mother-in-law.
  64. Freak.
  65. Dudos.
  66. Sorry, dude.
  67. Terribly sorry, but you were spoiling the view.
  68. DeathStr
  69. Ai ya ya!
  70. Blarg.
  71. Gorp.
  72. Voip.
  73. Cheeps.
  74. Doops.
  75. Oi, that pops!
  76. It hurts SOOO BAAAD!
  77. Why God, Why?
  78. I found a cliff.
  79. Okay, moving on.
  80. It happens. But why to me?
  81. Oh, come on!
  82. This is just like my dream last night...
  83. XChat1
  84. Die!
  85. Feisty slap of pain!
  86. I am all powerful!
  87. Kneel before me!
  88. No man can withstand my wrath!
  89. DOOMSDAY82!
  90. XChat2
  91. Too fast for you?
  92. You can't get me!
  93. It's a bird. It's a plane. No, it's ME!!!
  94. Retreat!
  95. This is not good...
  96. Shitehead, that hurt!
  97. Time for a recharge...
  98. XChat3
  99.  
  100.  
  101.  
  102. Die!!!
  103.  
  104.  
  105.  
  106. Charge!!!
  107. XChat4
  108. We're creaming!
  109. We're unstoppable!
  110. We're invincible!
  111. Stop us if you can!
  112. DIE, FIENDS!
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. XChat5
  132. I'll never surrender!
  133. You think you'll win? Think again!
  134. I can take on your whole army!
  135. I shall avenge my fallen comrades!
  136. Thou shalt taste my lasers, treacherous fools!
  137. End
Advertisement
Add Comment
Please, Sign In to add comment