A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» CvS Kolin! 5 years of MMV
by Tsuyoi Today at 5:02 pm

» Power Girl by NinjaBrl released for MMV's 5th Birthday
by yolomate Today at 5:01 pm

» Triborg MK WIP Preview by CARNAGE777,LESSARD & Fabry Taz
by NamelessOnlinePlayer Today at 4:45 pm

» MVC1 CROSSOVER MAZEPACK 1 - Releasing! 14 stages included
by Mazemerald Today at 4:33 pm

» SF5 Ken Masters (concept)
by Mazemerald Today at 4:29 pm

» Agent Toxin WIP
by malevka1 Today at 4:18 pm

Special Features at MMV





Chat on MMV w/ Discord


Share | 
 

 Have me alittle

View previous topic View next topic Go down 
AuthorMessage
CBNaroath

avatar

Posts : 10
Join date : 2014-08-19

PostSubject: Have me alittle   September 26th 2014, 6:36 am

I apologize if wrong section,But Have any tutorial that relate to AI?I want to make strong AI character but I don`t know where to start.
Back to top Go down
View user profile
borewood2013

avatar

Posts : 4310
Join date : 2014-08-11

PostSubject: Re: Have me alittle   September 26th 2014, 1:00 pm

Found one MUGEN A.I. tutorial at Elecbyte:
http://elecbyte.com/wiki/index.php/AI

Found one MUGEN A.I. tutorial at MFFA:
http://mugenfreeforall.com/index.php?/topic/3993-ai-tutorial-for-beginners/

Found one MUGEN A.I. tutorial at MFG:
AI Coding Tutorial - http://mugenguild.com/forum/topics/ai-coding-tutorial-108420.0.html

Do you know about MUGEN coding?  It is because MUGEN A.I. work needs you to know MUGEN coding in the first place, and you have to study the target MUGEN character to a great extent if that is not your own made one.

For example, a piece of MUGEN1.0 code for one A.I. super counter move:


Code:
[State -3, super counter move A.I.]
type = ChangeState
value = 7300
triggerall = AIlevel != 0 && roundstate = 2 && (statetype = S || statetype = C) && alive && Power >= 2000
trigger1 = (stateno = 5000 || (stateno = 5001 && Time < 2) || stateno = 5010 || (stateno = 5011 && Time < 2)) && (Anim = [5000,5029])
trigger1 = MoveType = H && HitFall = 0
trigger1 = EnemyNear,HitDefAttr = SCA,NA,SA
trigger1 = Var(5) >= 1000
trigger1 = (P2StateNo != [200,209]) && (P2StateNo != [400,409]) && (P2StateNo != [600,609]) && Random <= 20 && GetHitVar(HitCount) > 3

Generally you have to understand everything in your MUGEN docs\ files in order to be able to write MUGEN A.I., provided that you also understand what conditions (in terms of Triggers) your A.I. move needs to meet.

Human-like MUGEN A.I. is extremely hard while predictable MUGEN A.I. is not too hard.  For example, my MUGEN characters' A.I. belongs to the predictable type.
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
 
Have me alittle
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen :: Mugen Requests-
Jump to: