This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma2:tools:convertwrp [2010-07-16 06:23] snakeman created convertwrp initial page. |
arma2:tools:convertwrp [2017-02-28 07:00] snakeman fixed mikero tools homepage link to a new domain. |
||
---|---|---|---|
Line 62: | Line 62: | ||
You can have a default configuration file or a special, or none at all. If a config file is specified on the command line. That file predominates. If none specified the exe looks for a default configuration file in the same folder as the WRP. The default name is, EITHER, the NameOfWrp.cfg,,, OR, a more generalised 'PEW.cfg', if both exist, the NameOfWrp.cfg predominates. If neither exist, the exe looks for a default file in the 'current directory' which is not necessarily that of the WRP. If no config file is found, the exe sets it's own default values. Specifically, all objects are set to 'natural'. | You can have a default configuration file or a special, or none at all. If a config file is specified on the command line. That file predominates. If none specified the exe looks for a default configuration file in the same folder as the WRP. The default name is, EITHER, the NameOfWrp.cfg,,, OR, a more generalised 'PEW.cfg', if both exist, the NameOfWrp.cfg predominates. If neither exist, the exe looks for a default file in the 'current directory' which is not necessarily that of the WRP. If no config file is found, the exe sets it's own default values. Specifically, all objects are set to 'natural'. | ||
- | An example PEW.Cfg is contained in this package. | + | Here is quite nice configuration file for ArmA 2 Combined Operations (ArmA 2 + ArmA 2 Operation Arrowhead + British Armed Forces + Private Military Contractors DLC's). |
- | + | ||
- | **PEW_chernarus.cfg** | + | |
<code cpp> | <code cpp> | ||
+ | /* | ||
+ | |||
+ | ArmA 2 Combined Operations + DLC objects | ||
+ | |||
+ | */ | ||
#define NATURAL 1 | #define NATURAL 1 | ||
#define ARTIFICIAL 2 | #define ARTIFICIAL 2 | ||
Line 88: | Line 91: | ||
{RGB_LIGHT_GREEN,NATURAL}, | {RGB_LIGHT_GREEN,NATURAL}, | ||
{ | { | ||
+ | "ca\plants_e", | ||
+ | "ca\plants_pmc", | ||
"ca\plants2" | "ca\plants2" | ||
} | } | ||
Line 94: | Line 99: | ||
{RGB_BLACK,ARTIFICIAL}, | {RGB_BLACK,ARTIFICIAL}, | ||
{ | { | ||
- | "ca\roads", | ||
- | "ca\roads2" | ||
} | } | ||
}, | }, | ||
Line 111: | Line 114: | ||
{RGB_BLUE,ARTIFICIAL}, | {RGB_BLUE,ARTIFICIAL}, | ||
{ | { | ||
+ | "ca\misc", | ||
+ | "ca\misc_e", | ||
+ | "ca\misc_fix" | ||
+ | "ca\misc2", | ||
+ | "ca\misc3", | ||
+ | "ca\signs_e", | ||
+ | "ca\signs2" | ||
} | } | ||
}, | }, | ||
Line 117: | Line 127: | ||
{ | { | ||
"ca\buildings", | "ca\buildings", | ||
- | "ca\structures" | + | "ca\buildings2", |
+ | "ca\structures", | ||
+ | "ca\structures_e", | ||
+ | "ca\structures_pmc" | ||
} | } | ||
}, | }, | ||
Line 123: | Line 136: | ||
{RGB_GREY,NATURAL}, | {RGB_GREY,NATURAL}, | ||
{ | { | ||
- | "ca\rocks" | + | "ca\rocks_e", |
+ | "ca\rocks2" | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | {RGB_GREY,ARTIFICIAL}, | ||
+ | { | ||
+ | "ca\roads", | ||
+ | "ca\roads_e", | ||
+ | "ca\roads_pmc", | ||
+ | "ca\roads2" | ||
} | } | ||
}, | }, | ||
Line 130: | Line 153: | ||
</code> | </code> | ||
- | Requires DePbo.dll - Check [[http://dev-heaven.net/projects/mikero-pbodll|Mikero tools homepage]] in Dev-Heaven. | + | Requires DePbo.dll - Check [[http://dev.withsix.com/projects/mikero-pbodll/files|Mikero tools homepage]] in Dev-Heaven. |