Infinity MUGEN Team
IMT Main => M.U.G.E.N Help => Topic started by: CosmicToxin on September 17, 2013, 05:24:37 PM
-
How can i make the ai of a character stronger?
-
You must download AI patches for them. Not all chars have it, but you can find it for lots of them.
-
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.
-
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.
-
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.
-
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.
-
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: