When Almas became amazing and debugged his new codes, we added in Data Index.
Data Index controls individual character physics like the old grav/jump code did. However, we stuck it in, but left the old gravity engine and data set in (so Data Index was never actually used, it was just filler data at that point). Basically we left a bigass code to take up space even though its amazing when everything Almas revamped falls into place.
To port or modify physics, just drag all the numbers from the old engine barring Character ID (Data Index simply reads data in order of characters), and the filler value 0.
So Sonic under old physics looks like this:
2F34ED40
Take out the ID and filler and you get: 34ED4
34ED44A0 3FE00000
the 4 and A values afterward are at default for everyone. I'll need Almas to respond to my question as to what those control.
So... (all of this has already been constructed and B+ ready by Almas here, and we already have the Data Index and Character ID fix 2.1 in):
- Get rid of the old Grav Values Modifier and Jump/Grav Values, replace with "Gravity Modification Engine," new "Launch Modifier Engine," "16 floats," and "Velocity Modifiers Format".
- Get rid of "Momentum Capture V4.3" and "Momentum Capture Data", replace with Almas's "Momentum Capture" and "Momentum Exemption List"
- NOT YET WORKING AT TIME OF POST: Add "Custom Gravity Modifiers," which will now allow us to individually modify specific gravity of actions (this used to be written into the Gravity Code itself IIRC, hence why I couldn't find any trace of it in the codeset or on Magus' revision thread).
Why this is important:
- More options to use in editing characters (should they be needed).
- Slightly more efficient due to many of the codes citing data in Data Index instead of needing to redundantly have their own entries to read.
- Don't downplay Almas's work. =V
Data Index controls individual character physics like the old grav/jump code did. However, we stuck it in, but left the old gravity engine and data set in (so Data Index was never actually used, it was just filler data at that point). Basically we left a bigass code to take up space even though its amazing when everything Almas revamped falls into place.
The current Data Index in there basically has the most current physic changes in there (Since August 7th, 2009!) so only physic changes I know of that were modified before then are: Marth, Falco is in the works I hear, and Tool Link.Data Index Format:
For each character in order, with ABCDEFGH being the positions of the fractions defined by the Velocity Modifiers code, and NNNNNNNN being a 32-bit value for momentum (75% is 0.75).Code:06580000 BYTECOUN ABCDEFGH NNNNNNNN 00000000 00000000 ZYXWVUTS MMMMMMMM 00000000 00000000
To port or modify physics, just drag all the numbers from the old engine barring Character ID (Data Index simply reads data in order of characters), and the filler value 0.
So Sonic under old physics looks like this:
2F34ED40
Take out the ID and filler and you get: 34ED4
34ED44A0 3FE00000
the 4 and A values afterward are at default for everyone. I'll need Almas to respond to my question as to what those control.
So... (all of this has already been constructed and B+ ready by Almas here, and we already have the Data Index and Character ID fix 2.1 in):
- Get rid of the old Grav Values Modifier and Jump/Grav Values, replace with "Gravity Modification Engine," new "Launch Modifier Engine," "16 floats," and "Velocity Modifiers Format".
- Get rid of "Momentum Capture V4.3" and "Momentum Capture Data", replace with Almas's "Momentum Capture" and "Momentum Exemption List"
- NOT YET WORKING AT TIME OF POST: Add "Custom Gravity Modifiers," which will now allow us to individually modify specific gravity of actions (this used to be written into the Gravity Code itself IIRC, hence why I couldn't find any trace of it in the codeset or on Magus' revision thread).
Why this is important:
- More options to use in editing characters (should they be needed).
- Slightly more efficient due to many of the codes citing data in Data Index instead of needing to redundantly have their own entries to read.
- Don't downplay Almas's work. =V