I've been asked how to add more custom posters to the Stadtdekoration-mod, so here are the instructions:
This describes how to add a new poster in era c
1.
Go to: "\mark_86_stadtdeko_0\res\textures\models\asset\mark_86_plakatmod\era_c"
Add your new texture (or copy an existing one and replace it later) and name it "mark_86_plakatmod_c_custom01_ao.dds" (01 for the first, if you want to add more, the second will be 02 etc.).
You can give another name, in these instructions I go on with this one.
Note that you can also use other texture sizes, if you want more or less quality (e.g. 256x256, 512x512 etc.).
2.
Go to: "\mark_86_stadtdeko_0\res\models\material\asset\mark_86_plakatmod\era_c"
Copy one of the existing files and rename the copy to: "mark_86_plakatmod_c_custom01_mat.mtl"
open it.
Change the line:
fileName = "models/asset/mark_86_plakatmod/era_c/mark_86_plakatmod_c_01_ao.dds",
to
fileName = "models/asset/mark_86_plakatmod/era_c/mark_86_plakatmod_c_custom01_ao.dds",
save.
3.
Go to: "\mark_86_stadtdeko_0\res\models\model\asset\mark_86_plakatmod\era_c"
Copy one of the existing files and rename the copy to: "mark_86_plakatmod_c_custom01.mdl"
open it.
Change the lines:
materials = { "asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_01_mat.mtl", },
to
materials = { "asset/mark_86_plakatmod/era_c/mark_86_plakatmod_c_custom01_mat.mtl", },
this line occurs twice (for lod0 and lod1) so make sure to change them both.
Save.
4.
Go to: "\mark_86_stadtdeko_0\res\construction\asset"
Open the file "mark_86_plakatmod_con.con"
On top at
local plakatmod_c_random = {
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_01.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_02.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_03.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_04.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_05.mdl",
}
add the line
local plakatmod_c_random = {
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_01.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_02.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_03.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_04.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_05.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_c_custom01.mdl",
}
save.
5.
If you want your poster to be also built automatically with the industry buildings like the existing ones, go to: "\mark_86_stadtdeko_0\res\scripts"
Open the file "assetutil_mark_86.lua"
at
["era_c_mark_86_plakatmod"] = {
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_01.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_02.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_03.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_04.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_05.mdl",
},
add the line
["era_c_mark_86_plakatmod"] = {
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_01.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_02.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_03.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_04.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_era_c_05.mdl",
"asset/mark_86_plakatmod/era_c/mark_86_plakatmod_c_custom01.mdl",
},
save.
Don't forget to backup all your custom files, especially before updating the mod!
If an update comes and you update the mod by overwriting the old version, to make your posters work again:
If the "mark_86_plakatmod_con.con" and "assetutil_mark_86.lua" (if you modified that too) in the new version didn't change, just replace them with your files from your backup, so everything should work again.
If the "mark_86_plakatmod_con.con" and "assetutil_mark_86.lua" (if you modified that too) in the update are new versions (I would write that in the update notes, if this would be the case), you have to redo the changes (steps 4 and 5).