A help with one air move, guard move, fatality and one weird move?

Started by Daimonmau, June 12, 2008, 06:19:42 AM

Previous topic - Next topic

Daimonmau

1 - well, I am putting one air fireball move on the char I am making and it happens that I don't know how to make the "fireball", that is going towards the floor, explod on the floor instead of just pass trough it (in the case the fireball don't hit the enemy)
2 - how to make the char block attacks while executing some special move?
3 - it seens the tutorial of how to make fatalities is gone. so, can someone giveme a hand and tellme more or less how to make fatalities? how to make the enemy enter on the "finish him dizzy" state on the end of the round for example.
4 - I want to do a move that the char throws one thing on the enemy and, if the thing hits, the enemy lies "dead" on the floor with 1 of life. then the enemy became transparent and with 1 of life for some few seconds, like "spirit" form or something, and return to his body if he was not killed and recovers his energy to what was before the throw thing hit him. well, the idea of the move is to make the enemy "leave" his body with 1 of life for a short moment and try to not get hit to come back to his body that is invulnerable on the floor. someone has some idea on how to program this?

and one extra thing: how to make the enemy be dead with 2 bodys? like the true "lie dead" frame on the floor and on other place of the floor be other "lie dead" frame of the enemy?

aaaaaand... THANKS in advance

BC

ill help ya with the first one about the projectiles.

make sure your movetype physics and type all = A
dont add a velset yet.

make the projectile a helper.

then in the helper state, physics = N,type = A, movetype = A.......then add the velset, something like velset = 4,4
add a nothitby or else when hit the projectile will turn into your character.

make it attr = A,SP in the hitdef

make a changestate on moveontact, and also a changestate(same value) with the trigger pos y>=0,then a destroyself on movehit

then code your state your changing to(the disolving of the projectile or whatever)...type = s, movetype = I, physics = N, velset = 0,0

destroyself again with trigger1 as !animtime.

this works 100% for me so give it a try, i broke it down for you because im assuming you know a little about coding? or else if your a total beginner get familiar with coding basics attacks first.


Accepting commissions

Bastard Mami

Quote from: daimonmau on June 12, 2008, 06:19:42 AM
1 - well, I am putting one air fireball move on the char I am making and it happens that I don't know how to make the "fireball", that is going towards the floor, explod on the floor instead of just pass trough it (in the case the fireball don't hit the enemy)

There are two alternatives, one is to use a helper as the previous poster said; the other is to calculate the moment when the pojectile is going to hit the ground and make that time the remove time. I would prefer to use the second aproach just for kicks.

Quote from: daimonmau on June 12, 2008, 06:19:42 AM
2 - how to make the char block attacks while executing some special move?

Two ways, one is using a reversal def and the other is using a hitoverride. the reversal def method won't work if you want to have attack and autoguard in the same exact moment.

Quote from: daimonmau on June 12, 2008, 06:19:42 AM
3 - it seens the tutorial of how to make fatalities is gone. so, can someone giveme a hand and tellme more or less how to make fatalities? how to make the enemy enter on the "finish him dizzy" state on the end of the round for example.

You use target state when his life is near 0 and put him into a custom state in which he is dizzy.

Quote from: daimonmau on June 12, 2008, 06:19:42 AM
4 - I want to do a move that the char throws one thing on the enemy and, if the thing hits, the enemy lies "dead" on the floor with 1 of life. then the enemy became transparent and with 1 of life for some few seconds, like "spirit" form or something, and return to his body if he was not killed and recovers his energy to what was before the throw thing hit him. well, the idea of the move is to make the enemy "leave" his body with 1 of life for a short moment and try to not get hit to come back to his body that is invulnerable on the floor. someone has some idea on how to program this?
and one extra thing: how to make the enemy be dead with 2 bodys? like the true "lie dead" frame on the floor and on other place of the floor be other "lie dead" frame of the enemy?

While this is perfectly possible, it requires you to put the code in the enemy, not your character, so at best you can develop a set of copy-paste code that might work in most cases.

It is nice that you put the problems in ascending difficulty, but as I recomend in these types of topics, let's solve the problems one by one. now you post on which one you want to solve first.

Daimonmau

well blackchaos07, I couldn't do the way you said, then I made the fireballs and the hit animation in helpers ,and with that information about "pos y>=0" I made some experiences and have discovered one way. thanks men.

