collapse

Author Topic: stop AI from accessing pause menu  (Read 922 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: 12473
  • Country: Brazil br
  • Last Login:September 29, 2024, 01:30:51 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: 12473
  • Country: Brazil br
  • Last Login:September 29, 2024, 01:30:51 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: 12473
  • Country: Brazil br
  • Last Login:September 29, 2024, 01:30:51 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

Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[Today at 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]


Ultimate Balrog + stage by ELECTRO
[October 17, 2024, 05:40:31 AM]


Eternal Lament Stage 1.1 & 1.0 by MatreroG
[October 11, 2024, 05:03:17 PM]


Classic VS : Balrog by ELECTRO
[October 08, 2024, 04:35:53 PM]


IMT Tutorials and Documentation gone? by tehdevil
[October 06, 2024, 04:25:52 AM]


Justice League Themyscira Stage by Vegaz by LightFlare
[October 04, 2024, 08:23:57 AM]


D2TD VS Showcase Thread by D2TD
[September 30, 2024, 12:29:35 AM]


Mugen Of Solitude:Spacestation 1.0 Updated Stage By Supaman2525 & OldGamer by Aumio Khan
[September 29, 2024, 09:12:20 AM]

* IMT Calendar

October 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