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
» [FORUM GAME] Count to 1,000, with sentences !
by borewood2013 Today at 4:07 am

» Blade by MMV WIP w/ latest video preview 1/06/17
by borewood2013 Today at 3:57 am

» Atrocitus .... The Red Lantern
by JARRO77 Today at 12:51 am

» WARMA´S pallets
by WARMA Yesterday at 8:17 pm

» Street Fighter IV Legacy
by chinchyboy Yesterday at 7:17 pm

» MUGEN1.0 stage - Yain Sidae Night Street - released by borewood2013 2017-03-20
by volzzilla Yesterday at 6:36 pm

Special Features at MMV








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 : 3582
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: