mugen chars, rare characters
Mugen | CHAT | i need help for Guard,Dash and Hit code for a Flying Char - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
i need help for Guard,Dash and Hit code for a Flying Char
Omegaxis12Date: Sunday, 2012-04-15, 9:25 AM | Message # 1
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
so this is the situation,
this is my 1st time creating mugen character (still a noob)
im currently making Nico Robin from one piece GB2
i can make her fly with the use of the command thatthesharkBN created and i saw sgn_15 posted from other forum (tnx to them biggrin )
what i need now are codes for guard, dash and hit when my character is flying
i need it to be different with my guard and hit when it is jumping and dash when it is standing
i want to use different sprite for flying mode

here is the image of my flying robin:


this is where you can find the code my using:
here

P.S
sorry for the bad english tongue


Message edited by Omegaxis12 - Sunday, 2012-04-15, 9:28 AM
 
sgn_15Date: Sunday, 2012-04-15, 9:35 AM | Message # 2
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
hi. you know me ? o_0

hmmm... i will say what i have in mind but i did not try them in actual coding. try them yourself. for guard, you can use a changestate (in state -2) triggered by p2statetype = A and p2bodydist < 20 and stateno = 1900 to your guard state (type = A). then just go back to flying stance state (1900) when animtime = 0

state -2 is always active. but you made it to trigger only when you (i mean your char) is only in state 1900 (flying mode)

try that first

also, change your state 1900 type to A, because if your type is S , S means standing, so when you are hit, you don't fall down to the ground, instead you are stuck in mid-air but in stance (state 0)

for dash, just make a simple state with a velset inside it. you can go to this dash state by pressing any of the 7 buttons while in state 1900. you can't use the 4 directions as triggers since you already use them for flying up, down, left and right.

goodluck


 
Omegaxis12Date: Sunday, 2012-04-15, 9:45 AM | Message # 3
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
i don't know you tongue but the one you posted from the other forum is the 1 i use biggrin
and you're my idol lol

tnx for the help i'll try it (hope i can work on it)

Added (2012-04-15, 9:45 AM)
---------------------------------------------
i don't know you tongue but the one you posted from the other forum is the 1 i use biggrin
and you're my idol lol

tnx for the help i try it

Message edited by Omegaxis12 - Sunday, 2012-04-15, 9:45 AM
 
sgn_15Date: Sunday, 2012-04-15, 9:46 AM | Message # 4
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
ok. thanks.

i have forgotten something i remembered now. normal guard is automatic if your opponent is within considerable distance from you and attacking you and you are not in attacking state yourself so add to this

Quote (sgn_15)
hmmm... i will say what i have in mind but i did not try them in actual coding. try them yourself. for guard, you can use a changestate (in state -2) triggered by p2statetype = A and p2bodydist < 20 and stateno = 1900 to your guard state (type = A). then just go back to flying stance state (1900) when animtime = 0

another trigger.... movetype != A


 
Omegaxis12Date: Sunday, 2012-04-15, 9:54 AM | Message # 5
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
sir i'm currently working on dash because i think it is the easiest

Quote (sgn_15)
for dash, just make a simple state with a velset inside it. you can go to this dash state by pressing any of the 7 buttons while in state 1900. you can't use the 4 directions as triggers since you already use them for flying up, down, left and right.


how about... can i use this command for activating the dash

;Dash Fwd
[State -1, Dash Fwd]
type = ChangeState
value = 1910
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl


Message edited by Omegaxis12 - Sunday, 2012-04-15, 9:54 AM
 
sgn_15Date: Sunday, 2012-04-15, 10:03 AM | Message # 6
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Quote (Omegaxis12)
;Dash Fwd
[State -1, Dash Fwd]
type = ChangeState
value = 1910
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl

yeah sure. if it works then good. anything that is not those 4 directions is ok.


 
Omegaxis12Date: Sunday, 2012-04-15, 10:24 AM | Message # 7
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
what's wrong with this? sad
CNS:
;Flying Dash FWD
[Statedef 1910]
type = A
physics = S
anim = 1910
sprpriority = 1

[State 1910, FlyDashFWD]
type = VelAdd
trigger1 = command = "FF"
x = 0.8

[State 1910,FlyDashFWD]
type = VelSet
trigger1 = command = "FF"
trigger1 = Vel X < 0
x = 0

[State 1910, FlyDashFWD]
type = ChangeAnim
trigger1 = Anim = 1910
trigger1 = command = "FF"
value = 1910

CMD:
;Flying Dash Fwd
[State -1, Dash Fwd]
type = ChangeState
value = 1910
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl

