Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: xPreatorianx on September 12, 2007, 04:36:14 PM

Title: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 04:36:14 PM
I have no idea where to begin on codeing an entire hadoken from start to finish i dont even know which states to use. So can anyone supply me with the info please k thnx!
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 12, 2007, 04:42:24 PM
lol ok

this is easy once you get used to it.
first off go to your cns, then make a state(located on the left side) select projectile, then fill in the boxes what they ask for(you can do that own your own) then insert the state def, then go click to ruler looking thinger on the left side, open the aniamtion number, and the projectile number, and move it around to see where you want it to come out whne executed. then when your done look at what the x and y axis say, then replace the off set with those numbers
once thats done go to your cmd, make a new command, out any combination, then paste it under where the other commands are. Then highlight it, click the stamping thing on the left side, and search for what you named the cmd for, then fill in the boxes on the left. After that click add update

now try to see if it works, it should

and if you still need help, watch this video, btw i have a ebta version of shin lvs2 akuma.. and he has hadouken.. are you the person who made it? i mean i can tell you obviously didnt..
[youtube=425,350]YBZAb_nK4tU[/youtube]
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 05:59:13 PM
no that was failure me and him are both working on shin lv 2 akuma and chameleon. I am also working on a completely custom akuma which will have completely custom moves a god stance and some other features.Thanks for the vid and the info m8!
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 09:19:47 PM
ok i cant get my hadoken to even spawn it looks like i have everything set correctly but here is the code!
cns
Code: [Select]
;hadoken_weak
[StateDef 1001]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim =1001
poweradd = 20

[State 1001, 1]
type = Projectile
trigger1 = AnimElem = 1
projanim =1001
projhitanim =1001
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 126,-5
velocity = 3
attr = S, SP
damage = 200
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1001, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


cmd

Code: [Select]
[Command]
name="qcfx"
command= D,DF,F,x

cmd 2(bottom of the code where all the change states go)
Code: [Select]
;hadoken_weak
[State -1, 1001]
type = Projectile
value=1001
triggerall=command ="qcfx"
trigger1 = (statetype = s) && ctrl


can anyone help me?
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 12, 2007, 09:23:29 PM
you only have one animation place there
you have have two
where it says projanim, thats the no of the projectile animation change it.
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 09:39:05 PM
what do i change it to? im confused? i have the first sprite of the animation akuma and then the second the projectile so what do i change it to?
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 12, 2007, 09:41:00 PM
what do i change it to? im confused? i have the first sprite of the animation akuma and then the second the projectile so what do i change it to?
u see you only put one animation there *10001* you need to add the aniamtion number of the projectile.. and if you numberd the same animations changed it

just watch the video.. it helps..
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 09:53:02 PM
im still confused ill rar up the file and send it to you and you can switch it for me because i cant do it. so let me send it to you.
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 12, 2007, 09:54:22 PM
im still confused ill rar up the file and send it to you and you can switch it for me because i cant do it. so let me send it to you.
watch the dam video man..
Title: Re: [Help] Codeing hadoken
Post by: Fallen_Angel on September 12, 2007, 10:00:03 PM
xPreatorianX, the miistake that you are making is that you use the same anim in the char and in the projectil, I put some info in the code that you made so you can understant what are you doing
Code: [Select]
;hadoken_weak
[StateDef 1001]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim =1001  ;these has to be the anim of the character
poweradd = 20

