collapse

Author Topic: Wondering about AI  (Read 650 times)

0 Members and 1 Guest are viewing this topic.

Offline STNeish

  • Initiate
  • **
  • Posts: 16
  • Last Login:August 22, 2018, 08:38:05 PM
    • Email
Wondering about AI
« on: July 29, 2018, 01:34:30 AM »
I've been building a roster of characters, and many of them are downright incredible... but nearly unplayable.  Even at lowest level in the first match of the game, they will blitz me before I can even move, bounce me into the air and endlessly juggle me until I'm dead, or do 1232093820982309823 move combos until I'm dead, and there's no way to fight back (I honestly don't know how anyone can enjoy playing against characters like this).

It's just not any fun.

What I wanted to know is two things.

First, is there a way to take away the custom AI of such characters, so they use the default MUGEN AI?
Second, is there a way to make the default AI a BIT better?  As it is, opponents are either laughably weak, or unreasonably impossible.

Any thoughts or advice would be welcome.



Offline STNeish

  • Initiate
  • **
  • Posts: 16
  • Last Login:August 22, 2018, 08:38:05 PM
    • Email
Re: Wondering about AI
« Reply #1 on: August 22, 2018, 08:39:04 PM »
Been about a month, but no replies.
I'll bump this question this once, in case anyone can offer some advice.

 >:(

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12459
  • Country: Brazil br
  • Last Login:April 27, 2024, 11:21:03 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Wondering about AI
« Reply #2 on: August 22, 2018, 09:31:03 PM »
Depends on how the character was coded and which version it was coded for.
If its a Mugen 1.0 chracter, you can look for the trigger "AiLevel" and disable it.
But needs some knowledge about how to code for Mugen.

About the defautl AI, no. You would need to code a custom AI for that.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
Re: Wondering about AI
« Reply #3 on: August 24, 2018, 01:51:58 PM »
beside that suggestion above, you can lurk into the char's CMD and if that char uses winane's AI method, you can   remove any parts of the CMD code like:

 
Code: [Select]

;-| AI |------------------------------------------------------
[Command]
name = "CPU1"
command = U, D, F, U, D, F
time = 0

[Command]
name = "CPU2"
command = U, B, F, U, D, F
time = 0

[Command]
name = "CPU3"
command = U, D, D, U, D, F
time = 0

[Command]
name = "CPU4"
command = U, F, U, B, U, D, F
time = 0

[Command]
name = "CPU5"
command = B, B, B, U, B, U, D, F
time = 0

[Command]
name = "CPU6"
command = U, D, B, U, B, U, D, F
time = 0

[Command]
name = "CPU7"
command = F, F, B, U, B, U, D, F
time = 0

[Command]
name = "CPU8"
command = U, D, U, U, B, U, D, F
time = 0

[Command]
name = "CPU9"
command = F, B, B, U, B, U, D, F
time = 0

[Command]
name = "CPU10"
command = F, F, B, B, U, B, U, D, F
time = 0

and

Code: [Select]

[State -1, Activate AI]
type = Varset
triggerall = var(59) != 1
trigger1 = command = "CPU1"
trigger2 = command = "CPU2"
trigger3 = command = "CPU3"
trigger4 = command = "CPU4"
trigger5 = command = "CPU5"
trigger6 = command = "CPU6"
trigger7 = command = "CPU7"
trigger8 = command = "CPU8"
trigger9 = command = "CPU9"
trigger10 = command = "CPU10"
v = 59
value = 1

Then obviously erase all the controllers like, example:

Code: [Select]
;ATTACKS
[State -1,PUNCH]
type = ChangeState
triggerall = statetype = S
[b]triggerall = (roundstate = 2) && (var(59) != 0)[/b] ;<---- this trigger here means this is an AI controller
trigger1 = random = [0,1300]
trigger1 = p2movetype != A
trigger1 = p2bodydist x <=20                   
trigger1 = statetype =S
value = 200
trigger1 = ctrl = 1
trigger1 = time = 0

Just make a backup before doing it, though.

If it's using different methods, I don't know how to help you.

Or else, you can make those chars weaker by just editing their [Data] values (from their CNS file).
« Last Edit: August 24, 2018, 01:57:55 PM by mulambo »

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

* IMT Calendar

April 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal