User Tools

Site Tools


ofp:tools:cfgcheck

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ofp:tools:cfgcheck [2007-07-10 05:56]
snakeman created cfgcheck initial page
ofp:tools:cfgcheck [2007-07-10 10:52] (current)
Line 172: Line 172:
  
 Basically ManPosDead is a synonym for 0 and ManPosFoo for 1, a.s.o. You need these enum-constants in the MOD\bin\config.cpp,​ if you want to use a cpp in your Mod instead of a binary config. Please look into the commented config by BIS and search for enum and copy every enum declaration over to your config.cpp. CfgCheck knows about enum, enums are parsed and checked for errors, but they do not influence the output config in any way (yet). So for beautified configs, you have to copy over the enum declaration. I'll research further in what way to handle enum correctly. Basically ManPosDead is a synonym for 0 and ManPosFoo for 1, a.s.o. You need these enum-constants in the MOD\bin\config.cpp,​ if you want to use a cpp in your Mod instead of a binary config. Please look into the commented config by BIS and search for enum and copy every enum declaration over to your config.cpp. CfgCheck knows about enum, enums are parsed and checked for errors, but they do not influence the output config in any way (yet). So for beautified configs, you have to copy over the enum declaration. I'll research further in what way to handle enum correctly.
 +
  
 ====== Notes ====== ====== Notes ======
Line 178: Line 179:
 vektorboson (Lukas Pinkowski), vektorboson@gmx.de ​ vektorboson (Lukas Pinkowski), vektorboson@gmx.de ​
  
-**Credits**:​+**Credits**:​\\
 Mike Andrew for file format descriptions Mike Andrew for file format descriptions
  
 Download from [[http://​home.arcor.de/​vektorboson/​|here]]. Download from [[http://​home.arcor.de/​vektorboson/​|here]].
ofp/tools/cfgcheck.txt ยท Last modified: 2007-07-10 10:52 (external edit)