cfg is parsed alongside of the other model cfg files and therefore the model can be seen as an additional level in the hierarchy. cfg are present, only the latter is parsed. There can be several model cfg files, named by default model.cfg, named after the folder name or named after a specific model. The model cfg follows a set of naming conventions. p:\ofp2\vehicles\land\wheeled\landrover\lr6圆_mg240 - Has a LR6圆_MG240.cfg, which inherits from class LandRover and adds definitions for a turret.Īt this stage the file is parsed during the binarization of a model and animations can be played in the program with user actions.Įventually they can be previewed using the Buldozer viewer.p:\ofp2\vehicles\land\wheeled\landrover\lr6圆_3 - In the model is a property config = LandRover (this feature is not implemented and may never be).p:\ofp2\vehicles\land\wheeled\landrover\model.cfg - Defines a class LandRover.p:\ofp2\vehicles\land\wheeled\model.cfg - Defines a class Car.p:\ofp2\vehicles\model.cfg - Defines a class Default.An example hierarchy is described and illustrated below. Most models will be able to inherit definitions from basic definitions on higher levels in the data hierarchy. This is done by the introduction of a class AnimationSources in the main configuration file (the designer part) and the continuing use of the class Animations in the model cfg (the artist part). This means that several object classes can use the same model and don't have to define the animations for this model seperately.Ī goal of the system is to seperate the configuration of models into a designer and an artist part. This system is more flexible than the one previously used, because all the information is stored for the model and not for the object class in the main configuration file. It is a look-up table which is processed during the binarization process, to tell the program what the various sections of the model are, which skeleton it uses and how it is animated. The model configuration file (model cfg for short) is the interface between a (P3D) model and the program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |