working with Changelog#0.38.42 (just released) only!
it uses the GUID (Truck_Description_File#GUID) of vehicles to associate skins to trucks.
example for sarens skin:
a) add GUID to the truck you want to skin. Ideally, all trucks should have one. You might need to clear the cache, so the GUID will be in the cache as well.
You could generate some GUIDs there: http://www.guidgenerator.com/
b) create a file named "sarens.skin" with the following content:
replaceTexture defines the texture replacements, its first argument is the original texture name, the second argument is the texture name of the skin. Please note that those must be different, or you will get a file collision. You can use this line as much as you like.Code:Sarens Skin for Sennebogen 5500 { // < this is a comment line, it is ignored when parsing. It always starts with // // replaceTexture = <original_texture.png> <skin_texture.png> replaceTexture = blansjaar41.jpg, blansjaar41_sarens.jpg replaceTexture = blansjaarkleur.jpg, blansjaarkleur_sarens.jpg replaceTexture = blansjaarlogo5500.jpg, blansjaarlogo5500_sarens.jpg // replaceMaterial = <originalMaterialName> <skinMaterialName> // preview = <preview_image.png> preview = 9c15cccf8a8dca392b84b7b778e3517139cef287.png // description = text that will show in the selectionWindow description = sarens skin for the sennebogen 5500 // AuthorName = <author name, no special characters> authorName = Rotexx // AuthorID = <forum ID of the author> AuthorID = 39570 // GUID = <of the truck to which this skin fits> GUID = 90670430-695d-467b-8c91-dcb67a42633c }
// is the comment keyword
GUID will refer to the truck's GUID.
c) put all the files into a zip archive named "sarens.skinzip" and put that into the packs folder
the .skinzip is important, as it will force RoR to always load this zip to parse the skin information from it.
d) start the game and select the truck, it should have a valid GUID in the selection menu. When pressing enter, the skin selection GUI will pop up
How to test the fast way (how to use the attached files):
download them all into your packs folder, do not unpack them. Delete any old "sennebogen5500" versions. (all i changed was adding a GUID to it...)







Reply With Quote



thx

Gold
Silver
Bronze