home *** CD-ROM | disk | FTP | other *** search
- ;-------------------------------------
- ;Custom AI Template, for "Krizalid"
- ;Originally created by The Necromancer
- ;E-mail: demon_nightmare@hotmail.com
- ; necromancer@zipmail.com
- ;-------------------------------------
-
- ;----------
- ;Custom AI:
- ;----------
-
- ;This is a "Custom AI Template".
- ;You may copy and paste it for your character, but please leave the above notes
- ;(the credits) unmodfied.
-
- ;In order to use this file, cut and paste all the -2 states of your character
- ;and paste it in this file. You may then add any more programming as you wish.
-
- ;Alternatively, you can create a Custom AI using the CMD file instead.
-
- ;If there are any -3 states, you can cut and paste them at the bottom of this
- ;file.
- ;---------------------------------------------------------------------------
-
- [Statedef -2]
-
- ;---------------------------------------------------------------------------
-
- ;Insert all your -2 states here...
-
- ;---------------------------------------------------------------------------
-
- ;===========================================================================
- ;Custom AI (Or "AI" Only)
- ;===========================================================================
-
- ;===========================================================================
- ;Custom AI - All Difficulties
- ;===========================================================================
-
- ;---------------------------------------------------------------------------
- ;Auto Guard - Any Range
-
- [State -2, StandGuard]
- type = ChangeState
- triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
- triggerall = StateType = S
- triggerall = Pos Y >= 0
- triggerall = P2BodyDist Y <= 0
- triggerall = P2BodyDist Y >= -120
- triggerall = P2StateType != C
- triggerall = P2MoveType = A
- trigger1 = P2BodyDist X > 80
- trigger1 = Ctrl = 1
- trigger2 = StateNo = [140, 155]
- value = 130
-
- [State -2, StandGuardClose]
- type = ChangeState
- triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
- triggerall = Random > 399
- triggerall = StateType = S
- triggerall = Pos Y >= 0
- triggerall = P2BodyDist Y <= 0
- triggerall = P2BodyDist Y >= -120
- triggerall = P2StateType != C
- triggerall = P2MoveType = A
- trigger1 = P2BodyDist X <= 80
- trigger1 = Ctrl = 1
- trigger2 = StateNo = [140, 155]
- value = 130
-
- [State -2, CrouchGuard]
- type = ChangeState
- triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
- triggerall = StateType = S
- triggerall = Pos Y >= 0
- triggerall = P2BodyDist Y <= 0
- triggerall = P2BodyDist Y >= -50
- triggerall = P2StateType = C
- triggerall = P2MoveType = A
- trigger1 = P2BodyDist X > 80
- triggerall = Random > 399
- trigger1 = Ctrl = 1
- trigger2 = StateNo = [140, 155]
- value = 131
-
- [State -2, CrouchGuardClose]
- type = ChangeState
- triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
- triggerall = Random > 399
- triggerall = StateType = S
- triggerall = Pos Y >= 0
- triggerall = P2BodyDist Y <= 0
- triggerall = P2BodyDist Y >= -50
- triggerall = P2StateType = C
- triggerall = P2MoveType = A
- trigger1 = P2BodyDist X <= 80
- trigger1 = Ctrl = 1
- trigger2 = StateNo = [140, 155]
- value = 131
-
- [State -2, AirGuard]
- type = ChangeState
- triggerall = Var(0) = 1 ;The type of AI programming used. (Can also be a PalNo trigger)
- triggerall = StateType = A
- triggerall = Pos Y < 0
- triggerall = P2BodyDist X <= 120
- triggerall = P2BodyDist Y >= -120
- ;triggerall = P2BodyDist X <= 120 ;Uncomment this to enable Auto Guard range. (More control)
- triggerall = P2MoveType = A
- triggerall = StateType = A
- trigger1 = Ctrl = 1
- trigger2 = StateNo = [140, 155]
- value = 132
-
- ;---------------------------------------------------------------------------
-
- ;Insert all your -3 states here...
-