YesNoOk
avatar

my character doesn't land properly on the floor axis (Read 286 times)

Started by Froz, March 08, 2012, 01:23:16 am
Share this topic:
my character doesn't land properly on the floor axis
#1  March 08, 2012, 01:23:16 am
  • avatar
  • ****
    • USA

  • Online
once again, I'm here to bug you all with a problem... as the title says my character, Urien, cannot land properly a lot of times, this happens when i preform his "violence knee drop".

I inserted all the suggested codes mentioned before, and these are the results:

pos y > -vel y

Spoiler, click to toggle visibilty

&

pos y >= 0 && vel y > 0

Spoiler, click to toggle visibilty

Here is the download link: http://www.mediafire.com/?6y7sd5xllg82x9e
Re: my character doesn't land properly on the floor axis
#2  March 08, 2012, 01:35:32 am
  • ***
  • Make her whiter! Make her whiter!
    • USA
    • speedy9199.webs.com/index.htm
What is the code for the "violence knee drop" post it here. This is most likely a gravity problem or a state problem. Make sure the state your character is in has the type = A and have gravity added to the statedef to properly land.
The only Mugen creator on this site without a "gay" purple name.  :-X

Little known FACT: If you use the equation, (z)velocity = (((x2-x1)^2 + (y2-y1)^2)^.5) / time and z = a small decimal number in mugen you can get something that follows something else. Useful for heat seeking missiles, black holes, magnet effects, a projectile aimed for an enemy's head... Seriously, try it! It's awesome!
Re: my character doesn't land properly on the floor axis
#3  March 08, 2012, 01:44:21 am
  • avatar
  • ****
    • USA

  • Online
Spoiler, click to toggle visibilty

You can download the character if  you want more details

Quote
Here is the download link: http://www.mediafire.com/?6y7sd5xllg82x9e


Re: my character doesn't land properly on the floor axis
#4  March 08, 2012, 01:54:12 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Despite the change, the vel is still active in the land state. You should 0 the velocity and use posset to put yourself back to ground level.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: my character doesn't land properly on the floor axis
#5  March 08, 2012, 01:56:45 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net

  • Online
Try Pos Y + Vel Y >= 0
Re: my character doesn't land properly on the floor axis
#6  March 08, 2012, 02:02:15 am
  • avatar
  • ****
    • USA

  • Online
Despite the change, the vel is still active in the land state. You should 0 the velocity and use posset to put yourself back to ground level.

so the change state should be like this?

[State 1301, Bla Bla Bla]
type = PosSet
trigger1 = 1
Y = 0

[State 1301, ChangeState]
type = ChangeState
trigger1 = pos y >= 0 && vel y > 0
value = 1305

Try Pos Y + Vel Y >= 0



I think i managed to fix the problem:

Spoiler, click to toggle visibilty
Last Edit: March 08, 2012, 02:09:29 am by Froz
Re: my character doesn't land properly on the floor axis
#7  March 08, 2012, 02:08:29 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net

  • Online
Ya still gotta have a posset to y=0 d00d


also you only need to execute that once, at the start of the landing state, so use !time, not 1
Re: my character doesn't land properly on the floor axis
#8  March 08, 2012, 02:17:00 am
  • avatar
  • ****
    • USA

  • Online
yeah, i replaced 1 with !time and urien unnaturally dropped down like if he was on the moon, but he already works fine without it.
Re: my character doesn't land properly on the floor axis
#9  March 08, 2012, 02:30:40 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You put the posset in the landing state, not in the jumping stuff.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: my character doesn't land properly on the floor axis
#10  March 08, 2012, 02:34:51 am
  • avatar
  • ****
    • USA

  • Online
You put the posset in the landing state, not in the jumping stuff.

whoops! sorry!

but if I remove the coding from his jumping state he floats if his move doesn't contact

Last Edit: March 08, 2012, 02:43:09 am by Froz
Re: my character doesn't land properly on the floor axis
#11  March 08, 2012, 02:51:22 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Nono. You use the changestate to land as expected and described. You ONLY use the posset in the landing state, nowhere else.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: my character doesn't land properly on the floor axis
#12  March 08, 2012, 03:07:35 am
  • avatar
  • ****
    • USA

  • Online
Nono. You use the changestate to land as expected and described. You ONLY use the posset in the landing state, nowhere else.

ok, understood! another stupid question: urien floats in the air after preforming the EX Dangerous Headbutt, but this only happens IF the move does not make contact with the opponent, what I'm i doing wrong?.

Spoiler, click to toggle visibilty
Re: my character doesn't land properly on the floor axis
#13  March 08, 2012, 03:17:18 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You have a posset in the movehit state, you have an iffy trigger in the non movehit, but it sends you to 1305, so you apparently haven't made the posset fix in 1305 yet.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: my character doesn't land properly on the floor axis
#14  March 08, 2012, 03:23:57 am
  • avatar
  • ****
    • USA

  • Online
oh, yeah that was the problem :S , thanks for the help!