and satou sei, thats why the reversal def was not working... but  (in case I din't find later) how I do this override stuff?

can you give-me some more info on how to program one fatality (or finish him screem)?

and you don't happen to know the answer to my extra question?

Aadmi

Quote
and one extra thing: how to make the enemy be dead with 2 bodys? like the true "lie dead" frame on the floor and on other place of the floor be other "lie dead" frame of the enemy?

aaaaaand... THANKS in advance

Never tested it before but it might work, you can, put your enemy into a custom state where he is the dead animation

then add a helper into the custom state, and in the state of the helper, choose parent, anim as the anim

then add palfx's to the helper or the actual player,to differentiate, then depending on what you want to do you'll have to take i from there
depends on what you want to do...as i've never tested this coding before so it's absolutely possible it won't work

and it's what comes to mind now.

of course you'll need to position the helper out of the pactual players axis, if this coding works anyway.

cheers,RajaBoy

Daimonmau

raja boy, I want to make one fatality that the char jumps and fall on the enemy causing a great explosion. and after the explosion the enemy is split in two, so I need to let 2 "corpses" of the enemy on the floor and in the midle some blood and rocks and stuff hiding half of the corpses to let it seem that the enemy was split (of course it will look weird on a robot enemy because of the blood, hahaha).

so, would it be a bad request of mine if I ask you to test that that you said (while I continue making the other moves of my charachter) and tellme the answer later? without rush?

and thanks man

Aadmi

Quote from: daimonmau on June 13, 2008, 06:44:24 PM
raja boy, I want to make one fatality that the char jumps and fall on the enemy causing a great explosion. and after the explosion the enemy is split in two, so I need to let 2 "corpses" of the enemy on the floor and in the midle some blood and rocks and stuff hiding half of the corpses to let it seem that the enemy was split (of course it will look weird on a robot enemy because of the blood, hahaha).

so, would it be a bad request of mine if I ask you to test that that you said (while I continue making the other moves of my charachter) and tellme the answer later? without rush?

and thanks man

i'm not mean or anything but i'm busy on my work and i wouldn.t do it anyway as in. you should test things yourself, to see if they work i was just suggesting something. my friend.

I mean no harm plus trying to do that to test for you, is time wasting for me, and i would have to code helpers, and ,maybe variables and animations, it's just not something you should expect someone to do, although some people do it.

I mean no harm my friend just trying to help you realize that you must do the test for YOUR!! CHARACTER!!!! YOURSELF!!!!

yup that's it

Cheers,RajaBoy :-\

BC

well explods or helpers would be needed for the explosion.......the split in to....you'd need to get that from mortal kombat warehouse if you havent already got, just assuming you have......during the explosion you have to find the right time to show the corpse animation, and flag p2 as invisible so it would look like they really have split in 2.......kinda like how scorpions flame move works where the skeletons set on fire, p2 is flagged as invisible.
so for flagging as invisible........put p2 in a custom state and use assert special.......the good thing about putting p2 in a custom state is you can basically controll what animation he will use...like putting him in say selfstate 5000 ect.

yea this prob aint that helpful but gotta try stuff on your own, then post any problems you endure on the way
Accepting commissions

Daimonmau

blackchaos07, no. you are saying to I mess with the enemy so he will be able to receive this fatality? it's not this that I want, I want this fatality to work on all chars. and explosion instead of helper seens better but now I allready did with helper, hahaha.

and rajaboy: what a drama!! I asked that because I though that maybe you where curious to see if your theory would work and I tough to that maybe you where not full of work to do, but never mind.
but this "I mean no harm my friend just trying to help you realize that you must do the test for YOUR!! CHARACTER!!!! YOURSELF!!!!" was kind of ridiculous, but never mind to, hahaha.

Aadmi

Quoteand rajaboy: what a drama!! I asked that because I though that maybe you where curious to see if your theory would work and I tough to that maybe you where not full of work to do, but never mind.
but this "I mean no harm my friend just trying to help you realize that you must do the test for YOUR!! CHARACTER!!!! YOURSELF!!!!" was kind of ridiculous, but never mind to, hahaha.


it is all good my friend no trouble, none at all.

Cheers,RajaBoy ;D

BC

Quoteblackchaos07, no. you are saying to I mess with the enemy so he will be able to receive this fatality? it's not this that I want

what do you mean no? it will work on all characters, the code for a move isnt just for one particular character
Accepting commissions

Daimonmau

blackchaos07, then I have understand wrong what you have said. but because this that you said: "...during the explosion you have to find the right time to show the corpse animation, and flag p2 as invisible so it would look like they really have split in 2...", I think you din't understood what I said to, hahaha.
I want that be on the floor two lie dead animations of the enemy, like, for exemple, 2 chunlis or 2ryus deads on the floor when I kil then. so I can make the fatality I want.

Cyanide

Either you need to include the characters sprites in your sff, or they need the sprites in their sff. There is no method of turning off half a characters sprite.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Daimonmau

haaa, cyanide, it's not that. I know that I can't turn off half a chrachter sprite. that's why I am asking if there is a method to put TWO frames of dead animations of the enemy on the floor. so I can make on split fatality.

Cyanide

Only if they already have the sprites in their sff. Or you have them in yours. You can use an explod or a helper in either of those situations. Of a projectile interestingly enough.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Daimonmau

As I said, that I allready know. I want to know for sure if there is'nt some way to make thatvia some weird code.
but by what you know that is not possible? or you know for sure/100% that this is not possible?

Cyanide

Christ, what have i been saying.

It is not possible to split a characters sprite in half. I said that 2 posts ago. If there was wierd code for it i would have said what to use. If you know you can't split a character in half using code why are you asking the question.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Bastard Mami

you can mess up with layers but getting the desired effect will be hard.


Cyanide



In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Daimonmau

I am not asking again, I am telling you that I allready know that it can't be done, BUT... I am asking to see if someone dosen't know some secret code that could do the trick.
And I am not asking on how to split a charachter sprite, I know that this can't be done (so far as I know), I am asking if there is a way to put TWO (2) bodys of the enemy on the floor (like visualy duplicate the enemy).

yeah, I allready have tough on something like that: my charachter falls on the enemy with one big explosion and after the explosion all that is left is the body of the enemy and one big crater hiding half of the body of the enemy, to make it seens that the enemy have half his body destroied and buried inside the crater/hole. but with two corpses I could do better than that, get?