YesNoOk
avatar

Super Armour niggles (Read 919 times)

Started by Ryanide, August 02, 2008, 06:35:38 am
Share this topic:
Super Armour niggles
#1  August 02, 2008, 06:35:38 am
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
I've decided to add a bit of super armour to Maxime's Tiger Claw attack. So far I've been using invisible helpers with empty high-stun reversals to achieve this.

I have a problem though:

This method for super armour negates all damage done to Maxime. I want him to take the damage that the opponent's attack deals or even just take a set damage of -100 from anything. I've tried mucking about with Lifeadd and still couldn't get him to lose any health after eating a hit.

I attempted to use hit override at first, but I couldn't get it to simply allow Maxime to continue his animation. If I set the animation to -1, the hit override just wouldn't take effect. If I set it to any other value, it would just look strange.

Any ideas how I could fix this?
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Re: Super Armour niggles
#2  August 02, 2008, 06:45:59 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
since you'll have a hittoveride for the helper have a life add in the statedef -2 so when helper(blah),stateno=balh life add, adds damage to you, i don't know i don't feel like think too hard on this,thats an easy solution with fixed damage..i don't know if there's away to add the normal damage amount..maybe using getthitvariables to trigger a certain amount of damage from lifeadd...yeah too much to think about right now :P

Cheers,Rajaboy :)
Re: Super Armour niggles
#3  August 02, 2008, 08:18:39 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Nono. Have to use hitoverride.

Your original attack uses this

type = changeanim
trigger1 = time = 0 && anim != whatever anim you're using
value = above

you do NOT set the anim = line.

You don't set it in the overridden state either. Overridden state lasts a couple of ticks with movetype = H then you changestate to prevstateno.


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.
Re: Super Armour niggles
#4  August 02, 2008, 01:49:05 pm
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
Thanks. This is much more efficiant than the way I was doing it.

But I STILL can't get Maxime to take any damage if he gets hit during the super armour frames...

Now that I'm using hitoverride, how do I set a superpause to go off when the opponent hits Maxime during the super armour frames? I want a dramatic 20-frame pose to make the super armour hit quite obvious.

What trigger do I use to get this to happen? Or perhaps a reversaldef?
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Last Edit: August 02, 2008, 02:02:28 pm by Ryanide
Re: Super Armour niggles
#5  August 02, 2008, 01:54:44 pm
  • ******
  • does this look like the face of mercy?
add an invisible helper that follows him and does the same travel, he wont flinch from the attack but the helper could ( i think) register the damage.
Re: Super Armour niggles
#6  August 02, 2008, 02:03:53 pm
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
That's an idea. But how do I store said damage in a variable and give it to maxime once the helper gets hit?
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Re: Super Armour niggles
#7  August 02, 2008, 02:07:47 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
unfortunately helper have their own damage and if they have no destoyself sctrl they will eventually die and go to the death state, thats what has happened to me atleast.

but there has to be away as i know some characters have it, like wonder women, she does some super with an axe, and a shield maybe you could look at her in that state and see how it's done...
Last Edit: August 03, 2008, 11:50:31 pm by RajaaBoy
Re: Super Armour niggles
#8  August 02, 2008, 02:10:23 pm
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
Problem solved:

Code:
[StateDef 203]
type = S
movetype = H
physics = S

[State 203, ChangeAnim]
type = changeanim
trigger1 = time = 0 && anim != 203
value = 203

[State 203, Super Armour]
type = hitoverride
trigger1 = time = 6
attr = s, NA
stateno = 203
time = 12

Now all I need to do is figure out how to make the hitlag appear and it will be perfect.

thanks everyone!
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Last Edit: August 02, 2008, 02:17:47 pm by Ryanide
Re: Super Armour niggles
#9  August 02, 2008, 02:13:42 pm
  • ******
  • does this look like the face of mercy?
Well Jojobizarre characters take damage from having their remote stand hit,so I would also suggest to take a look on some jojo bizarre characters.
Whilst the helper has a set "life" of his own, its a part of the host full life. both taking damage from the stand getting hurt.
Re: Super Armour niggles
#10  August 02, 2008, 02:16:25 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Thanks. Can you link me to wonder woman?

I hope I get this problem sorted out. My next character is going to have lots of super armour and it would be silly if he only took set damage from Juggernauting hits.

i don't know the link at all but i have her i'll iupload her and pm you since putting up download links that don't direct to the authors website is against the rules i think ???

hopefully you'll get an awnser with her or without.

also i think you could look at jojo bizarre characters they seem to portray shared life as it seems.

i guess super armor is as annoying as they say :P
Re: Super Armour niggles
#11  August 02, 2008, 02:18:44 pm
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
Thanks, I managed to fix the problem. See the previous post for the result.
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Re: Super Armour niggles
#12  August 02, 2008, 02:20:53 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
hitlag try adding a small pause sctrl in the hitoveride state. sorta like a parry
Re: Super Armour niggles
#13  August 02, 2008, 02:28:07 pm
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
I did try that, but it didn't make any difference. ^^

I think I'll just use an invisible reversaldef helper behind him or something. I'll see what kind of effect that gets me.
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Re: Super Armour niggles
#14  August 02, 2008, 02:38:58 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
I did try that, but it didn't make any difference. ^^

I think I'll just use an invisible reversaldef helper behind him or something. I'll see what kind of effect that gets me.

What exact effect are you trying to portray? you have to take away your movetime during the pause sctrl if you want your character to pause too..i'm just trying to help :P
Re: Super Armour niggles
#15  August 03, 2008, 12:10:00 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
in the super armour state you'd normally do this

[state blah]
type = changeanim
trigger1 = 1
value = anim
elem = animelemno(0)

changestate
trigger1 = hitshakeover
value = prevstateno

That'll send you back to your original state when the hitdefs pausetime completes and freeze your anim in place until it is. And yes, movetype = H means you take damage while in a custom state.


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.
Re: Super Armour niggles
#16  August 04, 2008, 05:49:31 am
  • ***
  • It's not furry you goons, it's anthro! ANTHRO!
This is the effect I want:

Maxime has about 12 frames in his tiger claw that, when hit by an opponent's attack, activate a 20-frame super pause and then continues his animation as normal, but keeps the damage that he took from the attack.

So regardless of what kind of attack is hitting him, whenever Maxime takes an attack, there should be a 20 frame pause.

So far I've got it to work as proper super armour, just without the 20-second pause. I can' seem to find a way to trigger it on the activation of the hitoverride.
A magical force-field surrounding a brick in an iron vault...even if the security is breached, the thieves are bound to be disappointed.
Re: Super Armour niggles
#17  August 04, 2008, 09:47:27 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You mean 20 ticks right?

Your super armour state should look vaguely like this

[statedef blah]
movetype = H

changeanim
trigger1 = 1
value = anim
elem = animelemno(0)

changestate
trigger1 = time >= 20
value = prevstateno.

I just gave you hitshakeover because it's what is normally used. You take on some of the hits properties, just not all of them.


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.