YesNoOk
avatar

difficulty levels (Read 1558 times)

Started by Wou Mugen, April 10, 2021, 06:44:03 am
Share this topic:
difficulty levels
#1  April 10, 2021, 06:44:03 am
  • **
  • Progress
  • Divulgação de trabalhos
    • Brazil
how does the options difficulty control work?  it never changes anything about the chars

is there a way to change the character's difficulty with options?
Re: difficulty levels
#2  April 10, 2021, 07:27:32 am
  • ****
    • crepa.neocities.org
It depends how authors code their AI.
Some authors make the AI more or less agressive depending on the difficult you set. An example:

trigger1 = (ctrl || StateNo = 52 || (StateNo = [100,101])) && Random < (100 * (AILevel ** 2 / 64.0))

Random in MUGEN is a number from 0 to 999. Rounded to 1000, 100 out of 1000 is 10%. So, in short:
If the difficult is 8, the AI has a 10% chance to use the move;
If the difficult is 4, the AI has a 2.5% chance to use the move;
and so on.

Also this only works on MUGEN 1.0 or above.
Re: difficulty levels
#3  April 10, 2021, 09:03:02 am
  • **
  • Progress
  • Divulgação de trabalhos
    • Brazil
will it work on ikemen?
Re: difficulty levels
#4  April 11, 2021, 11:28:44 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Would hope so. If the character has no inbuilt ai it affects how often default mugen button mashes.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.