collapse

Author Topic: Low Health Stance?  (Read 1542 times)

0 Members and 1 Guest are viewing this topic.

Offline Skull_Kingz

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:April 29, 2022, 09:57:17 AM
  • Mother above, watch over me...be my gaurdian angel
Low Health Stance?
« on: March 27, 2009, 04:13:37 PM »
I was wondering if anyone could help me create a low health stance for my character.
I saw Syn's Dragon Guy using a weak animation when his life was low.
Could someone help a bro out.
Thanks



Offline .:K.I.N.G:.

  • King &
  • Global Moderator
  • *
  • Posts: 1867
  • Last Login:May 16, 2013, 07:18:26 PM
  • Accepting All Challenges
Re: Low Health Stance?
« Reply #1 on: March 27, 2009, 05:17:51 PM »
here is an easy way.
put a change anime code in statedef 0 triggered by a life value <=  some number ie 300 or 400
I'm a Dude Playing a Dude, Disguised as Another Dude

Offline Skull_Kingz

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:April 29, 2022, 09:57:17 AM
  • Mother above, watch over me...be my gaurdian angel
Re: Low Health Stance?
« Reply #2 on: March 27, 2009, 05:28:26 PM »
here is an easy way.
put a change anime code in statedef 0 triggered by a life value <=  some number ie 300 or 400


Could you give a short tutorial on how I do that?
Or maybe point me to a character that has it already.
Sorry bro. thanks but I'm still new and trying to learn character coding. :-j

Offline .:K.I.N.G:.

  • King &
  • Global Moderator
  • *
  • Posts: 1867
  • Last Login:May 16, 2013, 07:18:26 PM
  • Accepting All Challenges
Re: Low Health Stance?
« Reply #3 on: March 27, 2009, 05:36:48 PM »
Could you give a short tutorial on how I do that?
Or maybe point me to a character that has it already.
Sorry bro. thanks but I'm still new and trying to learn character coding. :-j
i don't know if any character has it  :-?? well anyway here is what i meant.

this is the standing state 0
;Stand
[Statedef 0]
type = S
physics = S
sprpriority = 0

you put a changeanim code triggering using a life value trigger
[State 0, whatever]
type = ChangeAnim
trigger1 = life <= 300; this means that it will trigger only if life is less or = 300
value = animation number for the weak stance you want
I'm a Dude Playing a Dude, Disguised as Another Dude

Offline Skull_Kingz

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:April 29, 2022, 09:57:17 AM
  • Mother above, watch over me...be my gaurdian angel
Re: Low Health Stance?
« Reply #4 on: March 27, 2009, 06:06:00 PM »
My characters weak anim is working but now his normal stance is acting retarded.
Instead of standing normal, he constantly repeats the last Anim that he did.

Offline .:K.I.N.G:.

  • King &
  • Global Moderator
  • *
  • Posts: 1867
  • Last Login:May 16, 2013, 07:18:26 PM
  • Accepting All Challenges
Re: Low Health Stance?
« Reply #5 on: March 27, 2009, 06:59:33 PM »
My characters weak anim is working but now his normal stance is acting retarded.
Instead of standing normal, he constantly repeats the last Anim that he did.
you need to loop the animation or it will keep repeating...it's probably the <= trigger, maybe you just need =....it depends on ur animation.
what do you mean by ur normal stance acting strange?
« Last Edit: March 27, 2009, 07:06:00 PM by Mr.47 »
I'm a Dude Playing a Dude, Disguised as Another Dude

Offline Skull_Kingz

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:April 29, 2022, 09:57:17 AM
  • Mother above, watch over me...be my gaurdian angel
Re: Low Health Stance?
« Reply #6 on: March 27, 2009, 08:05:47 PM »
what do you mean by ur normal stance acting strange?

Like for example if I kick, his new stance stance will repeat that kicking move.
if I walk, his stance will be the walking animation.

Offline .:K.I.N.G:.

  • King &
  • Global Moderator
  • *
  • Posts: 1867
  • Last Login:May 16, 2013, 07:18:26 PM
  • Accepting All Challenges
Re: Low Health Stance?
« Reply #7 on: March 27, 2009, 08:33:02 PM »
Like for example if I kick, his new stance stance will repeat that kicking move.
if I walk, his stance will be the walking animation.
you probably did something wrong :-?? you sure you added the air to the air file?
I'm a Dude Playing a Dude, Disguised as Another Dude

Offline Negi Springfield

  • Infinity Faithful
  • ****
  • Posts: 1632
  • Country: United States us
  • Last Login:December 26, 2022, 03:12:38 PM
  • Got some change?!
    • Hokuto_no_Fan
Re: Low Health Stance?
« Reply #8 on: March 27, 2009, 09:39:37 PM »
This is a very intresting idea.
I know a few games that already have this sort of thing, like the Dragon Ball Z Tenkaichi series
with there Battle Damaged models replacing the normal one and they have a new stance
when hit with an Ultimate move.

It'd be really neat if we could get the same sort of thing going on in Mugen.
that combined with some sort of way to speed up the music in this near-death state would make Mugen 10-shoulders better.

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Re: Low Health Stance?
« Reply #9 on: March 27, 2009, 09:41:15 PM »
I already answered this.

Inside your [Statedef 0] look for this

Code: [Select]
[State 0, 1]
type = ChangeAnim
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0

and replace it with this

Code: [Select]
[State 0, 1]
type = ChangeAnim
triggerall = life > lifemax /3
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0

and add this in the same statedef..

Code: [Select]
[State 0, 1]
type = ChangeAnim
triggerall = life <= lifemax /3
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = insert low health stance animation here
« Last Edit: March 27, 2009, 09:47:35 PM by |mmö®†åL -$yN- »

Offline Skull_Kingz

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:April 29, 2022, 09:57:17 AM
  • Mother above, watch over me...be my gaurdian angel
Re: Low Health Stance?
« Reply #10 on: March 27, 2009, 11:03:49 PM »
Thanks you guys, I got it to work. Finally.
Took me all day but it was worth it.


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

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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