collapse

Author Topic: A.I.  (Read 720 times)

0 Members and 1 Guest are viewing this topic.

Offline CosmicToxin

  • Initiate
  • **
  • Posts: 148
  • Country: United States us
  • Last Login:March 14, 2015, 02:46:04 PM
    • Email
A.I.
« on: September 17, 2013, 05:24:37 PM »
How can i make the ai of a character stronger?



Offline Macaulyn97

  • Infinite Loyalist
  • *****
  • Posts: 2258
  • Country: Brazil br
  • Last Login:February 04, 2024, 04:22:53 PM
    • Macaulyn
    • Macaulyn97's Channel
    • Email
Re: A.I.
« Reply #1 on: September 17, 2013, 10:01:26 PM »
You must download AI patches for them. Not all chars have it, but you can find it for lots of them.

Offline Spidermew

  • IMT Content Architect
  • *
  • Posts: 6059
  • Country: United States us
  • Last Login:January 16, 2024, 10:15:50 PM
  • Wubba lubba dub-dub
    • Skype - spidermew@aol.com
    • SpiderMew's House of Stuff
    • Email
Re: A.I.
« Reply #2 on: September 17, 2013, 10:13:17 PM »
You must download AI patches for them. Not all chars have it, but you can find it for lots of them.

That is not a helpful answer. People who make ai patches know how to edit the code of a character to have a more aggressive or smarter ai, this is what he wants to know how to do. (potentially to make ai patches of his own if you get my drift, besides not all characters have ai patches, like one's not publicly released yet)

I don't know but hopefully someone soon will give you a good answer.
What I would do is find a character, who happens to also have an AI patch to make them harder or whatever, and compare differences in the code or commands of the patch's files vs the original.

Offline Macaulyn97

  • Infinite Loyalist
  • *****
  • Posts: 2258
  • Country: Brazil br
  • Last Login:February 04, 2024, 04:22:53 PM
    • Macaulyn
    • Macaulyn97's Channel
    • Email
Re: A.I.
« Reply #3 on: September 17, 2013, 10:25:02 PM »
That is not a helpful answer. People who make ai patches know how to edit the code of a character to have a more aggressive or smarter ai, this is what he wants to know how to do. (potentially to make ai patches of his own if you get my drift, besides not all characters have ai patches, like one's not publicly released yet)
I'm not a clairvoyant to know IF he wants to make AI patches or need them. So, I don't think its up to you to say if my answer is helpful or not.

Offline Spidermew

  • IMT Content Architect
  • *
  • Posts: 6059
  • Country: United States us
  • Last Login:January 16, 2024, 10:15:50 PM
  • Wubba lubba dub-dub
    • Skype - spidermew@aol.com
    • SpiderMew's House of Stuff
    • Email
Re: A.I.
« Reply #4 on: September 17, 2013, 11:57:59 PM »
I'm not a clairvoyant to know IF he wants to make AI patches or need them. So, I don't think its up to you to say if my answer is helpful or not.

You don't need to be clairvoyant to know. Just look how the post is written for intent. He asked how he could make the AI stronger, instead of ways to make it stronger. Besides it would be more likely for someone to ask for a patch for a specific character then to use personalized generalizations.   

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: A.I.
« Reply #5 on: September 18, 2013, 01:45:05 AM »
AI patches often suck and break the character (a human cannot do what the AI can) simply to make it stronger.

Making AI requires little to no intelligence and is 95% about testing and about 5% trigger knowledge.

First step is taking a character that you KNOW has AI, regardless of strength and taking a look at the code that runs it. Mostly it's "Come up with a situation, match the triggers to that situation, apply a bit of random and then pick what you want to happen"

For example, assuming hadouken is state 1000, here's a sample of bad AI code for you

[State -1]
type = changestate
triggerall = ailevel > 0 && statetype != A
trigger1 = ctrl && p2dist X> 200 && p2dist Y> -90
trigger1 = numproj1000 = 0 && random < 90
value = 1000

There, crappy AI changestate. And tbh, that's all it is. P2dist, p2stateno sometimes, and any moves you want to combo off. Making the AI stronger is simply a case of accounting for everything p2 can do EVER while allowing no time to counter.

Offline CosmicToxin

  • Initiate
  • **
  • Posts: 148
  • Country: United States us
  • Last Login:March 14, 2015, 02:46:04 PM
    • Email
Re: A.I.
« Reply #6 on: September 18, 2013, 12:04:42 PM »
AI patches often suck and break the character (a human cannot do what the AI can) simply to make it stronger.

Making AI requires little to no intelligence and is 95% about testing and about 5% trigger knowledge.

First step is taking a character that you KNOW has AI, regardless of strength and taking a look at the code that runs it. Mostly it's "Come up with a situation, match the triggers to that situation, apply a bit of random and then pick what you want to happen"

For example, assuming hadouken is state 1000, here's a sample of bad AI code for you

[State -1]
type = changestate
triggerall = ailevel > 0 && statetype != A
trigger1 = ctrl && p2dist X> 200 && p2dist Y> -90
trigger1 = numproj1000 = 0 && random < 90
value = 1000

There, crappy AI changestate. And tbh, that's all it is. P2dist, p2stateno sometimes, and any moves you want to combo off. Making the AI stronger is simply a case of accounting for everything p2 can do EVER while allowing no time to counter.
Thanks the character already had an ai but i just changed the values and it did get stronger so thanks for your help :thumbsup:

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