Removing managedmaterials
From Rigs of Rods Wiki
This is a tutorial on how to remove the managedmaterials from trucks:
(this will exclude Box5s creations, that will be later)
Make sure your getting permission from the author if your releasing (better to ask anyway)
1. Have a look at the truck file, find the managed materials section.
2. Now you need to note down:
>the first name, E.g: lexuswindows
>the second name, E.g: lexuswindows.png
3. Repeat step 1 for all the lines under managedmaterials.
4. Now make a simple material file, open notepad and put:
material <first name here>
{
technique
{
pass
{
texture_unit
{
texture <second name here>
}
}
}
}
Replace <first name here> with the first name you noted down and <second name here> with the second name you noted down.
5. Repeat step 4 for all the lines of managed materials you noted down
6. Save the materials as <trucknamehere>.material
7. Remove the managedmaterials section from the truck file
8. Test, and if:
>It works: Well done!
>it doesn't work: Post here: [1]
Basically, what your doing is making a material for all the managed materials.
This concludes the little tutorial for removing managed materials.


(gold)
(silver)
(bronze)

