First attempt at character orientation
This commit is contained in:
@@ -610,11 +610,6 @@ ignoring it for now.
|
||||
thingies, and it, padding? Minus a bit? 0x50 is another non-null byte. Then
|
||||
it's all zeroes until one byte before the first name at 0xee.
|
||||
|
||||
It's hard to say where the alignment should be at this point. We need to compare
|
||||
more characters with each other. Other notes...
|
||||
|
||||
Characters are organised into Squads somehow.
|
||||
|
||||
Individual cells seem to have a flag to say "We have a character in us", but not
|
||||
the number for the character themselves, so the coordinates must be in the
|
||||
per-character records also. There are several candidates for this.
|
||||
@@ -645,8 +640,10 @@ suggested above:
|
||||
| 267 | 1 | Unknown |
|
||||
| 268 | 1 | Health |
|
||||
| 269 | 495 | ??? |
|
||||
| 764 | 1(?) | Squad number? |
|
||||
| 765 | 927 | ??? |
|
||||
| 764 | 1(?) | Squad number |
|
||||
| 765 | 895 | ??? |
|
||||
| 1660 | 1? | Orientation? Could also be `0x680`... |
|
||||
| 1661 | 31 | ??? |
|
||||
|
||||
There's still a lot of bytes to dig through, but this allows me to load the
|
||||
character names from Chapter01 correctly, with the exception of record 57 which
|
||||
@@ -654,10 +651,13 @@ just contains `\x02` and is then null-terminated all the way through - but maybe
|
||||
that's just a data thing.
|
||||
|
||||
How about their types? `HasAction.dat` lists numbers for character types, and
|
||||
those show up immediately before the name. going from the character type to the
|
||||
animation group is not yet fully deciphered - captains mess up a direct
|
||||
those show up immediately before the name. Going from the character type to the
|
||||
animation group is not yet fully deciphered - squad leaders mess up a direct
|
||||
correlation - but a fixed offset table allows me to draw the characters \o/.
|
||||
Orientation is not yet deciphered, however.
|
||||
|
||||
Putting 8 characters onto a map and orienting them in the compass points, we see
|
||||
numbers ranging from 0 to 7 at 0x67c and 0x680. Assuming this is the scheme
|
||||
used, north is value 1, northeast value 2, and northwest value 0.
|
||||
|
||||
Given two characters of the same type, just in different locations, differing
|
||||
values are seen at:
|
||||
|
Reference in New Issue
Block a user