help pls
sorry im a noob sad


Message edited by Omegaxis12 - Sunday, 2012-04-15, 10:24 AM
 
sgn_15Date: Sunday, 2012-04-15, 10:29 AM | Message # 8
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
is this dash only usable while in flying mode? or also for jump?

if only for flying mode, then this should be in cns (inside state 1900)
Quote (Omegaxis12)
CMD:
;Flying Dash Fwd
[State -1, Dash Fwd]
type = ChangeState
value = 1910
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl


make something simple first for the dash state

;Flying Dash FWD
[Statedef 1910]
type = A
physics = N
anim = 1910
sprpriority = 1

[State 1910,FlyDashFWD]
type = VelSet
trigger1 = 1 ;means always true. you can also use other triggers you want
x = 20 ;<------------ you can change this to whatever speed you want

[State -1, Dash Fwd]
type = ChangeState
value = 1900
trigger1 = command != "FF" ;<------- this means you go back to flying state once you are not pressing FF anymore. you can also use animtime = 0 or other triggers


 
Omegaxis12Date: Sunday, 2012-04-15, 11:04 AM | Message # 9
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
tnx for the help smile
i tried everything i can but still not going dash tongue


Message edited by Omegaxis12 - Sunday, 2012-04-15, 11:44 AM
 
sgn_15Date: Sunday, 2012-04-15, 12:16 PM | Message # 10
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
ok i tried it in my char with the same flying codes (1900,1901, etc)

put this inside staet 1900

;Flying Dash Fwd
[State -1, Dash Fwd]
type = ChangeState
value = 1910
trigger1 = command = "FF"

this is your dash state

;Flying Dash FWD
[Statedef 1910]
type = A
physics = N
anim = 1910
sprpriority = 1

[State 1910,FlyDashFWD]
type = VelSet
trigger1 = 1 ;means always true. you can also use other triggers you want
x = 20 ;<------------ you can change this to whatever speed you want

[State -1, Dash Fwd]
type = ChangeState
value = 1900
trigger1 = animtime = 0 ;<---------adjust the time of your animation 1910
ctrl = 1

Added (2012-04-15, 12:16 PM)
---------------------------------------------
and yeah it worked in my char




Message edited by sgn_15 - Sunday, 2012-04-15, 12:17 PM
 
Omegaxis12Date: Sunday, 2012-04-15, 1:14 PM | Message # 11
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
o f*ck now i know my mistake
the positioning of state -1

TNX ur really a great help


Message edited by Omegaxis12 - Sunday, 2012-04-15, 3:40 PM
 
sgn_15Date: Sunday, 2012-04-15, 1:16 PM | Message # 12
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
no problem. glad to help people. just ask again if you have more questions or problems

 
Omegaxis12Date: Sunday, 2012-04-15, 5:25 PM | Message # 13
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
i saw these 2 codes in the fly codes at cmd

[State -1, Fly]
type = ChangeState
triggerall = Var(15)= 1 && movetype != H && stateno = 1900
trigger1 = alive = 1 && p2statetype = S && p2dist Y> 100
trigger1 = P2Life > 0 && p2stateno = 0 || p2stateno = 20 || p2stateno = 11
trigger2 = p2statetype != A && time > 90 && pos Y!= 0
value = 50

[State -3, AirGuard]
type = ChangeState
triggerall = (Var(0) = 1) && (StateType = A) && (Pos Y < 0) && (P2BodyDist Y >= -120)
triggerall = (StateType = A) && (P2MoveType = A)
trigger1 = ((P2BodyDist X <= 120) && (Ctrl)) || (StateNo = [140, 155])
value = 132

these are the codes for flying hit and guard right?
if yes then i will not make a cns for both of them?, i'll just change the value to the value of my flying hit and guard animation biggrin

gonna work for flying attacks now biggrin
 
sgn_15Date: Sunday, 2012-04-15, 5:32 PM | Message # 14
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
state 50 is jump state
state 132 is air guard state

those will use your animations for guard and jump, not your flying anims

Added (2012-04-15, 5:32 PM)
---------------------------------------------
btw send me the char when you are done smile


 
Omegaxis12Date: Sunday, 2012-04-15, 5:34 PM | Message # 15
Knight
Group: contributor
Messages: 169
Awards: 0
Reputation: 5
Reproofs: 0%
Status: Offline
i tested and i think ur right tongue
and yeah i will send u the char when it's ill let you be the first one to test it
but its still 30% done tongue


Message edited by Omegaxis12 - Sunday, 2012-04-15, 5:37 PM
 
Search:

Copyright MyCorp © 2024 Create a free website with uCoz