trezero
8th Jul 2008, 10:55 PM
This image is a visual representation of the relationships/links among sims 2 resources. It's not meant to show WHY the links are there, or WHAT the links are for; it just gives a brief overview of what connects to what, and HOW the connections are made.
http://thumbs.modthesims2.com/getimage.php?file=782836
Most of the important notes are on the graph, but to reiterate:
First, this image does NOT show everything: Bhav-2-Bhav connections, and actual OBJD attributes/flags/etc. are not shown. It doesn't show repetetive (several SHPE references in one CRES) or recursive (a main OBJD linking to other OBJDs) links either, for the sake of simplicity. (Every bit helps!)
Also, Sound isn't shown in this version. To be frank, I completely spaced it. Plus I don't know how they work. (yet!)
I'd LIKE to continue with this, and create a graph dealing specifically with the BHAVs/attributes, but I know far too little about BHAVs.
Solid lines represent true links: For example, each SHPE resource contains the name of the TXMT packagess it uses.
Dashed lines represent implicit, or sub-resource links: Example, each SHPE does not link directly to a GMDC, but it does link to groups in the GMDC (by name).
String links specify a line number in a specific STR# file, and take the referenced name from the string file. Example, the OBJD has a field '0x0048 Object model GUID 1' that contains a number. The game uses this number as the line number in STR# 85 (ALWAYS in STR#85), and finds the CRES from the name in the STR.
http://thumbs.modthesims2.com/getimage.php?file=782840
I also simplified the Animation BHAVs a bit, as they are VERY complicated. If you don't mind a more complex graph in exchange for more breakdown of animation BHAVs, the 2nd attached image shows specifics on the STR# links.
http://thumbs.modthesims2.com/getimage.php?file=782836
Most of the important notes are on the graph, but to reiterate:
First, this image does NOT show everything: Bhav-2-Bhav connections, and actual OBJD attributes/flags/etc. are not shown. It doesn't show repetetive (several SHPE references in one CRES) or recursive (a main OBJD linking to other OBJDs) links either, for the sake of simplicity. (Every bit helps!)
Also, Sound isn't shown in this version. To be frank, I completely spaced it. Plus I don't know how they work. (yet!)
I'd LIKE to continue with this, and create a graph dealing specifically with the BHAVs/attributes, but I know far too little about BHAVs.
Solid lines represent true links: For example, each SHPE resource contains the name of the TXMT packagess it uses.
Dashed lines represent implicit, or sub-resource links: Example, each SHPE does not link directly to a GMDC, but it does link to groups in the GMDC (by name).
String links specify a line number in a specific STR# file, and take the referenced name from the string file. Example, the OBJD has a field '0x0048 Object model GUID 1' that contains a number. The game uses this number as the line number in STR# 85 (ALWAYS in STR#85), and finds the CRES from the name in the STR.
http://thumbs.modthesims2.com/getimage.php?file=782840
I also simplified the Animation BHAVs a bit, as they are VERY complicated. If you don't mind a more complex graph in exchange for more breakdown of animation BHAVs, the 2nd attached image shows specifics on the STR# links.