Configuration files

The program uses few configurations files which are described in sections below.

Multipaintjobs for INST objects

Filename (1): my_city.3ds.paintjobs

This is text file, you can edit it with notepad. In this file you can specify suffixs for paintjobs. By default MM2CT creates one paintjob for INST object, but when it finds object name in (1), the program creates as many paintjobs as many suffixs you specified (it works the same as exporter in ZModeler).

First suffix is base suffix and the rest is just replacements. The synatex of the file is easy NAME:SUFFIX1,SUFFIX2,SUFFIX3 and the sample file looks file this:

BH105:_A,_B,_C
PH228:_A,_B,_C

Custom bound material

Filename (1): my_city.3ds.bounds

This is text file, you can edit it with notepad. In this file you can specify material for bound for every inst and props objects. By default MM2CT uses:

mtl default {
  elasticity: 0.100000
  friction: 0.500000
  effect: none
  sound: 0
}

as material. You can overwrite this settings in (1). The syntax is very easy:

list of objects
defition of material
list of objects
defition of material
...
list of objects
defition of material

where:

Here is sample file:

PH176,PH156,PH144,PH159,PH154,PH175,PH180
mtl cobblestone {
  elasticity: 0.900000
  friction: 0.900000
  effect: none
  sound: 0
  drag: 0.000000
  width: 0.000000
  height: 0.000000
  depth: 0.0000
  ptxindex: 4 7
  ptxthreshold: 0.25 0.3
}
PH152,PH153,PH174
mtl grass {
  elasticity: 0.900000
  friction: 0.900000
  effect: none
  sound: 2
  drag: 0.0
  width: 0.450000
  height: 0.040000
  depth: 0.100000
  ptxindex: 1 2
  ptxthreshold: 0.25 0.5
}
PH168
mtl sand {
  elasticity: 0.900000
  friction: 0.90000
  effect: none
  sound: 0
  drag: 1.000000
  width: 0.450000
  height: 0.050000
  depth: 0.10000
  ptxindex: 1 5
  ptxthreshold: 0.25 0.5
}
PH169
mtl water {
  elasticity: 0.190000
  friction: 0.680000
  effect: none
  sound: 1
  drag: 0.119000
  width: 2.420000
  height: 0.0000
  depth: 0.10000
  ptxindex: -1 6
  ptxthreshold: 0 0
}

Custom BAI parameters

Filename (1): city/my_city_bai_params.txt
or
Filename (2): my_city.3ds.bai_params

Both files have the same text format (you can edit them with notepad but it's recommended to use MM2CT). MM2CT creates (1) when you are editing bai parameters in the program. You can copy (1) as (2) without any problem. When you are importing .3ds file, first MM2CT checks if there is (2). If the file exists, it's used to customize ambient traffic in the importing city, so you don't have to edit traffic configuration every time you import the city. If there is no (2), then the program checks for (1) and uses it if exists. If there is no (1) and no (2), MM2CT uses generates default bai configuration.