home *** CD-ROM | disk | FTP | other *** search
/ ProGames 6 / PROGAMES.iso / linked / KOF2003BW.exe / KOF2003BW / CHARS / krizalid2 / AI.cns next >
Encoding:
Text File  |  1999-01-01  |  3.8 KB  |  120 lines

  1. ;-------------------------------------
  2. ;Custom AI Template, for "Krizalid"
  3. ;Originally created by The Necromancer
  4. ;E-mail: demon_nightmare@hotmail.com 
  5. ;        necromancer@zipmail.com 
  6. ;-------------------------------------
  7.  
  8. ;----------
  9. ;Custom AI: 
  10. ;----------
  11.  
  12. ;This is a "Custom AI Template".
  13. ;You may copy and paste it for your character, but please leave the above notes 
  14. ;(the credits) unmodfied.
  15.  
  16. ;In order to use this file, cut and paste all the -2 states of your character
  17. ;and paste it in this file. You may then add any more programming as you wish.
  18.  
  19. ;Alternatively, you can create a Custom AI using the CMD file instead. 
  20.  
  21. ;If there are any -3 states, you can cut and paste them at the bottom of this 
  22. ;file.
  23. ;---------------------------------------------------------------------------
  24.  
  25. [Statedef -2]
  26.  
  27. ;---------------------------------------------------------------------------
  28.  
  29. ;Insert all your -2 states here...
  30.  
  31. ;---------------------------------------------------------------------------
  32.  
  33. ;===========================================================================
  34. ;Custom AI (Or "AI" Only)
  35. ;===========================================================================
  36.  
  37. ;===========================================================================
  38. ;Custom AI - All Difficulties
  39. ;===========================================================================
  40.  
  41. ;---------------------------------------------------------------------------
  42. ;Auto Guard - Any Range
  43.  
  44. [State -2, StandGuard]
  45. type = ChangeState
  46. triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
  47. triggerall = StateType = S
  48. triggerall = Pos Y >= 0
  49. triggerall = P2BodyDist Y <= 0
  50. triggerall = P2BodyDist Y >= -120 
  51. triggerall = P2StateType != C
  52. triggerall = P2MoveType = A
  53. trigger1 = P2BodyDist X > 80 
  54. trigger1 = Ctrl = 1
  55. trigger2 = StateNo = [140, 155]
  56. value = 130
  57.  
  58. [State -2, StandGuardClose]
  59. type = ChangeState
  60. triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
  61. triggerall = Random > 399
  62. triggerall = StateType = S
  63. triggerall = Pos Y >= 0
  64. triggerall = P2BodyDist Y <= 0
  65. triggerall = P2BodyDist Y >= -120 
  66. triggerall = P2StateType != C
  67. triggerall = P2MoveType = A
  68. trigger1 = P2BodyDist X <= 80 
  69. trigger1 = Ctrl = 1
  70. trigger2 = StateNo = [140, 155]
  71. value = 130
  72.  
  73. [State -2, CrouchGuard]
  74. type = ChangeState
  75. triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
  76. triggerall = StateType = S
  77. triggerall = Pos Y >= 0
  78. triggerall = P2BodyDist Y <= 0
  79. triggerall = P2BodyDist Y >= -50
  80. triggerall = P2StateType = C
  81. triggerall = P2MoveType = A
  82. trigger1 = P2BodyDist X > 80 
  83. triggerall = Random > 399
  84. trigger1 = Ctrl = 1
  85. trigger2 = StateNo = [140, 155]
  86. value = 131
  87.  
  88. [State -2, CrouchGuardClose]
  89. type = ChangeState
  90. triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
  91. triggerall = Random > 399
  92. triggerall = StateType = S
  93. triggerall = Pos Y >= 0
  94. triggerall = P2BodyDist Y <= 0
  95. triggerall = P2BodyDist Y >= -50
  96. triggerall = P2StateType = C
  97. triggerall = P2MoveType = A
  98. trigger1 = P2BodyDist X <= 80 
  99. trigger1 = Ctrl = 1
  100. trigger2 = StateNo = [140, 155]
  101. value = 131
  102.  
  103. [State -2, AirGuard]
  104. type = ChangeState
  105. triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
  106. triggerall = StateType = A
  107. triggerall = Pos Y < 0
  108. triggerall = P2BodyDist X <= 120
  109. triggerall = P2BodyDist Y >= -120
  110. ;triggerall = P2BodyDist X <= 120 ;Uncomment this to enable Auto Guard range. (More control)
  111. triggerall = P2MoveType = A
  112. triggerall = StateType = A
  113. trigger1 = Ctrl = 1
  114. trigger2 = StateNo = [140, 155]
  115. value = 132
  116.  
  117. ;---------------------------------------------------------------------------
  118.  
  119. ;Insert all your -3 states here...
  120.