Animations are implemented using the model cfg file and scripts. In the cfg you can define dependencies on variables and the type of animation (rotation, translation...). The animation is displayed depending on the value of the variable. The value is modified by a script (e.g. door animations depend on variables in the door script).
BTW: This is the wrong forum for this topic, the thread should move to the Vehicle Design forum.