collapse

Author Topic: How to make A.I codes  (Read 996 times)

0 Members and 1 Guest are viewing this topic.

Offline shootYr.

  • [Magnum]
  • Contributor
  • ****
  • Posts: 1112
  • Last Login:September 11, 2012, 07:27:16 PM
  • What're you gonna do to me?...
How to make A.I codes
« on: August 18, 2007, 02:04:48 AM »
Ummmm....... Theres not much to it. Just find a code like,

;-| CPU |--------------------------------------------------------
[Command]
name = "cpu1"
command =D,D,D,D,D,D,D,D
time = 0

[Command]
name = "cpu2"
command =F,F,F,F,F,F,F
time = 0

[Command]
name = "cpu3"
command =U,U,U,U,U,U,U,U
time = 0

[Command]
name = "cpu4"
command = B,B,B,B,B,B,B
time = 0

and post it at the Top Of The CMD

then at the top of the bottom of the CMD You put something like.....

[State -1]
Type = ParentVarSet
triggerall = command = "cpu1'
triggerall = command = "cpu2"
triggerall = command = "cpu3"
triggerall = command = "cpu4"
triggerall = command = 'cpu5"
triggerall = command = "cpu6"
triggerall = command = "cpu7"
var(59) = 1

Thats not a definate code but play with it. You can find a definate code in the CMD Of SpeeD on my filefront.

Now heres where things get annoying. X(

you have to copy all of the CMD statedef -1 Codes and repost them at either the bottom or the top. Just Make sure they aren't bunched together. So Then You start. Find a state.

[State -1, Llmma Chicken Fish Stick]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl

Redo it Specifiying P2's Conditions.

[State -1, Llmma Chicken Fish Stick]
type = ChangeState
value = 400
triggerall = P2BodyDist x >25
triggerall = PrevStateNo = 200
triggerall = PrevStateNo != 220
triggerall = P2StateNo = [5000,5021]
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl

To further make the character harder edit the CNS or the AIr to make him invinsible in certain states, add damage, more hitdefs, and increase the amount of default air juggle points.

Thats pretty much it.
« Last Edit: August 18, 2007, 02:08:33 AM by Rageki Nekketsu »



Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 [27]
28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal