collapse

Author Topic: Tired of cheap AI? How to remove AI codes  (Read 11498 times)

0 Members and 1 Guest are viewing this topic.

Offline TehDemon

  • Initiate
  • **
  • Posts: 162
  • Last Login:December 23, 2010, 09:04:44 PM
Tired of cheap AI? How to remove AI codes
« on: August 23, 2007, 08:31:07 PM »
"Evil Ken is cheap" will no longer apply. Here is a tutorial on how to remove AI codes (I'll use Lei-Lei by POTS as an example,and yes I know she isn't cheap).

1) Open up the .CMD file and scroll down until you find somehting like this:
;===========================================================================
;=================================<A.I.>====================================
;===========================================================================

[State -1, grounddefend]
etc.

2) All you need to do is simply remove the entire AI section by highlighting and deleting it.

3) Depending on the character, there is one thing you need to remove in one of the .CNS (or.ST) files in order for them to run fully on mugen default AI.
in the case of Lei-Lei, open up Common.st in the states folder, scroll down to the -3 states and you may see this:
[State -3, AIactivation]
etc. etc.

just delete this code, save the file, and your done

now you can make that cheap prick who the simple KFM could not beat your personal slave ;)





No, i'm not the DCvsMarvel beta tester named Demon, I'm "Teh"demon, and i'm much worse :P

Offline OrwellianDawn

  • Forum Member
  • ***
  • Posts: 223
  • Last Login:December 25, 2009, 01:04:23 AM
Re: Tired of cheap AI? How to remove AI codes
« Reply #1 on: August 23, 2007, 08:45:49 PM »
Well, Neo, you've finally contributed something of use to the "community." Happy now?

Offline TehDemon

  • Initiate
  • **
  • Posts: 162
  • Last Login:December 23, 2010, 09:04:44 PM
Re: Tired of cheap AI? How to remove AI codes
« Reply #2 on: August 23, 2007, 08:47:02 PM »
I'm not Neo, check your PM's in a minute
No, i'm not the DCvsMarvel beta tester named Demon, I'm "Teh"demon, and i'm much worse :P

Offline Savage Henry

  • Infinity Regular
  • ****
  • Posts: 1086
  • Last Login:April 07, 2016, 10:51:40 AM
  • Scag Baron.
Re: Tired of cheap AI? How to remove AI codes
« Reply #3 on: August 27, 2007, 03:31:16 PM »
tehdemon check ur pm

Offline nick09

  • Contributor
  • ****
  • Posts: 3481
  • Last Login:December 21, 2011, 10:16:38 PM
  • Avatar Credit to CD.
    • Nick09's creations
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #4 on: August 27, 2007, 03:40:04 PM »
"Evil Ken is cheap" will no longer apply. Here is a tutorial on how to remove AI codes (I'll use Lei-Lei by POTS as an example,and yes I know she isn't cheap).

1) Open up the .CMD file and scroll down until you find somehting like this:
;===========================================================================
;=================================<A.I.>====================================
;===========================================================================

[State -1, grounddefend]
etc.

2) All you need to do is simply remove the entire AI section by highlighting and deleting it.

3) Depending on the character, there is one thing you need to remove in one of the .CNS (or.ST) files in order for them to run fully on mugen default AI.
in the case of Lei-Lei, open up Common.st in the states folder, scroll down to the -3 states and you may see this:
[State -3, AIactivation]
etc. etc.

just delete this code, save the file, and your done

now you can make that cheap prick who the simple KFM could not beat your personal slave ;)





ummm you just put ";" in step 2 before each line that way you don't have to delete it.

Offline Savage Henry

  • Infinity Regular
  • ****
  • Posts: 1086
  • Last Login:April 07, 2016, 10:51:40 AM
  • Scag Baron.
Re: Tired of cheap AI? How to remove AI codes
« Reply #5 on: August 27, 2007, 03:42:03 PM »
will some1 do this for me? i cant even FIND the cmd.  :'( :'( :'(

Offline TehDemon

  • Initiate
  • **
  • Posts: 162
  • Last Login:December 23, 2010, 09:04:44 PM
Re: Tired of cheap AI? How to remove AI codes
« Reply #6 on: August 27, 2007, 05:09:14 PM »
No, i'm not the DCvsMarvel beta tester named Demon, I'm "Teh"demon, and i'm much worse :P

Offline Epic Win Man

  • Forum Member
  • ***
  • Posts: 296
  • Last Login:August 03, 2017, 10:28:49 PM
Re: Tired of cheap AI? How to remove AI codes
« Reply #7 on: August 31, 2007, 08:16:40 PM »
Wow, thank!
No i dont need so many "order=0" characters in my roster.  ;D
hmmm...

Offline Tenspeed

  • Infinity Faithful
  • ****
  • Posts: 2459
  • Last Login:February 23, 2014, 07:33:54 PM
  • I f**k*** <3 Capcom!
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #8 on: August 31, 2007, 11:24:50 PM »
I find it easier to make a copy of the whole .cmd, name the duplicate something like "evilken_noai.cmd" after removing teh ai, and then in the def, list both with a ";" in front of one.

Offline shootYr.

  • [Magnum]
  • Contributor
  • ****
  • Posts: 1112
  • Last Login:September 11, 2012, 07:27:16 PM
  • What're you gonna do to me?...
Re: Tired of cheap AI? How to remove AI codes
« Reply #9 on: August 31, 2007, 11:28:22 PM »
And You should remove commands like

[Command]
name = "Cpu_1" or "A.I7"
command = D, D, D, D, D, D


[Statedef -1]
Type - VarSet
trigger1 = command = "Cpu_1"
value = var(58) = 1

Offline MaverickZr0

  • S-Rank
  • Contributor
  • ****
  • Posts: 2462
  • Country: United States us
  • Last Login:November 25, 2016, 02:18:47 AM
Re: Tired of cheap AI? How to remove AI codes
« Reply #10 on: August 31, 2007, 11:58:45 PM »
Won't this erase the characters entire AI?

Offline Epic Win Man

  • Forum Member
  • ***
  • Posts: 296
  • Last Login:August 03, 2017, 10:28:49 PM
Re: Tired of cheap AI? How to remove AI codes
« Reply #11 on: September 01, 2007, 12:34:16 AM »
Won't this erase the characters entire AI?
It will remove custom AI, yes, but the computer controlled characters can still function just fine, but characters like, say, Dragonclaw will be much less difficult
hmmm...

Offline Savage Henry

  • Infinity Regular
  • ****
  • Posts: 1086
  • Last Login:April 07, 2016, 10:51:40 AM
  • Scag Baron.
Re: Tired of cheap AI? How to remove AI codes
« Reply #12 on: September 23, 2007, 06:10:44 PM »
TEHDEMON CHECK PM AGAIN

Offline KPT25

  • The Professional
  • Chief News Reporter
  • *
  • Posts: 6044
  • Country: Argentina ar
  • Last Login:October 15, 2021, 10:01:22 AM
  • Infinity News Reporter and Journalist
    • My youtube channel
Re: Tired of cheap AI? How to remove AI codes
« Reply #13 on: September 23, 2007, 07:22:39 PM »
I just leave the chars AI like that because i`m eager to the challenge,why ruin a good job made by ppl like Pots or Don Drago,just because you cannot beat them?
And You should remove commands like

[Command]
name = "Cpu_1" or "A.I7"
command = D, D, D, D, D, D


[Statedef -1]
Type - VarSet
trigger1 = command = "Cpu_1"
value = var(58) = 1


This pretty much explains everything
But is there anyway to arrange the AI for not being cheap instead of completely remove it?Because i`d like to have a Cap Marvel that doesn`t spam hyper to the infinite due to the fact that because of his AI,his hypers don`t use power gauge(free hypers)

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Re: Tired of cheap AI? How to remove AI codes
« Reply #14 on: September 23, 2007, 08:39:24 PM »
will some1 do this for me? i cant even FIND the cmd.  :'( :'( :'(


LMAO, that was Funny how he answered it.

Offline Retire4ever!!!

  • Initiate
  • **
  • Posts: 127
  • Last Login:June 09, 2010, 11:06:45 PM
Re: Tired of cheap AI? How to remove AI codes
« Reply #15 on: November 20, 2007, 01:53:08 AM »
This also works actually:
Open mugen.cfg, find this section
Code: [Select]
[Arcade]
 ;This option allows the AI to input commands without
 ;having to actually press any keys (in effect, cheating)
 ;Set to 1 to enable, 0 to disable. Enabling this option
 ;can give the illusion of a smarter AI.
AI.Cheat = 1
Change to this:
Code: [Select]
;This option allows the AI to input commands without
 ;having to actually press any keys (in effect, cheating)
 ;Set to 1 to enable, 0 to disable. Enabling this option
 ;can give the illusion of a smarter AI.
AI.Cheat = 0

Offline nick09

  • Contributor
  • ****
  • Posts: 3481
  • Last Login:December 21, 2011, 10:16:38 PM
  • Avatar Credit to CD.
    • Nick09's creations
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #16 on: November 20, 2007, 08:05:14 PM »
of course that is only for the archade mode. ;*))

Offline Valtiel

  • Initiate
  • **
  • Posts: 10
  • Last Login:December 11, 2012, 01:53:37 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #17 on: April 24, 2009, 03:57:52 PM »
K so I'm trying to remove the impossibly difficult AI from Muteki's Justice...but it's not set up the way anyone's described it...I have removed the AI in the CMD but now it won't run...there's more code I need to remove but I cannot find it for the life of me...little help?

Offline Malivictus

  • Initiate
  • **
  • Posts: 63
  • Last Login:October 21, 2018, 03:13:50 PM
  • know my name and Fear it I am Malivictus !!!
Re: Tired of cheap AI? How to remove AI codes
« Reply #18 on: April 24, 2009, 04:13:15 PM »
No you don't EVER remove the AI from the CMD you just turn it off in the config as shown downside is it effects all of your chars IE it makes them  a little dumb BUT they sure do throw a lot more punch and kicks ( from a SF3 stance )

But there is another way,how I hear you cry ??

contact a AI coder and have them do a var AI IE look at the AI ramp levels and change them so the longer you are in things like Grinder AKA Survival mode so if you last say 20 turns the 21st turn the AI has gone up 21% from the first person you beat.

It makes it look like the game is learning from you as you fight but the Truth is the Game just gets harder and harder or you can change the Diff in the Game in the options from 4 ( yawn ) to say 8/9 ( now we are in blister land ) for me that is lol or in your case 1/2 for a more easier time or just to play with some friends..

I hope I helped you.

Mali.
U is a letter NOT as Word....

Offline Playing Enemy

  • Portrait & Screenpack Creator
  • Contributor
  • ****
  • Posts: 911
  • Last Login:December 26, 2018, 03:59:17 PM
  • THE HARD GOODBYE
    • Royalty7 - The best decision I ever made
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #19 on: April 24, 2009, 04:27:04 PM »
Yeah I used to do this when I first started playing mugen, but honestly it kind of sucks in my opinion no offense. It makes most opponents either block the whole time or hardly at all, and only like a total of four characters will actually use hypers on you when you fight them such as Shin Gouki by POTS. For any true 2d fighting game fan, it's better to have a good challenge than just a bunch of blocking drones that don't fight back. You can adjust the ai ramp though which is located under the ai cheat section in the cfg. I did that to mine and I was able to make opponents not as challenging and they all still use hypers, but it's not nearly as cheap.


        "Maybe I am what they say I am.  A maniac...a psycho killer."

Offline Valtiel

  • Initiate
  • **
  • Posts: 10
  • Last Login:December 11, 2012, 01:53:37 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #20 on: April 24, 2009, 05:32:38 PM »
See the thing is I like a good challenge too, and as much as I'm not a 2D fighter whiz I'm no slouch either...just that these GG characters have the kind of AI where they just let loose on you and use all these tricky little things like landing on the opposite side of you after EVERY jump. It's the kind of AI that isn't really fun to fight...it's just frustrating. Also the moves have been modified to do like 2x the damage, so they own you in like 2 combos...I've managed to kinda fix that but now playing as Justice is no fun because of the wacky damage balance. I'm using Justice as my boss character, so as much as I want her to be difficult...this is just no fun. I don't want a blocking machine, just want the AI to be a little more reasonable. That way if I want it to be that hard I'll just turn up the difficulty...

Offline chrisshervino

  • New Member
  • *
  • Posts: 6
  • Last Login:December 16, 2018, 05:57:24 AM
Re: Tired of cheap AI? How to remove AI codes
« Reply #21 on: August 18, 2011, 09:15:14 PM »
much appreciated thanks duder  :)  :w00t:

Offline prnzokoshiro

  • Initiate
  • **
  • Posts: 68
  • Last Login:July 08, 2015, 12:51:10 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #22 on: September 12, 2011, 05:47:10 PM »
Well, ok for me (hi I'm prnzo I'm kind of a lurker who doesn't read too many posts, but I'll be on the right medications eventually so that I can be more active, so...  hi!), right today I have been fed up to the point where I want to change some AI, especially if it's a char I've edited.  As said above, I'd rather have a challenge than a punching bag, but some of these are ridiculous and gratuitous. 

So, looking at the AI coding, as I do a bit of coding to add moves here and there with what the char has, it seems like if you changed the percentages, it would make the AI do the possibly cheap patterns less often? I haven't tested this yet, but it seems logical, although those algorithms get kinda complicated to interpret for me, I don't know any higher levels of math formally... or would that just have another cheap pattern replace its consistency?

I'm goin for, ideally, the AIs in X-Men: Second Coming... which to me is near perfect.  So is anybody here able to explain how it generally works, any tips on how I can casually edit it or can I just adjust the severity like I theorized or do we have to make too-cheap-to-keep AIs braindead by deleting/commenting the AI code?

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email

Offline Toxin97

  • Initiate
  • **
  • Posts: 50
  • Last Login:March 08, 2024, 10:34:25 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #24 on: May 31, 2012, 06:18:53 PM »
I can't remove Makoto's ai can someone please remove the ai for me. [-O<




Please
« Last Edit: May 31, 2012, 07:16:37 PM by Toxin97 »

Offline Toxin97

  • Initiate
  • **
  • Posts: 50
  • Last Login:March 08, 2024, 10:34:25 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #25 on: May 31, 2012, 07:17:20 PM »
I also tried aceys method and it didnt work

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Tired of cheap AI? How to remove AI codes
« Reply #26 on: June 02, 2012, 09:13:17 PM »
This is not a removal method, but it's important to understand why some AI's are worse or more spammy than others. A good AI should not be predictable. It should not overuse the most awesome thing in the characters arsenal and should attempt more than one or two combos. Dragonclaws AI for example is pretty terrible (character awesome, AI junk)

The primary reason for ANY AI being bad is that the person making it has not judged random correctly.

Random takes values from 0-999. Random is recalculated EVERY time you call it

trigger1 = random < 200
trigger2 = random = [200,400]
trigger3 = random  > 400

All 3 of those could fail on a single tick as random will be looked at individually for each trigger. You may read it as if that means "trigger every tick" but it won't. It could pull 800 for the first, 100 for the second and 2 for the 3rd. If anyone is unsure about that, place the following in state -2

[state -2]
type = displaytoclipboard
trigger1 = 1
params = random, random, random
text = "%d %d %d"

and watch how all 3 values are totally different

If random is HIGHER than 100 as a trigger, moves will occur very very often, this cuts down on holes, and chances for the AI to block as well as it attacking too much. To explain this with terrible probability math.

Random < 500. That is a 50% chance on a single tick. It is however BASICALLY a 100% chance over 2 ticks. So that move will be done every 2 ticks most likely.

On random < 100, that's once every 10 ticks, bit more reasonable, you really want to drop below random < 100 to get truly random AI which changes what it does and reduces the spam.

So if you enter the .cmd and look through the AI code and see LOTS of randoms with wide ranges of occurence, the AI is most likely spammy and not very "intelligent" but rather it will spam you with some of the tougher moves and whore out the super which is listed first.

Offline Toxin97

  • Initiate
  • **
  • Posts: 50
  • Last Login:March 08, 2024, 10:34:25 PM
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #27 on: June 02, 2012, 09:44:22 PM »
Thanks but that dosent really help and im a little confused <_<|...|

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Tired of cheap AI? How to remove AI codes
« Reply #28 on: June 02, 2012, 11:03:46 PM »
Depends how the AI was done. With 1.0 being out there are 3-4 ways of implementing AI now over everything you might have in game.

If the person who coded it did so without an "activation" requirement but simply put AIlevel onto a load of changestates, you have a lot of nulling ahead of you. If they activate a variable with AI level, you have less. If they did it via the helper method, that's difficult to remove, and as apparently what acey posted didn't work, probably not impossible commands either.

www.pastebin.com copy the contents of the .cmd in there, perhaps we can solve it that way.

Offline Williamhit

  • WilliamhitBG
  • New Member
  • *
  • Posts: 1
  • Country: Western Sahara eh
  • Last Login:July 29, 2017, 02:36:46 AM
  • Hi! I'm new!!
    • Skype - WilliamhitBG
    • The Wolf Wonderful Hack
    • Email
Re: Tired of cheap AI? How to remove AI codes
« Reply #29 on: July 29, 2017, 02:36:57 AM »
Stroke of good luck’s faster, easier urge calibrator All-in-one implement lets less-experienced techs calibrate like a pro. Not just anybody can knock off outstanding pressure calibrations. And singularly with today’s exceptionally immutable, literatim instrumentation, any gist in the applied calibration pressure due to small leaks or enthuse c intensify idiosyncrasies can issue in doing more wound… Full Narrative
 
The victim against zero-fault software systems Kindest practices after implementing and auditing the togetherness of data and judgement systems across accounting, marketing, engineering, manufacturing, deliver restraint running and buyer mending systems. Any crowd undergoing digitization and adopting the Industrial Internet of Things (IIoT) may event up to a 10-fold increase in bedlam, delays, failures and expense. The radicel prime mover will be faith on interactions quantity a suite of computer… Wide Exclusive
 
"As a pty we are making a commitment to lead our markets in care past delivering the most secure devices in our sector," said Antonio Lucio, global chief marketing and communications commissioner at HP. "T'he Wolf' is routine one. As our customers reinvent their businesses the wolf cheats exchange for the 21st century, it is required that we reinvent how we talk with them close by security."
 
In the same breath registered, you can: - Deliver assign to additional at liberty articles each month - Elucidation on articles and featured artistic in the works - Have our curated newsletters delivered to your inbox Sign in Now Through registering you assent to to our privacy game plan, terms & conditions and to earn occasional emails from Ad Age. You may unsubscribe at any time. Are you a publish subscriber? Stimulate your account.
 
Cash register conditions to approach access to all of our features. Ages registered and logged in, you will be adept to promote to this plat through submitting your own significance or replying to existing content. You'll be expert to customize your rake it in, accept famous for points as a return fitting for submitting content, while also communicating with other members via your own not for publication inbox, addition much more!
 
Benefits of upgrading to become more gen may with no uphold the cost Operation and support organizations shouldn’t take that they can no more than rivet our “things” from the form century and profit the benefits. Following a fleeting “swoop-down” to speedily remedy some prepare furnishings issues, a plant qualified strange behavior of a censorious valve—critical because it provided undulate sway in support of a immense compressor. No lone was well off celebrations with… Full Story New HMIs are multiplying, diversifying, and gaining conformableness Yokogawa Corp., eSimulation Inc. form partnership Control 2017 Readers' Choice Awards ICC 2016: Clarksville utilities automate securely
 
In the case of We-Vibe, which sells remote-control vibrators, the institution agreed to even a score $3.75 million in Trek to patch up a class-action suit alleging that it acclimatized its app to secretly collect word about how customers employed its products. The audio company Bose, meanwhile, is being sued exchange for surreptitiously compiling data—including users’ music-listening histories—from headphones.
 
Today, into your viewing pleasure, I’ve uploaded the pictures and intelligence board threads so you can relive the hack/prank.  Have you seen anything funnier?  If you entertain, I’m all ears…lemme know.
 
Desirable to iOSGods Register now to collect access to all of our features. Split second registered and logged in, you will-power be masterful to support to this site by means of submitting your own import or replying to existing content. You'll be accomplished to customize your profile, receive name points as a pay as a replacement for submitting significance, while also communicating with other members via your own unsocial inbox, plus much more! This news wishes be removed once you bear signed in. Notice In Autograph Up
 
Wireless flowmeter woes Innovations in force conversion and storage be on the cards to unobstructed up our options. Though wireless sensor networks are growing in bring into play and adoption, one of the areas where there are not diverse options is rush measurement. Formerly getting too lively, let me explain. Yes, the ubiquitous orifice panel is still the most extensively euphemistic pre-owned… Detailed Fishing Fresh How can we tack a F&G system? A discernible twist on wireless How power choice be transmitted wirelessly to wireless transmitters Control's 10 most-read articles of January 2017

Offline sky79

  • Contributor
  • ****
  • Posts: 997
  • Country: United States us
  • Last Login:December 19, 2022, 11:31:05 AM
  • Real players and makers share.
Re: Tired of cheap AI? How to remove AI codes
« Reply #30 on: July 29, 2017, 07:39:48 AM »
I'd rather add one.... thanks
Keep Mugen Free

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

SPIDER-VERSE THE AMAZING MUGENSTORY©EPISODE 10 "THE OTHERVERSE" 1080P BY REB3LTV by Rage
[March 27, 2024, 02:44:21 PM]


D2TD VS Showcase Thread by D2TD
[March 24, 2024, 11:09:37 AM]


Tree Of Erebus Stage 1.1 & 1.0 by MatreroG
[March 22, 2024, 08:13:48 AM]


.Batzarro's. Sprite Edits by MatreroG
[March 20, 2024, 07:58:08 AM]


World Heroes 2 Shura Stage by Vegaz by LightFlare
[March 19, 2024, 12:44:28 PM]


MOVED: Prepare your ****! ***** Soldier gets his **** ready in MUGEN! by Rage
[March 18, 2024, 11:08:23 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[March 14, 2024, 01:34:08 PM]


R.I.P. Akira Toriyama "Dragonball Legend" by Rage
[March 12, 2024, 03:01:39 PM]


DBFZ Rocky Field (noon) by jafar
[March 10, 2024, 11:59:23 PM]


World Heroes 2 Neo Geegus Stage by Vegaz by LightFlare
[March 09, 2024, 11:04:56 AM]

* IMT Calendar

March 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