This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma:modeling:model_config [2007-07-13 12:44] snakeman created model_config initial page |
arma:modeling:model_config [2017-10-06 22:01] (current) snakeman http to https switch. |
||
---|---|---|---|
Line 3: | Line 3: | ||
**Description** | **Description** | ||
- | The model configuration file (model cfg for short) is the interface between a (P3D) model and the program. | + | The model configuration file (model cfg for short) is the interface between a (P3D) model and the program. The model.cfg would only be necessary if you intend to preview animations and such in O2 using your model. |
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. | 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. | ||
Line 15: | Line 15: | ||
Most models will be able to inherit definitions from basic definitions on higher levels in the data hierarchy. 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. An example hierarchy is described and illustrated below. | ||
- | p:\ofp2\vehicles\model.cfg - Defines a class Default. | + | p:\ofp2\vehicles\model.cfg - Defines a class Default.\\ |
- | p:\ofp2\vehicles\land\wheeled\model.cfg - Defines a class Car. | + | p:\ofp2\vehicles\land\wheeled\model.cfg - Defines a class Car.\\ |
p:\ofp2\vehicles\land\wheeled\landrover\model.cfg - Defines a class LandRover. | p:\ofp2\vehicles\land\wheeled\landrover\model.cfg - Defines a class LandRover. | ||
- | p:\ofp2\vehicles\land\wheeled\landrover\lr6x6_3 - In the model is a property config=LandRover (this feature is not implemented and may never be). | + | p:\ofp2\vehicles\land\wheeled\landrover\lr6x6_3 - In the model is a property config=LandRover (this feature is not implemented and may never be).\\ |
p:\ofp2\vehicles\land\wheeled\landrover\lr6x6_mg240 - Has a LR6x6_MG240.cfg, which inherits from class LandRover and adds definitions for a turret. | p:\ofp2\vehicles\land\wheeled\landrover\lr6x6_mg240 - Has a LR6x6_MG240.cfg, which inherits from class LandRover and adds definitions for a turret. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ModelConfig_ModelCfg1.jpg }} | + | {{ https://pmc.editing.wiki/images/ModelConfig_ModelCfg1.jpg }} |
====== Notes ====== | ====== Notes ====== |