A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Michael Myers hallowen MK edit
by CARNAGE777 Yesterday at 8:00 pm

» Call of Duty Nazi Zombies mugen full game released.
by armin_iuf Yesterday at 7:59 pm

» AQUAMAN EDITH WITH HAND AND TRIDENT
by yolomate Yesterday at 5:16 pm

» mugen1.1 does not obey specified order of characters in Select.def
by gartanham Yesterday at 3:24 pm

» Tenshi IT Full Version released
by IkuTronHD Yesterday at 1:47 pm

» No escape from hell
by Dj luke Yesterday at 12:09 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
Werewood

avatar

Posts : 5428
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: