collapse

Author Topic: stop AI from accessing pause menu  (Read 714 times)

0 Members and 1 Guest are viewing this topic.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
stop AI from accessing pause menu
« 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.



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: stop AI from accessing pause menu
« Reply #1 on: December 26, 2015, 02:06:57 PM »
just put a Ai check at the star of the state. If so, make it change for another state.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Re: stop AI from accessing pause menu
« Reply #2 on: December 26, 2015, 04:26:58 PM »
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

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: stop AI from accessing pause menu
« Reply #3 on: December 26, 2015, 06:18:55 PM »
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.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: stop AI from accessing pause menu
« Reply #4 on: December 27, 2015, 10:34:25 AM »
Exactly.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Re: stop AI from accessing pause menu
« Reply #5 on: December 27, 2015, 10:53:26 AM »
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?
« Last Edit: December 27, 2015, 11:36:44 AM by No_Face_MAVERIK »

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: stop AI from accessing pause menu
« Reply #6 on: December 27, 2015, 11:57:41 AM »
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.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: stop AI from accessing pause menu
« Reply #7 on: December 27, 2015, 06:46:35 PM »
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.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Re: stop AI from accessing pause menu
« Reply #8 on: December 29, 2015, 12:09:28 PM »
Much thanks to the both of you. It works and there is also a very noticeable difference in the A.I.

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

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]


Classic VS : Athena by ELECTRO
[May 02, 2024, 09:44:33 PM]


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