This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
modelling:dependenciesamongmodels [2009-07-04 13:40] 127.0.0.1 external edit |
modelling:dependenciesamongmodels [2012-04-04 11:20] Carsten [Human player models] It's the game code that bothers, not the engine |
||
---|---|---|---|
Line 18: | Line 18: | ||
That is, if somebody makes a new human player model and offers it for download, | That is, if somebody makes a new human player model and offers it for download, | ||
you expect it to work exactly like the ones that you already know. | you expect it to work exactly like the ones that you already know. | ||
- | In order to achieve this kind of equivalency, two assumptions must hold: | + | In order to achieve this kind of equivalence, two assumptions must hold: |
The skeleton of the new models must basically match the skeleton of the old models, | The skeleton of the new models must basically match the skeleton of the old models, | ||
and the animation sequence numbers must refer to reasonably identical animations. | and the animation sequence numbers must refer to reasonably identical animations. | ||
- | The animation sequences must match, because the engine has built-in knowledge that, for example, | + | The animation sequences must match, because the game code has built-in knowledge that, for example, |
sequence number 3 refers to an "idle (waiting)" animation, and that sequence number 27 refers to an | sequence number 3 refers to an "idle (waiting)" animation, and that sequence number 27 refers to an | ||
"aiming with a shotgun" animation. It is entirely up to you to animate your model to look at his | "aiming with a shotgun" animation. It is entirely up to you to animate your model to look at his | ||
wrist watch while aiming with the shotgun, or to pick his nose, but it //is// important that | wrist watch while aiming with the shotgun, or to pick his nose, but it //is// important that | ||
sequence number 27 corresponds to some "aiming with a shotgun" animation -- because the same is true | sequence number 27 corresponds to some "aiming with a shotgun" animation -- because the same is true | ||
- | for all other models, and the engine relies on it. | + | for all other models, and the game code relies on it. |
The skeletons must also match, for similar reasons: | The skeletons must also match, for similar reasons: |