mugen chars, rare characters
Mugen | CHAT | Transformation help? - Page 2 - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 2 of 2
  • «
  • 1
  • 2
Transformation help?
sgn_15Date: Wednesday, 2011-08-31, 5:54 AM | Message # 16
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
well tbh, ive been helping you with only what i know, except until the last post i made when i got the actual walk state in my old working files.

either those 2 sctrls in state -2 (i assumed you still have those 2 sctrls in there), are contradicting the ones inside walk state. I really do recommend the coding of "transformation" per individual state of common1.cns. actually the fact that your walk in 2nd form is not working, despite what you used in state -2 already (state -2 is always active) means those 2 changeanims are not working perfectly at all for your transformation

you might want to paste your codes again (the codes you have now at present), since you might have forgotten to adjust some codes to suit your var and anim values

the idea i got is the same as here. but http://mugenguild.com/forumx/index.php?topic=50702.0

reply here again for the results


 
Robcat030Date: Thursday, 2011-09-01, 5:05 AM | Message # 17
Baby
Group: Users
Messages: 10
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Well here is my -2 state (There are two because i now have a second transformation):
Code

[Statedef -2]

[State -2]
type = ChangeAnim
trigger1 = Var(1) = 90
trigger1 = Anim < 10000
trigger1 = SelfAnimExist(Anim + 10000)
value = Anim + 10000

[State -2]
type = ChangeAnim
trigger1 = Var(2) = 50
trigger1 = Anim <= 20000
trigger1 = SelfAnimExist(Anim + 20000)
value = Anim + 20000

And my walking state(Also more changanims due to a second transformation)
Code

[Statedef 20]
type = S
physics = S
sprpriority = 0

[State 20, 1]
type = VelSet
triggerall = var(0) = 0
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x)

[State 20, 2]
type = VelSet
triggerall = var(0) = 0
trigger1 = command = "holdback"
x = const(velocity.walk.back.x)

[State 20, 1]
type = VelSet
triggerall = var(1) = 90
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x) + 1

[State 20, 2]
type = VelSet
triggerall = var(1) = 90
trigger1 = command = "holdback"
x = const(velocity.walk.back.x) - 1

[State 20, 3]
type = ChangeAnim
triggerall = var(0) = 0
triggerall = vel x > 0
trigger1 = Anim != 20 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 20

[State 20, 4]
type = ChangeAnim
triggerall = var(0) = 0
triggerall = vel x < 0
trigger1 = Anim != 21 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 21

[State 20, 3]
type = ChangeAnim
triggerall = var(1) = 90
triggerall = vel x > 0
trigger1 = Anim != 1020
value = 10020

[State 20, 4]
type = ChangeAnim
triggerall = var(1) = 90
triggerall = vel x < 0
trigger1 = Anim != 1021
value = 10021

[State 20, 3]
type = ChangeAnim
triggerall = var(2) = 50
triggerall = vel x > 0
trigger1 = Anim != 1020
value = 20020

[State 20, 4]
type = ChangeAnim
triggerall = var(2) = 50
triggerall = vel x < 0
trigger1 = Anim != 1021
value = 20021

[State 20020, 3]
type = ChangeAnim
triggerall = var(1) = 90
triggerall = vel x > 0
trigger1 = Anim != 20 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 10020

[State 20020, 4]
type = ChangeAnim
triggerall = var(1) = 90
triggerall = vel x < 0
trigger1 = Anim != 21 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 10021
 
sgn_15Date: Thursday, 2011-09-01, 6:23 AM | Message # 18
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Robcat030, you only replied now surprised

I really do not know if that state -2 method will ever work. thats my honest opinion. the only tried and tested formula i know is the one where you have to "mess" the codes in every state in common1.cns

well ill ask some questions first, those changeanims in state -2 are supposed to work for all the states, right (since state -2 is active all the time)? then i ask you if you have other anim problems aside from walk?

and since you have a problem with walk anim, that means the changeanims in state -2 is not working (at least not perfectly, since there is at least 1 problem, which is the walk)

well i suggest you try some things:
- remove the changeanims from state -2 and try it again (with the codes i gave you then adjust the values and vars and stuff to suit your char)

your second transformation uses var(2) ?

normally you set a var to 1 for first form, to 2 for second form, etc (i mean you use the same var for all forms)

ill send you something useful in pm later. but try the things i told you first smile


 
Robcat030Date: Thursday, 2011-09-01, 6:12 PM | Message # 19
Baby
Group: Users
Messages: 10
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
well state -2 worked for every state except walking, and when i take it out, only the regular walking was showed. My second transform was a bit sketchy. I figured what the hell ill use var 2 as long as its different from var 1. But i dont think that using var(2) is the problem, cuz i still have the same problem in my second transform.
 
  • Page 2 of 2
  • «
  • 1
  • 2
Search:

Copyright MyCorp © 2024 Create a free website with uCoz