PDA

View Full Version : Animations in Malak cutscenes


Pavlos
07-07-2006, 04:19 AM
Now this is odd...

The animations that Malak and Karath play seem to be determined in the dialogue file. However, they all have the same index. There are no scripts referenced in the .dlg, which makes things more annoying. This is highly confusing as I fail to see how these animations are played. DeNCS often cannot hack entry scripts, so it could all be done via that scriptt and I don't know. Could someone have a look at the scene STUNT_03a for me and see if they can decompile the entry script?

stoffe
07-07-2006, 07:22 AM
The animations that Malak and Karath play seem to be determined in the dialogue file. However, they all have the same index. There are no scripts referenced in the .dlg, which makes things more annoying. This is highly confusing as I fail to see how these animations are played.

I assume you mean the m40ab_c01.dlg file in that stunt area? If so it is indeed handled by the DLG file and not by any scripts.

Look at the Stunt List (listed in the root node if you use tk102's DLGEditor). It defines custom models (MDL/MDX resrefs) for the cutscene participants. I would assume these models contain animations specific to this particular cutscene, and they are numbered by the stage of the scene (rather than particular body movement) for simplicity.

This would explain why all the participants fire the same animation number at each entry. The animation number is the same, but the animation at that number in each model corresponds to what they are supposed to do at that "stage" in the cutscene.

Pavlos
07-07-2006, 07:36 AM
Right, thanks. Now it makes sense!