Need help interperting hrc files

  • Thread starter Thread starter Alhexx
  • Start date Start date
Status
Not open for further replies.
A

Alhexx

Guest
I'm workin on a whole-model-view-option for ultima, but I've got a serious problem with the hrc-files: I don't know how to handle them exactly. Here's a example from file aagb.hrc::HEADER_BLOCK 2      < Header Block
:SKELETON n_tifa_sk   < Name of Skeleton
:BONES 24      < Count of Bones below

hip         < Name of current Bone
root         < Name of parent Bone
3.915372      < Unknown Value
1 AAGC         < Unknown name
.
.
.


The two "unknown" are the problem. How do I interpret them?
I guess that if the unknown name is '1 AAGC' the .p file for this bone is 'AAGD'. Right?
But I've got no idea what to do with the Unknown Value...

mirex: I know you know how to interpret this crap, b'cause you've written a workin' tool for that...

- Alhexx
 
The file name is the name of an RSD file, which is usually nearly the same as the name of the .P file it uses. But you can't be *certain* the .P file will be one letter on, so you should open the RSD to find out which .P file is being referred to.
 
The numerical unknown value is supposed to be some sort of co-ordinate / distance system which I haven't quite figured out its format yet.
 
Damn, I'm stupid...  :wink:Alright, I'll take a look at it...

- Alhexx
 
First float is length of bone from (0,0,0) of parent p-model to (0,0,0) of child model. Then next line, first number is count of rsd-s, then there are names of rsd-s. In rsd files you find name of p-model and texture names.
 
Okay, thanx! I'll take a look at it later. First I think I've got to hack on on that .p format. - Alhexx
 
Status
Not open for further replies.
Back
Top