collapse

Author Topic: Wondering about AI  (Read 656 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: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • 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

Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[Today at 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