An object's frames are defined in its entry in the Things Section of a level file. The parameter, numframes=x, specifies the number of frames the object will have. The actual frames are defined with frame=(x/y/z:p/y/r) - where x/y/z is the position and p/y/r is the pitch, yaw, and roll that the object will have at that frame. The position is measured in JKUs and the direction in degrees.