YesNoOk
avatar

Get up command (Read 5890 times)

Started by Tekkenthusiast, June 04, 2017, 05:56:23 pm
Share this topic:
Get up command
#1  June 04, 2017, 05:56:23 pm
  • *
    • USA
    • ronlacson1@yahoo.com
I would like my character to have unlimited liedown.time, my character would only get up if i tell him to do so like pressing the up button to stand up, and forward and backward to do roll is there a way to do this? Thanks!
"Come back when you're ready to fight!"
-Heihachi
Re: Get up command
#2  June 04, 2017, 06:15:45 pm
  • ******
  • Video Game Veteran
  • Can you do it? SUREYOUCAN!
    • USA
    • gcnmario.free.fr
In the [Data] section of your character, set the liedown.time to -1? If that doesn't work, just maybe set it rally high, like liedown.time = 1000000000, or something.

"You must defeat my flaming
dragon punch to stand a chance."
Re: Get up command
#3  June 04, 2017, 06:19:53 pm
  • *
    • USA
    • ronlacson1@yahoo.com
In the [Data] section of your character, set the liedown.time to -1? If that doesn't work, just maybe set it rally high, like liedown.time = 1000000000, or something.

Hmm I've already tried the -1 but it doesn't work haha I tried like 99999999999999999999999+ but the health bar still has a "red" part in it lol
"Come back when you're ready to fight!"
-Heihachi
Re: Get up command
#4  June 05, 2017, 05:16:44 am
  • *****
  • Shame on you!
    • USA
If that's a big deal to you, you'll need to make a custom state to go into.
You'll put a changestate into the liedown state. You wont have to change the animation or anything. The custom state will only need another changestate.
I'd suggest not allowing the state to have ctrl=1 in it. Set it to 0 and make the "Up" command work in the CMD to change states. Switch to your get up state, or make your own.

Use debug, ctrl+d to see what state does what if you're not sure.
vVv Gouken718 vVv
Re: Get up command
#5  June 05, 2017, 07:43:26 am
  • *
    • USA
    • ronlacson1@yahoo.com
If that's a big deal to you, you'll need to make a custom state to go into.
You'll put a changestate into the liedown state. You wont have to change the animation or anything. The custom state will only need another changestate.
I'd suggest not allowing the state to have ctrl=1 in it. Set it to 0 and make the "Up" command work in the CMD to change states. Switch to your get up state, or make your own.

Use debug, ctrl+d to see what state does what if you're not sure.

It's not really a big deal lol hahaha but I would like to make my character a full tekken-like mechanics except for the sidestep of course. if I have a tailspin and bound animations i'll make one too but that's too complicated. next I would like to implement is Frame advantage and certain moves that forces the opponent to go into crouch state while blocking the move
"Come back when you're ready to fight!"
-Heihachi
Re: Get up command
#6  June 05, 2017, 07:48:11 am
  • *****
  • Estoy siempre listo para un desafĂ­o.
    • Puerto Rico
    • im41784@yahoo.com
In the [Data] section of your character, set the liedown.time to -1? If that doesn't work, just maybe set it rally high, like liedown.time = 1000000000, or something.

Hmm I've already tried the -1 but it doesn't work haha I tried like 99999999999999999999999+ but the health bar still has a "red" part in it lol

What does the red in the health bar have to do with the lie down time?
Re: Get up command
#7  June 05, 2017, 08:58:38 am
  • *****
  • Shame on you!
    • USA
I _think_ that it's because the character is still in a hit state. So the combo isn't over.
But I have a feeling 2OS will stop by and tell us how I'm wrong and what's actually happening. lol
vVv Gouken718 vVv
Re: Get up command
#8  June 05, 2017, 11:26:29 am
  • *
    • USA
    • ronlacson1@yahoo.com
I _think_ that it's because the character is still in a hit state. So the combo isn't over.
But I have a feeling 2OS will stop by and tell us how I'm wrong and what's actually happening. lol

Yep that's what exactly is haha the character is still in a  hitstate that's why the "red part" is still there
"Come back when you're ready to fight!"
-Heihachi
Re: Get up command
#9  June 08, 2017, 04:44:11 am
  • ****
  • Hey, I'm Grump!
    • USA
    • soldier.ucoz.net/
create a changestate to the permanent liedown state in his getup state and add a changestate to 5101 back to state 5111 so he can still get hit and bounce like in tekken.
the changestates to 705 and 710 are example changestates to a roll forward and roll backward state.

note that if this isnt a full game, it could potentially mess with other characters attacks. the best you can do is what i have it as. hyper attacks send them into the regular gethit state and the rest, the bouncing state.

Code:
;---------------------------------------------------------------------------
; HIT_BOUNCE (bounce into air)
[Statedef 5101]
type    = L
movetype= H
physics = N
sprpriority = 0

[state 5111, 0]
type = changestate
trigger1 = prevstateno = 5111
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 12
value = 5111

Code:
;---------------------------------------------------------------------------
; HIT_LIEDOWN_PERMANENT
[Statedef 5111]
type    = S
movetype= I
physics = N
sprpriority = 0
ctrl = 0

[State 0, HitOverride]
type = HitOverride
trigger1 = 1
attr = SCA,NA,SA
stateno = 5101
slot = 0
time = -1
ignorehitpause = 1

[State 0, HitOverride]
type = HitOverride
trigger1 = 1
attr = SCA,HA
stateno = 5000
slot = 1
time = -1
ignorehitpause = 1

[state 5111, 0]
type = changestate
trigger1 = command = "back"
value = 710

[state 5111, 0]
type = changestate
trigger1 = command = "fwd"
value = 705

[state 5111, 0]
type = changestate
trigger1 = command = "up"
value = 5120
;---------------------------------------------------------------------------
; HIT_GETUP
[Statedef 5120]
type    = L
movetype= I
physics = N
sprpriority = 0

[state 5110, 16]
type = changestate
trigger1 = time = 0
value = 5111
ctrl = 0

(Youtube) (WIP) (Mediafire) (New Anime Shop) My Manga Reviews! Personal favorite Patreon! Check her out!

"There is nothing either good or bad, but thinking makes it so."
Last Edit: June 08, 2017, 05:12:17 am by Noctis
Re: Get up command
#10  June 09, 2017, 03:44:41 pm
  • *
    • USA
    • ronlacson1@yahoo.com
create a changestate to the permanent liedown state in his getup state and add a changestate to 5101 back to state 5111 so he can still get hit and bounce like in tekken.
the changestates to 705 and 710 are example changestates to a roll forward and roll backward state.

note that if this isnt a full game, it could potentially mess with other characters attacks. the best you can do is what i have it as. hyper attacks send them into the regular gethit state and the rest, the bouncing state.

Code:
;---------------------------------------------------------------------------
; HIT_BOUNCE (bounce into air)
[Statedef 5101]
type    = L
movetype= H
physics = N
sprpriority = 0

[state 5111, 0]
type = changestate
trigger1 = prevstateno = 5111
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 12
value = 5111

Code:
;---------------------------------------------------------------------------
; HIT_LIEDOWN_PERMANENT
[Statedef 5111]
type    = S
movetype= I
physics = N
sprpriority = 0
ctrl = 0

[State 0, HitOverride]
type = HitOverride
trigger1 = 1
attr = SCA,NA,SA
stateno = 5101
slot = 0
time = -1
ignorehitpause = 1

[State 0, HitOverride]
type = HitOverride
trigger1 = 1
attr = SCA,HA
stateno = 5000
slot = 1
time = -1
ignorehitpause = 1

[state 5111, 0]
type = changestate
trigger1 = command = "back"
value = 710

[state 5111, 0]
type = changestate
trigger1 = command = "fwd"
value = 705

[state 5111, 0]
type = changestate
trigger1 = command = "up"
value = 5120
;---------------------------------------------------------------------------
; HIT_GETUP
[Statedef 5120]
type    = L
movetype= I
physics = N
sprpriority = 0

[state 5110, 16]
type = changestate
trigger1 = time = 0
value = 5111
ctrl = 0

Works like a beast thanks for the help :)
"Come back when you're ready to fight!"
-Heihachi