collapse

Author Topic: I need help with my Dan SF3  (Read 375 times)

0 Members and 1 Guest are viewing this topic.

Offline Malivictus

  • Initiate
  • **
  • Posts: 63
  • Last Login:October 21, 2018, 03:13:50 PM
  • know my name and Fear it I am Malivictus !!!
I need help with my Dan SF3
« on: July 23, 2009, 12:48:16 PM »
Hello one and all I am trying to get some help understanding the coding used in Mugen I have the new Fighter Factory and I hav put out a char but people have given me  feed back on he's AI

I used someone elses AI ( As I am still learning it ) I have having a hard time coding some Attacks like Dans Sho-kick combo ( see picture )

and hes Super combo Riki attack ( the one where he attacks like a mad man and ends up doing a Dragon punch )

I am still animating that attack and I have found some attacks I want to use but I would like to code it first before I add the Animation to the attack so any help will be helpful I will give Credits where its due.

Thanks a lot in advance

Malivictus.

Sho-kick combo


Shot at 2009-07-23


MadMan combo


Shot at 2009-07-23


U is a letter NOT as Word....

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: I need help with my Dan SF3
« Reply #1 on: July 26, 2009, 09:02:58 AM »
The images moves way too fast.

Can you specify, a little bit more  what you have troubles coding?, and what exaclty do you want to do (not everyone knows all the moves of dan)


sig made by shullbocka

Offline Malivictus

  • Initiate
  • **
  • Posts: 63
  • Last Login:October 21, 2018, 03:13:50 PM
  • know my name and Fear it I am Malivictus !!!
Re: I need help with my Dan SF3
« Reply #2 on: July 27, 2009, 10:23:31 AM »
I sure can ok Unlike Ken,Ryu,Aluma inc he does not do a Hurricane kick ( AKA Tatsumaki Senpuu Kyaku ) when they spin in the air kicking..

he does a 3 kick combo with the last kick knocking the person down ( see ani 1 ) now I coded the first 2 hits but no matter what I do the last kick don't hit or knock them down

the Madman combo I got working ( I cheated by changing the sprites and letting FF re-run the ani replacing a old disused alpha from the ken I based him off ) I am in the middle of making a Evil Dan based of Akuma.

But I he still does some of kens old moves but I am still trying to change that also I am Learning to code AI but sadly the Ken I used was in Portuguese not English so I am using bablefish to translate it then I have to put in in some order lol.

Now back on the subject I will be re-releasing him sometime today so look for him with improved AI and Skill's he is not god like nor dumb I also added two new Pallets so if you do a tag team of Dan vs Dan you will see all the colors I made there is some errors but I am working on them and that's why its taking so long this is my first Char so please any comments will help.

But in the end I will need help with the AI and Def files this way when I make more Chars they will be better and better how else am I to learn.

On a sad note I tried to find Mugenlords you tube videos but sadly I cannot find them so any help there will help also I found a guy from England he has some Epic tuts on AI coding that's who's code source I am using just modified.

anyway thanks in advance

Malivictus.

U is a letter NOT as Word....

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: I need help with my Dan SF3
« Reply #3 on: July 27, 2009, 12:18:52 PM »
Probably your having an issue, with the hitflags (check the docs for detailed info)

For the second issue, you will have to check for the anims, and the chamgestates, probably you are changing to ken´s moves or anims

About AI, I suggest you, to first learn all the basic coding, because when you code an Ai, you will need yo understand most of the parameters...for example

Code: [Select]
;triggerall, means that it can start checking the triggers, only when all of the triggerall statements are true, these will limit the move with all your desire parameters, I used when I want, and when I dont want using !=
[State AI, Drill]
type = ChangeState
triggerall = var(0)
triggerall = statetype = S
triggerall = statetype != A
triggerall = statetype != C
triggerall = p2movetype != A
triggerall = p2statetype != C
triggerall = stateno != [1003,1004]
triggerall = prevstateno != [1003,1004]
triggerall = !Numhelper (1005)
triggerall = p2bodydist y =[-20,20]
triggerall = !Numhelper (4800)
triggerall = p2statetype !=L
; trigger1, will make it activate when the enemy is from 30 to 180 pixels away from me, and when the random value ,which goes from 0 to 999, takes a value from 800 to 820, the random is used, to make the char a little bit unpredictable
trigger1 = p2bodydist x  = [30,180]
trigger1 = random = [800,820]
;trigger2 is a combo, it will activate if you are in statedef 240 or you just have came out of that state, and the move has hit the opponent , the time is used to let the char has time to exit the state 240.
trigger2 = ((prevstateno = 240)||(stateno =240))&& movehit && time >=10
trigger2 = random = [400,420]
;trigger3 its used, to make the attack, when the enemy is moving (including jumping), and the enemy is a little bit away from  you, and the enemy is not attacking, and he isnt in a hitstatedef, also the enemy doesnt have a projectil, or a helper
trigger3 = p2bodydist x >= 57  && enemy, vel x !=0  && random <=50
trigger3 = p2bodydist y =[-40,40]
trigger3 = (p2movetype != H || p2movetype !=A )&& enemy,NumProj = 0 && enemy,NumHelper =0
value = 1003 ; statedef of the drill attack
as you can see its not hard, but you need to understand what you are doing, and you need to have a clear idea on when exactly do you want the move to activate


sig made by shullbocka

Offline Malivictus

  • Initiate
  • **
  • Posts: 63
  • Last Login:October 21, 2018, 03:13:50 PM
  • know my name and Fear it I am Malivictus !!!
Re: I need help with my Dan SF3
« Reply #4 on: July 27, 2009, 01:03:39 PM »
thank you sooo much it is starting to make a dent in my thick skull lol...I am going to release my updated Dan..sadly I still cannot delete the Dan Lighting ha-do-ken with out the state def's for hes punch's going nutt's

so I left it in I just removed all the Triggers so the AI dont use the move.
U is a letter NOT as Word....

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: I need help with my Dan SF3
« Reply #5 on: July 29, 2009, 12:03:38 AM »
If you want I can take a look on the char (send me a pm with the char, and with all the information that I could need , like statedefs, and anims)


sig made by shullbocka

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

Virtual Bart Science Fair by Lord_Enemil
[June 15, 2024, 08:23:51 PM]


Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 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]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]

* 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