• Welcome, Guest. Please login.
 
November 26, 2024, 06:43:15 PM

News:

Anyone found direct-linking to our files will be perma-banned. Click here for more info.


Some Constants Issue

Started by devilgenemugen, January 26, 2013, 11:13:08 PM

Previous topic - Next topic

devilgenemugen

Hi, I am not sure about some of the constants on setting them. The constants are head.pos, mid.pos and run.back.

For head.pos and mid.pos, I was reading pots's constants tutorial but I am not sure about some part:
Quote
Some people set this according to sprite 5000,0, others (including myself) according to the stance, and most don't
set it at all (the shame).
Either way, you get this position like you would for say an explod. You open the SFF and AIR with an adequate
program (like MCM or Fighter Factory) and make an anim with the sprite you want to use to get the position. Then
click and drag the anim axis (crosshair) until it's on the character's head and check the X and Y position, that's
your head.pos.
Let say I want to use my sample character's stance to find the head.pos and I build up the stance anim in the air
file, I click on the anim axis and drag it to the character's head to find the x and y position which is 10 and -
88:


I apply it to my sample character, my sample character get this:

For sprite 5000,0, the x and y position is -13 and -103:.

and I get this:


Which looks wrong. When I check van's Iori, it is -10,-90 and kfm's it is -5,-90, they look quite the same but a few (5 pixels) distance upward:
Original:

Kfm's


I am not sure how does he manage to get Iori's head.pos -10,-90

Another one is the run.back velocity, I can't get the velocity as I manage to get the run.fwd velocity which is 6.5
and it is correct but I notice in the run.back, the velocity has two axis, -10.75360107421875 and -6.5. -6.5 is
self-explanatory but I can't get -10.75360107421875, here are the 3 vel sample of run.back velocity
artmoney data:





So converting them, I got the Y vel:
Tick 1: 4.6875
Tick 2: 4.875
Tick 3: 4.0625

but for the x vel as shown, the first three samples are:
Tick 1: 65525,16148
Tick 2: 65526,23812
Tick 3: 65527,23873

and if I convert it to decimal value, I get:
Tick 1: 65525.246398925
Tick 2: 65526.363342285
Tick 3: 65527.364273071

which looks odd and I can't get the value -10.75360107421875. I am not sure how do I get the value -10.75360107421875?

Jesuszilla

January 26, 2013, 11:14:38 PM #1 Last Edit: January 26, 2013, 11:16:51 PM by Jesuszilla
For head.pos, align it with the sprite used in Clark's Frankensteiner. That's pretty much the standard. The head.pos and mid.pos are pretty much done by eye (and testing).

For mid.pos, you'll want to try to get it in a position where the middle of the body will be most of the time during standing gethits. Use Training by what's-his-face to check this most easily since one of his moves places an axis on the head.pos and the mid.pos.


Just try to keep things peaceful.

devilgenemugen

January 29, 2013, 03:27:08 AM #2 Last Edit: January 29, 2013, 03:37:54 AM by devilgenemugen
Hi, I think I manage to get his head.pos and I get -6, -88 which is very different from Vans's iori which is -10, -90 and it is quite accurate when compare it to King of Fighters 2002:

King of Fighters 2002:


My Modification:


vans's Iori:


Using Training by Stupia:
My Modification:


Vans's Iori:


:-\ but what about the run.back Velocity? I am stuck with it:
Quote
Another one is the run.back velocity, I can't get the velocity as I manage to get the run.fwd velocity which is 6.5
and it is correct but I notice in the run.back, the velocity has two axis, -10.75360107421875 and -6.5. -6.5 is
self-explanatory but I can't get -10.75360107421875, here are the 3 vel sample of run.back velocity
artmoney data:





So converting them, I got the Y vel:
Tick 1: 4.6875
Tick 2: 4.875
Tick 3: 4.0625

but for the x vel as shown, the first three samples are:
Tick 1: 65525,16148
Tick 2: 65526,23812
Tick 3: 65527,23873

and if I convert it to decimal value, I get:
Tick 1: 65525.246398925
Tick 2: 65526.363342285
Tick 3: 65527.364273071

which looks odd and I can't get the value -10.75360107421875. I am not sure how do I get the value -10.75360107421875?

devilgenemugen

Now I get it, I always wonder what does the value 65536 means :P thanks for your help ;)

devilgenemugen

Yeah, you did change, a few pixels away :P: