collapse

Author Topic: Not variant AI  (Read 358 times)

0 Members and 1 Guest are viewing this topic.

Offline Shadow_p3

  • Initiate
  • **
  • Posts: 106
  • Last Login:October 30, 2022, 08:33:01 PM
  • There are enough heroes... is time for some chaos
    • Email
Not variant AI
« on: February 27, 2013, 04:44:24 PM »
Hi guys.

I'm very terrible at understanding lots about codes in mugen chars and that stuff.

In EmmaFrost char (Eclipse & X-Fields, coded by Wucash & Ryou Win & ZVitor) ther is this entire CNS file: 

Quote
;A.I: (matchno * var(11)) > random
;---------------------------------------------------------------------------
; Nivel progressivo de AI - growing AI level (arcade mode & team modes)
; de (mais burro) 1 à 999 (mais esperto)
; from (dummy) 1 to 999 (smart)

[Statedef 6]
type = U
ctrl = 0

[State 1205, 1]
type = parentVarSet
trigger1 = 1
var(11) = 80 ; <= Olha a.i.!

; parei aqui

[State 8381, 3]
type = DestroySelf
trigger1 = Time = 0

It supossed to change it's AI or something. I want to know if there's a form to make her AI static, I mean just smart AI... I want her to be a real difficult char (the most possible) and I'm supossing this is the way.

Sorry if I'm asking the wrong question or just a stupid one without solution xP

Thanks, any response is apreciated



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Not variant AI
« Reply #1 on: February 28, 2013, 12:53:46 AM »
var(11) sets the difficulty. It's currently set to 80. Set it to 999 and see how hard it is.

Offline Shadow_p3

  • Initiate
  • **
  • Posts: 106
  • Last Login:October 30, 2022, 08:33:01 PM
  • There are enough heroes... is time for some chaos
    • Email
Re: Not variant AI
« Reply #2 on: March 01, 2013, 02:32:10 PM »
Thanks... it doesný work or maybe she is just weak, CVG's Emma Frost wins against this girl =/

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Not variant AI
« Reply #3 on: March 01, 2013, 06:59:08 PM »
My guess is "difficulty" is actually not really what they've done. What will be in the .cmd for the AI changestates will possibly be something like

random < var(11)

Which is terrible because all that happens when random is greater than 150 or so is you get spamming the same move over and over and you end up with worse AI than a lower random value gives you. Alternatively, it's not implemented at all.

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

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Diek Stiekem
[June 25, 2024, 10:25:34 AM]


Golden Axe Returns by striderhiryu201
[June 23, 2024, 04:15:50 PM]


Virtual Bart Science Fair by Rage
[June 21, 2024, 01:25:51 PM]


Turn Battle - Mega Man Robot Master Mayhem by O Ilusionista
[June 18, 2024, 10:11:08 AM]


Classic VS : Cheng / Athena by O Ilusionista
[June 18, 2024, 10:10:26 AM]


Downtown Nekketsu Monogatari Stage Pack by Vegaz by LightFlare
[June 17, 2024, 02:30:12 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]

* IMT Calendar

June 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