This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
arma3:modeling [2017-01-11 11:00] snakeman added geometry fire header. |
arma3:modeling [2017-01-16 10:00] snakeman added model.cfg header. |
||
---|---|---|---|
Line 52: | Line 52: | ||
If you're having problems with planeX not having breaks engaged on stop- since v1.66 planes use physx wheel setup & you have to setup model & config accordingly. | If you're having problems with planeX not having breaks engaged on stop- since v1.66 planes use physx wheel setup & you have to setup model & config accordingly. | ||
+ | |||
+ | |||
+ | ===== Model.cfg Extern ===== | ||
+ | |||
+ | If you have old model.cfg files that were not so properly made and you just recently started to use pboProject then its most likely you will run into severe model.cfg extern not allowed errors. | ||
+ | |||
+ | You cannot have "class default;" in model.cfg (unless its not the "master" config, but that is beyond the scope of this text). You need to properly fill that class. | ||
+ | |||
+ | Proper class Default: | ||
+ | <code cpp> | ||
+ | class CfgModels | ||
+ | { | ||
+ | class Default | ||
+ | { | ||
+ | isDiscrete = 1; | ||
+ | skeletonInherit = ""; | ||
+ | skeletonBones[] = {}; | ||
+ | }; | ||
+ | </code> | ||
+ | Usually you get default, vehicle, ship, plane, etc type of extern / inherit errors, assuming you have old style lazy / wrong model.cfg writing style. |