mugen chars, rare characters
Mugen | CHAT | Flying Grab - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Flying Grab
Omegaxis12Date: Sunday, 2012-04-22, 3:47 PM | Message # 1
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
i'm back in the flying state after doing some of my standing attacks
so im trying to make a grab when i'm in the flying state
i want my character to fly down towards p2 and grab p2 then fly up then drop p2 and do some damage when p2 hit the ground

but i think im doing everything wrong fool

can someone help me with this shy
 
sgn_15Date: Sunday, 2012-04-22, 3:51 PM | Message # 2
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
well for flying down then use velset

then for the grab attempt, you need p1stateno (for grab successful) and p2stateno (for p2 custom state)
then a changestate (if the grab was NOT successful)

the state p1 goes to if the grab was successful is up to you how you want to code it. use targetbind to bind p2 to you (p1). targetlifeadd negative value for the damage
for p2's custom state, just use changeanim to make p2 visible then selfstate at the end so p2 will have control of its self again


 
Omegaxis12Date: Sunday, 2012-04-22, 3:57 PM | Message # 3
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
thats what i did sir
but when my char flew down it just pass through to the ground or stand in the air

i tried puting changestate when y=0 it goes to the standing state but still nothing

btw sir i already made a grab when standing and this is what i followed and just add something else smile


Message edited by Omegaxis12 - Sunday, 2012-04-22, 4:00 PM
 
sgn_15Date: Sunday, 2012-04-22, 4:00 PM | Message # 4
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
use pos y >= 0 as trigger to stop the downward velset

remember pos is float value and also that using pos y = 0 is not good enough because that will not trigger if you (p1) did not pass thru pos y = 0 EXACTLY.
0 and above means ground downward


 
Omegaxis12Date: Sunday, 2012-04-22, 4:02 PM | Message # 5
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
aw typo error sorry sir
but this is what i really put pos y = 0 not y = 0
 
sgn_15Date: Sunday, 2012-04-22, 4:02 PM | Message # 6
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
trigger1 = pos y >= 0

notice the > sign


 
Omegaxis12Date: Sunday, 2012-04-22, 4:04 PM | Message # 7
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
[State 1234, ChangeState]
type = ChangeState
trigger1 = pos y >= 0
value = 50

this is what it should look like sir? gonna try this

EDIT:
still the same bug


Message edited by Omegaxis12 - Sunday, 2012-04-22, 4:05 PM
 
sgn_15Date: Sunday, 2012-04-22, 4:07 PM | Message # 8
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
what is state 1234? tell me what that state does.

what do you want to do when you reach the ground? pos y >= 0 means the ground level of mugen

state 50 is fall state. i don't think you want to use the fall state for that attack. maybe at the end of your attack


 
Omegaxis12Date: Sunday, 2012-04-22, 4:12 PM | Message # 9
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
1234 is the grab attempt while flying sir
yes sir ground level of mugen
this is what i want to do in attempt
when the grab fails and it is near the ground (y=0) it goes to standing state

ye i put state 50 so it doesn't look ugly when the grab fails it just go to standing state (i also tried puting 0 here which is the standing state)

EDIT:
OMG i found the solution it is down button when i remove it and just put a button as the trigger the bug is fix


Message edited by Omegaxis12 - Sunday, 2012-04-22, 4:14 PM
 
sgn_15Date: Sunday, 2012-04-22, 4:18 PM | Message # 10
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
i thought your grab was like this:

grab attempt (p1 not moving) at p2 who is very near or beside p1
then if successful, p1 grabs p2 to the air and slams p2 on the ground

kind of like rock lee's special (if you are familiar with it) where he wraps the opponent then slams it on the ground

that is why i gave you pos y >= 0 as trigger lol. so i misunderstood your idea for your attack

anyway, going back to your problem. you want p1 to go to state 50 if the attack fails? try a simple animtime = 0. that is for the "if grab not successful" situation

the p1stateno in hitdef will take care of the "grab successful" scenario

Added (2012-04-22, 4:18 PM)
---------------------------------------------

Quote (Omegaxis12)
EDIT:
OMG i found the solution it is down button when i remove it and just put a button as the trigger the bug is fix

i don't get it. but if you said the problem is solved, then good smile


 
Omegaxis12Date: Sunday, 2012-04-22, 4:23 PM | Message # 11
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
yeah its like rock lee (im a fan of him LOL)
but their's a difference when it reaches a certain point in the air it just drop p2 hahaha

PS
wait until nxt i might send you the beta of robin biggrin

gonna fix other bug of this attack LOL


Message edited by Omegaxis12 - Sunday, 2012-04-22, 4:23 PM
 
sgn_15Date: Sunday, 2012-04-22, 4:28 PM | Message # 12
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
ok. goodluck. thanks

 
Omegaxis12Date: Sunday, 2012-04-22, 4:47 PM | Message # 13
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
sir i found another proble but don't how to fix this

this is the situation....
p1 is already carrying p2 but the problem is it doesn't stick with p1 but i already used targetbind

this is the pic
 
sgn_15Date: Sunday, 2012-04-22, 4:48 PM | Message # 14
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
post your state with the targetbind

 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz