YesNoOk
avatar

Deleting AI? (Read 3209 times)

Started by Nemephosis, October 11, 2009, 09:56:00 pm
Share this topic:
Deleting AI?
#1  October 11, 2009, 09:56:00 pm
  • avatar
  • ***
Hey guys. Saw in another thread someone talking about how people waste time making AI for characters that could be spent improving that character or makingother charactrs, and the MUGEN has difficulty modes for a reason, etc. Seems to hit home with me. Who finds playing against characters that counter everything perfectly any fun? It isn't.

So, what do I have to delete in a character's folder to get rid of the AI?  I've found characters with no programmed AI still do stuff, which is good enough for me.

Thanks.
Re: Deleting AI?
#2  October 19, 2009, 10:29:56 am
  • *
There's no particular file you can just magically delete to remove a character's AI. The AI is usually coded into the same files that make up the character itself.

However, you MIGHT be able to remove a character's AI by disabling the commands that activate the AI. I'm not sure this will work for all characters, but I think it might.

First, open up notepad (in Windows) or another text editor, and from the text editor, open the character's .cmd file. You'll se various commands, each given a name from a line that says name = "movename" (where the name of the move is in quotes).  Then, look through the list of commands until you see ones named with "CPU" or "AI" in the names. These are the AI activation commands. Now press CTRL+F to search the document and go until you can find another occurence of one of the command names.

Now, you should find yoursellf in a block of code in State -1 that looks someting like the following, with triggers for each of the AI commands:

Code:
[State -1, AI]
type = VarSet
triggerall = var(59) != 1
triggerall = RoundState != 3
trigger1  = command = "CPU1"
trigger2  = command = "CPU2"
trigger3  = command = "CPU3"
trigger4  = command = "CPU4"
trigger5  = command = "CPU5"
trigger6  = command = "CPU6"
trigger7  = command = "CPU7"
trigger8  = command = "CPU8"
trigger9  = command = "CPU9"
trigger10  = command = "CPU10"
trigger11  = command = "CPU11"
trigger12  = command = "CPU12"
trigger13  = command = "CPU13"
trigger14  = command = "CPU14"
trigger15  = command = "CPU15"
trigger16  = command = "CPU16"
trigger17  = command = "CPU17"
trigger18  = command = "CPU18"
trigger19  = command = "CPU19"
trigger20  = command = "CPU20"
trigger21  = command = "CPU21"
trigger22  = command = "CPU22"
trigger23  = command = "CPU23"
trigger24  = command = "CPU24"
trigger25  = command = "CPU25"
trigger26  = command = "CPU26"
trigger27  = command = "CPU27"
trigger28  = command = "CPU28"
trigger29  = command = "CPU29"
trigger30  = command = "CPU30"
trigger31  = command = "CPU31"
trigger32  = command = "CPU32"
trigger33  = command = "CPU33"
trigger34  = command = "CPU34"
trigger35  = command = "CPU35"
trigger36  = command = "CPU36"
trigger37  = command = "CPU37"
trigger38  = command = "CPU38"
trigger39  = command = "CPU39"
trigger40  = command = "CPU40"
trigger41  = command = "CPU41"
trigger42  = command = "CPU42"
trigger43  = command = "CPU43"
trigger44  = command = "CPU44"
trigger45  = command = "CPU45"
trigger46  = command = "CPU46"
trigger47  = command = "CPU47"
trigger48  = command = "CPU48"
trigger49  = command = "CPU49"
trigger50  = command = "CPU50"
var(59) = 1

Now, simply put a semicolon (looks like ;) at the front of EVERY line in this block of code, including the first line. This SHOULD keep the custom AI from ever activating. If for some reason this causes problems for your character, simply delete the semicolons you added to return the character to how it was before.
LOOKIT ME! I'M REQUESTING CHARACTERS! ...is that a shotgun?