[State 1001, 1]
type = Projectile
trigger1 = AnimElem = 1
projanim =1001 ;these has to be the anim of the hadouken
projhitanim =1001 ;these has to be an anim if the hadouken hits
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 126,-5
velocity = 3
attr = S, SP
damage = 200
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1001, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 10:20:18 PM
no matter what i do it still wont work :S ~X(
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 12, 2007, 10:25:49 PM
watch the video.. step by step
and im not gonna help you.. your character is fked up.. his sprites are mixed up weird.. i cant find the projectile and the previous animation to it to make the state def

Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 12, 2007, 10:28:06 PM
the projectile is at the end of the sprites and the character animation and sprites are at the second to last
its not hard to find m8. also on the animation the animation is the last. its there just search for 1001 and 1002 and 1000 i guess. they are there at the end :S if you can help me cool if not guess ill find someone else or wait a week and come back
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 03:15:45 PM
can anyone help me if so ill send the character to you.
Title: Re: [Help] Codeing hadoken
Post by: ♦ßlôödÑinjå♦ on September 13, 2007, 03:18:30 PM
can anyone help me if so ill send the character to you.
no need to send chars im sure someone will help you
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 03:41:12 PM
well ive tried doing it on my own i got the codeing down(i think i just cant get the animation to run in mugen so can i send the char to the person who is gonna help me or can i tell them the state defs and they guide me through the whole process?
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 04:28:27 PM
ok so here is the code over again for the cns.
Code: [Select]
[StateDef 1001]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1001
poweradd = 20

[State 1001, 1]
type = Projectile
trigger1 = AnimElem = 6
projanim = 1002
projhitanim = 1003
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 85,-8
velocity = 3
attr = S, SP
damage   = 200
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1001, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


The 1001 is the animation with the character and the projectile and the 1002 is just with the projectile what am i doing wrong? if you need me to show the command let me know
Title: Re: [Help] Codeing hadoken
Post by: nick09 on September 13, 2007, 04:56:10 PM
ok so here is the code over again for the cns.
Code: [Select]
[StateDef 1001]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1001
poweradd = 20

[State 1001, 1]
type = Projectile
trigger1 = AnimElem = 6
projanim = 1002
projhitanim = 1003
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 85,-8
velocity = 3
attr = S, SP
damage   = 200
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1001, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


The 1001 is the animation with the character and the projectile and the 1002 is just with the projectile what am i doing wrong? if you need me to show the command let me know

wrong animation number! they kept on saying that....

find the animation number for the character and projectile that you have not 1001 and 1002.

the 1001 and 1002 are examples of an animation number.
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 04:59:12 PM
well i give up if someone wants to take a crack at it the animations are the last and second to last on the animation tab and the files in the cns is right at the bottom of the last kick. Also same goes for the command. so if you guys wanna take a crack it so be it if not then i give up i am getting to pissed off at this. all the sprites are next to each other if you have to redo the animations its the last 30 sprites. Here is shin lv 2 akuma i guess if noone wants to help take it as a free beta. well here it is if anyone can help http://www.sendspace.com/file/6dnene (http://www.sendspace.com/file/6dnene)
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 05:00:26 PM
my animation number for the char with the proj is 1001 the proj alone is 1002. i have the anims correct(atleast i think)
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 13, 2007, 07:22:41 PM
can anyone help me please?????? lol im dieing here i cant get the thing to work no matter what i do ive taken the code from ryux and it still wont work im lost as hell please someone guide me. The animation with him just doing the motion before the projectile is 1001 and the projectile itself is 1002. anyone?
Title: Re: [Help] Codeing hadoken
Post by: Fallen_Angel on September 13, 2007, 10:08:13 PM
XPreatorianx, i'm downloading your char, I will help you when I finished I will tel you what to do just wait a little bit because my internet is really slow
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 13, 2007, 10:09:43 PM
i d/l the char.. it gave me some virus on my pc..
wtf did you but in it? i cant delete it and my pc is acting weird..
Title: Re: [Help] Codeing hadoken
Post by: Error Macro on September 13, 2007, 10:17:28 PM
i d/l the char.. it gave me some virus on my pc..
wtf did you but in it? i cant delete it and my pc is acting weird..
wtf, that didn't happen to me! :o
Title: Re: [Help] Codeing hadoken
Post by: Fallen_Angel on September 13, 2007, 10:58:53 PM
XPreatorianX, i 'm sendig you akuma fixed
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 14, 2007, 01:04:20 AM
fallen one thanks for the help but you sent me one with my basic attacks un completed i have no idea where you got it from or whatever. But its not the shin lv 2 akuma i sent you earlier or maybe something didnt copy right ermac let me know if you didnt find the animations m8. Anyways ermac could you still help me? And dshiznetz_is_back i dont have a virus in my char you already had that virus. so dont blame me!
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 14, 2007, 01:09:05 AM
fallen one thanks for the help but you sent me one with my basic attacks un completed i have no idea where you got it from or whatever. But its not the shin lv 2 akuma i sent you earlier or maybe something didnt copy right ermac let me know if you didnt find the animations m8. Anyways ermac could you still help me? And dshiznetz_is_back i dont have a virus in my char you already had that virus. so dont blame me!
no i didnt.. when i downloaded it it said corrupt data somthing.. and now i cant delete it from my pc
Thanks alot.
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 14, 2007, 01:16:21 AM
hey ermac or if i sent you one of you guys with the one with the animations please let me know and send it back or else i gotta start over with the jumping attacks then send it back to you guys i guess i lost my data. :S
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 14, 2007, 01:18:04 AM
dude u there is no virus or anything in my char so whatever is wrong with your pc thats not my problem maybe you should try shutting down all processes and programs that have to do with running the character then try.
Title: Re: [Help] Codeing hadoken
Post by: Luis/Dshiznet on September 14, 2007, 01:19:26 AM
dude u there is no virus or anything in my char so whatever is wrong with your pc thats not my problem maybe you should try shutting down all processes and programs that have to do with running the character then try.
no no no.. you see i never played with your character to begin with.
its the file you put something in it.
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 14, 2007, 01:27:06 AM
NO I DID NOT PUT ANYTHING IN IT MAN. SOMETHING WAS ALREADY ON YOUR COMPUTER!!!!!!! or i would be affected aswell.Anyways ermac let me know if i sent you the one with the projectile animations already in it if not then ill have to give you another one tomarrow as i gotta redo the jump commands. It lost my data somehow!!!!

EDIT: err actually the file i get from fallen one i accidently over wrote my own without thinking. :S The rar i sent you guys was the one from a while ago so i have to redo the animations and the damn hitsparks.
Title: Re: [Help] Codeing hadoken
Post by: TripleM on September 14, 2007, 02:36:06 AM
if you stell need help  ;D I will fix your character  ;D and it did not have a virus on it dshiznetz_is_back  ;*)) I got the character and my computer is fin  ;D
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 14, 2007, 03:19:34 PM
well guys i have to redo the crouching close attacks and the jump attacks then ill upload the char in this thread with the correct animations and you guys can take a crack at it. For some reason it erased half my data! :S so yea gonna start working on it now!
Title: Re: [Help] Codeing hadoken
Post by: Error Macro on September 14, 2007, 08:33:14 PM
Sent you my fix.
Title: Re: [Help] Codeing hadoken
Post by: shootYr. on September 15, 2007, 11:08:59 AM
I would suggest using a helper instead of a pojectile. The Helper Code is what XCB Used for Tetsu's Hadoken. Its Not That Hard.
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 16, 2007, 08:10:17 PM
well i redid some of my char and fixed some stuff that was wrong and i copied the stuff from the fix that ermac gave me and it still wont work so can someone help me? the animations and everything are already there i just need the codeing redone i guess. Besides i think ermac is ignoreing me :(. Here is the char if someone can help! http://www.sendspace.com/file/hwl3iw (http://www.sendspace.com/file/hwl3iw) the animation for the char itself is 2001(i think) the projectile is 2002 and the remove animation is 2003
Title: Re: [Help] Codeing hadoken
Post by: nick09 on September 16, 2007, 08:17:51 PM
well i redid some of my char and fixed some stuff that was wrong and i copied the stuff from the fix that ermac gave me and it still wont work so can someone help me? the animations and everything are already there i just need the codeing redone i guess. Besides i think ermac is ignoreing me :(. Here is the char if someone can help! http://www.sendspace.com/file/hwl3iw (http://www.sendspace.com/file/hwl3iw) the animation for the char itself is 2001(i think) the projectile is 2002 and the remove animation is 2003

the char is group 2000
Title: Re: [Help] Codeing hadoken
Post by: xPreatorianx on September 16, 2007, 08:37:44 PM
i looked it is 2000!!! Still cant get it to work!!!!!!! ~X( ~X( ~X( ~X( ~X(
Title: Re: [Help] Codeing hadoken
Post by: Fallen_Angel on September 16, 2007, 11:38:19 PM
i looked it is 2000!!! Still cant get it to work!!!!!!! ~X( ~X( ~X( ~X( ~X(

xPreatorianx, I have checked you character, and you have missaligned sprites , I will send you a pm explaining you how to do it correctly

The code that you put earlier was a good code, I dont see any problem, I put it in the akuma and it works maybe the problema was in the cmd, these is the code

[StateDef 2000]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 2000
poweradd = 20

[State 1001, 1]
type = Projectile
trigger1 = AnimElem = 6
projanim = 2002
projhitanim = 2003
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 10,100
velocity = 3
attr = S, SP
damage   = 200
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1001, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

and these goes in the cmd


[Command]
name = "QCF_x"
command = ~D, DF, F, x

[State -1, hadouken]
type = ChangeState
value = 2000
triggerall = command = "QCF_x"
triggerall = statetype = s
triggerall = statetype != a
trigger1 = ctrl
SimplePortal 2.3.5 © 2008-2012, SimplePortal