Adding managedmaterials
From Rigs of Rods Wiki
How to add managedmaterials to a truck:
First, its a good idea to read up on managedmaterials: Truck_Description_File#Managedmaterials
1. Get the following things:
>A standard texture
>A spectacular texture(if wanted)
>A damaged texture (if wanted)
>The name of the material
2. Put this into the .truck file:
managedmaterials ;new_material effect parameters... <materialname> <effectname> mytruckbody.png mytruckbody-dmg.png mytruckbody-spec.png
3. Replace <materialname> with the name of the material.
4. Choose a type of effect, read up on the different effects here: http://wiki.rigsofrods.com/pages/Truck_Description_File#Managedmaterials
Once chosen, put the name of it into the line replacing <effectname>
5. Input the texture names in this order with spaces in between(no commas):
Standard texture, damaged texture, spectacular texture
If you don't have a certain texture, put a "-", also, if you choose the mesh effects, there's no need for a damaged texture.
6. Repeat steps 1-5 for more meshes, making new lines for each mesh.
7. Make sure that the materials are not defined anywhere else (e.g material file)
8. Test it ingame, if:
>It works: Well done!
>it doesn't work: Post here: [1]
This concludes the tutorial on managed materials.


(gold)
(silver)
(bronze)

