
Board: M.U.G.E.N Development Help
Code:
trigger1 = random < 120
and change the number to a lower number to reduce the rate at which the AI attacks. If you see something like this:
Code:
random = [0,330]
Just change the number to the right to a lower number, and make sure that number isn't lower than the number on the left (it might not always be 0).
Unfortunately, it seems that this character has a lot of AI command state controllers that don't have a random trigger (which means it attacks as soon as the conditions are right), so you'll need to add it. Just add:
Code:
triggerall = random < 50;Doesn't have to be 50. Best to keep low.
at the beginning of a state controller that doesn't have a random trigger already. The AI commands end at Line 35983.
If you just want to remove the custom AI completely, look for this state controller in the cmd. file (Line 644):
Code:
[State -3]
type = varset
triggerall = var(59) = 0
triggerall = !ishelper
trigger1 = command = "CPU1"||command = "CPU21"
trigger2 = command = "CPU2"||command = "CPU22"
trigger3 = command = "CPU3"||command = "CPU23"
trigger4 = command = "CPU4"||command = "CPU24"
trigger5 = command = "CPU5"||command = "CPU25"
trigger6 = command = "CPU6"||command = "CPU26"
trigger7 = command = "CPU7"||command = "CPU27"
trigger8 = command = "CPU8"||command = "CPU28"
trigger9 = command = "CPU9"||command = "CPU29"
trigger10 = command = "CPU10"||command = "CPU30"
trigger11 = command = "CPU11"||command = "CPU31"
trigger12 = command = "CPU12"||command = "CPU32"
trigger13 = command = "CPU13"||command = "CPU33"
trigger14 = command = "CPU14"||command = "CPU34"
trigger15 = command = "CPU15"||command = "CPU35"
trigger16 = command = "CPU16"||command = "CPU36"
trigger17 = command = "CPU17"||command = "CPU37"
trigger18 = command = "CPU18"||command = "CPU38"
trigger19 = command = "CPU19"||command = "CPU39"
trigger20 = command = "CPU20"||command = "CPU40"
Trigger21= NumHelper(10000+ID)
Trigger21= Helper(10000+ID),var(59)>0
var(59) = 1;2
Set the type to "Null" (without quote marks), and the custom AI should be gone. This SHOULD work (some authors go really far to prevent their character's AI from being disabled).
If you need any more help, I'll be around.