YesNoOk
avatar

damages (Read 672 times)

Started by clus, October 14, 2007, 06:36:12 pm
Share this topic:
damages
#1  October 14, 2007, 06:36:12 pm
  • avatar
  • *
Ive been looking at uroz23's mugen tutorial on youtube, and the video helped me out a lot. But im to the part of adding hit damages for my character. Ive added the sprites that shows her taking a hit, but it show up in the window when i run in mugen. Does anybody know what begin action this is?

When i go to the constants, all it shows is begin actions up to something like (begin action 840).
Re: damages
#2  October 14, 2007, 09:55:10 pm
  • ****
  • "Moyashi tsuku shite yaru..."
That must've been a one screwed up tutorial... Or you have been unattentive/unperceptive. I think you're looking in the wrong place. Begin Actions are in .AIR file where character's animations are stored. While coding is stored in .CNS files as a standard. Damages are part of HitDef controller.
Re: damages
#3  October 15, 2007, 04:35:25 am
  • avatar
  • *
When i go in the cns part of fighter factory, it doesnt show the part where im suppose to set up the hitdef for damage. I ran it in winmugen and it didnt show the damage animation. I remember seeing the hitdef in the list of words when i click on the text (trigger1). Do you know how to set it up?
Re: damages
#4  October 15, 2007, 06:54:33 pm
  • ******
  • [E]
    • Mexico
it is hard to even tell what you are talking about, try to stop using fighter factory and instead open teh .cns or .air files in a text editor. now say which files are you opening and what are you trying to do...
Re: damages
#5  October 15, 2007, 09:15:24 pm
  • ****
  • "Moyashi tsuku shite yaru..."
I think by "damage" he means collision boxes. Am I right?
Re: damages
#6  October 15, 2007, 10:34:56 pm
  • avatar
  • *
yep
Re: damages
#7  October 15, 2007, 10:40:07 pm
  • avatar
  • *
Im trying to get my hit animations to take effect when i get attacked. I came across another tutorial that was talking about strl docs or something. And it mentioned hitdef and gethit.

But I put in [statedef 250]
                 type = H for Gethit . Its still confusing me, so what i did earlier was went into the data file in my mugen folder and clicked on the common1 file. It has all the state numbers in it, so ill try to see whats up with that.

But i still need some help with what codes to put in.
Re: damages
#8  October 15, 2007, 11:24:04 pm
  • ******
  • [E]
    • Mexico
for the hit animations to happen, you just have to put the animations there, and reference to common1.cns,. if you use kfm as a base, that will already be taken care of, and you would only need to put the required sprites inside the sff.
Re: damages
#9  October 16, 2007, 02:19:19 am
  • avatar
  • *
Ill try that and get back with you. Thanks for helping me, I appreciate it.