RoRBook/Packaging
From Rigs of Rods Wiki
- Introduction
- Working Environment
- Land-based Vehicles and Basics
- Objects and Texturing
- Aircraft and Winged Vehicles
- Nautical Vehicles and Boats
- Packaging
Contents |
Packs
Packs, introduced in version 0.32, allow you to package massive amounts of files (meshes, material files, etc) into one convenient file. These is the preferred way of distribution (unless it's just a lone truck/load/etc file).
- Packs are normal zip files, and should be left uncompressed to save loading time.
- Packs must NOT have subdirectories. All files must be in the root of the zip file.
- It is good form to include all dependencies. To avoid duplication errors, you need to use the unique ID system.
Unique ID or UID
Unique ID's ensure that all mods that exist do not interfere with each other. Without them, you could not guarantee that a mod will work. If you found bugs or have problems, please reply here.
Making a Unique ID can be done two ways.
Automatic Way
Currently down for re-coding
Then go to this link to do it all for you. (Its in Alpha stage) It has to be a zip file.
Manual Way
For example:
- mytruck.truck
- mytruck.material
- mytruck.dds
- go here to get your unique ID [1]
Then add your UID like this
- d6eaUID-mytruck.truck
- d6eaUID-mytruck.material
- d6eaUID-mytruck.dds
After that edit the material file so it looks like this.
material d6eaUID-tracks/mytruck { technique { pass { scene_blend alpha_blend alpha_rejection greater 128 texture_unit { texture d6eaUID-mytruck.dds } } } }
Then edit your truck file like this.
mytruck fileformatversion 2 fileinfo d6eaUID, (vehicle type), 1
Wheels
- Add d6eaUID-mytruckband.dds or d6eaUID-mytruckface.dds
Props
- Add d6eaUID-mytruck.mesh


Gold
Silver
Bronze