collapse

Author Topic: editing A.I.  (Read 773 times)

0 Members and 1 Guest are viewing this topic.

Offline egoless_932

  • Initiate
  • **
  • Posts: 13
  • Last Login:February 01, 2015, 08:48:34 PM
editing A.I.
« on: September 03, 2007, 04:59:59 PM »
hi, was wondering if there was a way to alter to A.I. of specific characters.  my oberom seems just alittle to smart for the rest of my characters (he owns everyone, even in 2vs1 matches).please help if ya can, thanx.



Offline shootYr.

  • [Magnum]
  • Contributor
  • ****
  • Posts: 1112
  • Last Login:September 11, 2012, 07:27:16 PM
  • What're you gonna do to me?...
Re: editing A.I.
« Reply #1 on: September 10, 2007, 12:45:24 PM »
You have to alter all their [State -1] . Usually A.I Is Coded twice in the CMD meaning the commands are defined twice.

[attachment deleted by admin]

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #2 on: September 11, 2007, 12:11:11 PM »
I don't know what that means................but I did fiddle around with the God Ken cmd file! I'm trying to make it fight more like P.O.T.S. Ryu, and/or ShinAkuma!! But still God Ken fights sloppy!  Could someone please tell me where I went wrong?
« Last Edit: September 11, 2007, 02:39:45 PM by ColdCuts13 »

Coming Soon............I hope!

Offline Epic Win Man

  • Forum Member
  • ***
  • Posts: 296
  • Last Login:August 03, 2017, 10:28:49 PM
Re: editing A.I.
« Reply #3 on: September 11, 2007, 06:59:31 PM »
so, wait... [state -1] signifies that that is AI?
hmmm...

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: editing A.I.
« Reply #4 on: September 12, 2007, 09:36:31 AM »
so, wait... [state -1] signifies that that is AI?

No, the state -1, is the states that are on the command, the AI, can be coded in the negatives statedef (-1 , -2, and -3)

To edit the AI, you have to search, for codes that look like these

[state -2] ;
type = ChangeState
triggerall = var(X) = 1
trigger1 = put a condition here
value = 200

When the var is activated, all the AI starts to work, all  the other triggers are conditions that would make the desired state to activate, the state that you are programing is the state that is in the value, in this case, the statedef 200


sig made by shullbocka

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #5 on: September 12, 2007, 10:07:34 AM »
so, wait... [state -1] signifies that that is AI?

No, the state -1, is the states that are on the command, the AI, can be coded in the negatives statedef (-1 , -2, and -3)

To edit the AI, you have to search, for codes that look like these

[state -2] ;
type = ChangeState
triggerall = var(X) = 1
trigger1 = put a condition here
value = 200

When the var is activated, all the AI starts to work, all  the other triggers are conditions that would make the desired state to activate, the state that you are programing is the state that is in the value, in this case, the statedef 200

I found one for God Ken and it looks like this.....................

[State -2: VarAdd]
type = VarAdd
trigger1 = (Var(0) > 0)
var(0) = -1
ignorehitpause = 1

All the other -2 states involve parrying!

What needs to be changed in this one?

Coming Soon............I hope!

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: editing A.I.
« Reply #6 on: September 12, 2007, 10:27:21 AM »
so, wait... [state -1] signifies that that is AI?

No, the state -1, is the states that are on the command, the AI, can be coded in the negatives statedef (-1 , -2, and -3)

To edit the AI, you have to search, for codes that look like these

[state -2] ;
type = ChangeState
triggerall = var(X) = 1
trigger1 = put a condition here
value = 200

When the var is activated, all the AI starts to work, all  the other triggers are conditions that would make the desired state to activate, the state that you are programing is the state that is in the value, in this case, the statedef 200

I found one for God Ken and it looks like this.....................

[State -2: VarAdd]
type = VarAdd
trigger1 = (Var(0) > 0)
var(0) = -1
ignorehitpause = 1

All the other -2 states involve parrying!

What needs to be changed in this one?

ColdCuts 13, search for a changestate that in the triggerall, have a variable, those are the AI codes


sig made by shullbocka

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #7 on: September 12, 2007, 10:58:15 AM »
so, wait... [state -1] signifies that that is AI?

No, the state -1, is the states that are on the command, the AI, can be coded in the negatives statedef (-1 , -2, and -3)

To edit the AI, you have to search, for codes that look like these

[state -2] ;
type = ChangeState
triggerall = var(X) = 1
trigger1 = put a condition here
value = 200

When the var is activated, all the AI starts to work, all  the other triggers are conditions that would make the desired state to activate, the state that you are programing is the state that is in the value, in this case, the statedef 200

I found one for God Ken and it looks like this.....................

[State -2: VarAdd]
type = VarAdd
trigger1 = (Var(0) > 0)
var(0) = -1
ignorehitpause = 1

All the other -2 states involve parrying!

What needs to be changed in this one?

ColdCuts 13, search for a changestate that in the triggerall, have a variable, those are the AI codes

Hmmmmm

I found some in the -2 state.............they look like this.............

[State -2, NullState]
type = Null
trigger1 = !Time && Var(0) = 0
trigger1 = Var(0) := 3
trigger1 = command = "Fwd" && StateNo = 20 ^^ !command = "holddown" && (stateno = [10,11])
trigger2 = !command = "holdfwd" && !command = "holddown" && Var(1) = 1
trigger2 = Var(1) := 0
ignorehitpause = 1

