Infinity MUGEN Team
IMT Main => M.U.G.E.N Help => Topic started by: I.E.T. Arcade on December 25, 2015, 08:26:15 PM
-
So I created a command list menu whilst pausing. problem is the A.I can access it as well. How do I prevent the A.I from accessing the pause menu any help would be greatly appreciated.
-
just put a Ai check at the star of the state. If so, make it change for another state.
-
just put a Ai check at the star of the state. If so, make it change for another state.
That's far too vague to get anything from. :|
Can you explain in detail please? Thanks in advance
-
I am assuming very strongly that you haven't done this by pressing the pause key on your keyboard and it is instead of taunt? Ie you press start to access said menu. With that being the case this is pretty easy to sort out (and is what Illu said)
when you press whatever key you use to access the pause menu, probably start you include the following
triggerall = command = "start" && ailevel = 0
That means that while AI is not active, or in other words you're human, the pause menu is not accessable. This also assumes mugen 1.0+. In winmugen you would do the equivalent but use your AI variable instead. The only issue with that is your AI variable will often times not activate straight away and the AI can still access said menu until it kicks in.
-
Exactly.
-
I am assuming very strongly that you haven't done this by pressing the pause key on your keyboard and it is instead of taunt? Ie you press start to access said menu. With that being the case this is pretty easy to sort out (and is what Illu said)
when you press whatever key you use to access the pause menu, probably start you include the following
triggerall = command = "start" && ailevel = 0
That means that while AI is not active, or in other words you're human, the pause menu is not accessable. This also assumes mugen 1.0+. In winmugen you would do the equivalent but use your AI variable instead. The only issue with that is your AI variable will often times not activate straight away and the AI can still access said menu until it kicks in.
Thanks, I have created a changestate with the command "start" assigned to bring up the command list. However Since I'm still using old winmugen A.I variables I guess that means I will have to replace all the variables in my cmd and cns and convert it to AILevel right?
-
If you are using Mugen 1.0 or 1.1 there is no reason you should still use the old winmugen method, since its bugged.
AiLevel works perfectly and you don't need that tons of commands in the cmd.
-
It is also instant and you do not get times when the AI can access stuff you don't want it to while you wait for the activation to kick in. No false positives either which is possible to occur with both the xor method and even the impossible command one if you buttonmash during a superpause.
Finally, it can be easily modified for difficulty settings rather than a config file which is the old method.
-
Much thanks to the both of you. It works and there is also a very noticeable difference in the A.I.