Home › Forums › Modding › [MOD] NSB (Norges Statsbaner) – Norwegian stuff UPDATED (26.09.14.) › Reply To: [MOD] NSB (Norges Statsbaner) – Norwegian stuff
September 8, 2014 at 04:47
#5911
Participant
>The mod will replace the ingame textures, I haven’t figured out how to duplicate vehicles yet, to make them additional to the current ingame content.
You can make duplicate of in-game vehicle following this steps:
- Duplicate vehicle tga texture under res\textures\models\vehicle;
- Duplicate vehicle mtl files under res\models\material\vehicle, change params.map_color_reflect.fileName to your tga texture file name;
- Duplicate vehicle msh files under res\models\mesh\vehicle, change subMeshes.materials to your mtl file name;
- Duplicate vehicle mdl file under res\models\model\vehicle, change appropriate lods.children.id to your msh file name;
- Duplicate vehicle tga icons under res\textures\ui\models\vehicle and res\textures\ui\models_small\vehicle (name must match with mdl).
Than you can change duplicated icons, textures and configs (vehicle name, cost, etc) and it not affect original vehicle:
(On this screenshot I’m forgot to duplicate icon)