[State -2, HitOverride(Stand Parry)]
type = HitOverride
triggerall = !StateType = A && Ctrl && Var(0) > 0
trigger1 = !command = "holddown" && !command = "holdback"
Attr = SA, AA, AP
slot = 0
stateno = 997
ignorehitpause = 1

[State -2 HitOverride(Crouch Parry)]
type = HitOverride
triggerall = !StateType = A && Ctrl && Var(0) > 0
trigger1 = !command = "holdfwd" && !command = "holdback"
Attr = C, AA, AP
slot = 0
stateno = 998
ignorehitpause = 1

[State -2 HitOverride(Air Parry)]
type = HitOverride
triggerall = stateno = 50 || stateno = 52 && stateno = 999 && Var(0) > 0
trigger1 = !command = "holddown" && !command = "holdback" && command = "holdfwd"
Attr = SCA, AA, AP
slot = 0
stateno = 999
ignorehitpause = 1

Want me to keep and change them or............delete them?

Coming Soon............I hope!

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: editing A.I.
« Reply #8 on: September 12, 2007, 11:11:44 AM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack


sig made by shullbocka

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #9 on: September 12, 2007, 11:56:22 AM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack

What I'm trying to do is make God Ken fight more like P.O.T.S. Ryu and/or ShinAkuma.

God Ken jumps around doesn't hit that much and gets his @$$ whooped almost every single time! This is why I'm fiddling around with God Ken's cmd! To see how I can make him fight like P.O.T.S chars! I even added an A.I. section in the cmd in hopes that it'll work, but no cigar!

If I send you the cmd of God Ken............would it make a difference or not?

Coming Soon............I hope!

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: editing A.I.
« Reply #10 on: September 12, 2007, 02:00:15 PM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack

What I'm trying to do is make God Ken fight more like P.O.T.S. Ryu and/or ShinAkuma.

God Ken jumps around doesn't hit that much and gets his @$$ whooped almost every single time! This is why I'm fiddling around with God Ken's cmd! To see how I can make him fight like P.O.T.S chars! I even added an A.I. section in the cmd in hopes that it'll work, but no cigar!

If I send you the cmd of God Ken............would it make a difference or not?

The God ken, that I have doesn't have AI, maybe its the same that you have



sig made by shullbocka

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #11 on: September 12, 2007, 02:41:16 PM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack

What I'm trying to do is make God Ken fight more like P.O.T.S. Ryu and/or ShinAkuma.

God Ken jumps around doesn't hit that much and gets his @$$ whooped almost every single time! This is why I'm fiddling around with God Ken's cmd! To see how I can make him fight like P.O.T.S chars! I even added an A.I. section in the cmd in hopes that it'll work, but no cigar!

If I send you the cmd of God Ken............would it make a difference or not?

The God ken, that I have doesn't have AI, maybe its the same that you have



Maybe you're right! The author of God Ken must have messed it up when he made the cmd! If it's not that file it might be the in the cns file or something. If only I can ask P.O.T.S. themselves if they can get the guys permission to update God Ken!!

Coming Soon............I hope!

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: editing A.I.
« Reply #12 on: September 12, 2007, 02:45:03 PM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack

What I'm trying to do is make God Ken fight more like P.O.T.S. Ryu and/or ShinAkuma.

God Ken jumps around doesn't hit that much and gets his @$$ whooped almost every single time! This is why I'm fiddling around with God Ken's cmd! To see how I can make him fight like P.O.T.S chars! I even added an A.I. section in the cmd in hopes that it'll work, but no cigar!

If I send you the cmd of God Ken............would it make a difference or not?

The God ken, that I have doesn't have AI, maybe its the same that you have



Maybe you're right! The author of God Ken must have messed it up when he made the cmd! If it's not that file it might be the in the cns file or something. If only I can ask P.O.T.S. themselves if they can get the guys permission to update God Ken!!

use have an old verson of god ken the new verson has his A.I use should look in his.def it says missing A.I
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline ColdCuts13

  • Initiate
  • **
  • Posts: 61
  • Last Login:February 01, 2015, 03:50:58 PM
    • Email
Re: editing A.I.
« Reply #13 on: September 12, 2007, 02:55:28 PM »
Coldcuts13, the code that you put is a hit override, it makes that when the opponent attack if you press fwrd, he blocks the attack

What I'm trying to do is make God Ken fight more like P.O.T.S. Ryu and/or ShinAkuma.

God Ken jumps around doesn't hit that much and gets his @$$ whooped almost every single time! This is why I'm fiddling around with God Ken's cmd! To see how I can make him fight like P.O.T.S chars! I even added an A.I. section in the cmd in hopes that it'll work, but no cigar!

If I send you the cmd of God Ken............would it make a difference or not?

The God ken, that I have doesn't have AI, maybe its the same that you have



Maybe you're right! The author of God Ken must have messed it up when he made the cmd! If it's not that file it might be the in the cns file or something. If only I can ask P.O.T.S. themselves if they can get the guys permission to update God Ken!!

use have an old verson of god ken the new verson has his A.I use should look in his.def it says missing A.I

No wonder this God Ken is crap!! Does any here know of any coders who "can" breath life to this crappy God Ken?

Coming Soon............I hope!

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

Classic VS : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal