Home / Car Skins / Spray Booth

Thursday, March 15, 2007

Getting Started: rFactor Painting Guide



Painting cars and getting them into rFactor is great fun and easy to do. Here's a run through of the basics.

Note: You'll need to have Photoshop, or image editing software that supports Photoshop plugins, like Paintshop Pro

NVIDIA Adobe Photoshop Plug-ins
Download and install NVIDIA's Photoshop Plugins. It includes the DDS Plug-in which allows you to save .dds files out of Photoshop, the file format car skins need to be in.

Get yourself a car template
Download and open the template of the car you would like to paint in Photoshop. Car templates are sometimes included in the mod installation, but more often are made available as a separatel download. Refer to the car profile or Templates area on rFactorCentral for template downloads.

The General Idea...
Before getting your hands dirty, the overall workflow is generally this:
- Locate where in the template to paint
- Paint!
- Save as a DDS
- View/Play Skin

Locating the layer to paint on
Every car template you open is most likely going to be organized differently. Most however make it clear the layer on which you are meant to paint, or more exactly where in the layer stack. I'm painting a VW Beetle for this example. The person who made the Beetle Race template was kind enough to name a 'Paint Here' layer at the bottom of the layer stack - that's where all the painting action happens for the Beetle. It may be named differently in other templates.




Templates usually include a wireframe layer which can be handy for positioning logos etc accurately, and on both sides of a car. The wireframe layer isn't used when you export. A shading layer is usually present somewhere towards the top of the stack too. It is used when you export your skin - the best bet for now is to not mess with it.

Apart from the main car body it's not always clear how all the bits and pieces in a blank template are applied to the car in-game. To help get orientated, open a completed .dds file (e.g. one of the teams) of the car you're wanting to paint. Compare what you see in the finished .dds file to what you see in game - it's much easier to work out what each piece in the template is for.



Paint!
What you do now is completely up to you and your Photoshop skills. A flexible approach is to place logos etc on their own layer. If you're insanely tidy you might even use layer folders e.g a folder for the skin on each side of the car.

Whether you are painting a real world skin or creating a fantasy skin, you need stuff to put on your car, lots of stuff. A good source of hi-res logos is Brands of the World. Vector based logo files are ideal as you can rasterize them at a size to suit your needs, resulting in high quality, clean logos for your car skin. Services like Google Images are also a good place to find logos, as well as photographs of real world cars to use as a reference.

If all we wanted was a green Beetle in-game we'd only need to fill the paint layer with green, flatten the file, save it as a dds and we'd be close to done.



Usually though you want to do more than a straight color when painting a car. I'd like to keep red as my base color so have reverted to that. For a little interest I've added a layer filled with a small dot pattern above the red layer and changed the layer mode so it is visible on the red layer below.

I'd like a color transition front to back so I've added another layer and filled it with a dark grey. I've added a layer mask to the dark grey layer and filled the mask with a white to black linear gradient, resulting in a gradual transition red to dark grey on the car.

I had an rCentral logo handy so dragged it into the template and used the Transform tool to size it as needed. By duplicating the logo layer and rotating the duplicated logo 180 degrees it's ready to use on the other side of the car.

The circular housing around the headlight might look good in a contrasting color to red, so I covered the housing area of the template with a dark grey that matches the back of the car. You only need to be concerned with the pieces of the car in the template your painting is covering, not the empty areas of the template.



It's only a basic skin at this stage but it should be enough to start you thinking about how you'll approach painting your own cars.

Don't forget to save your layered master file along the way. Chances are you'll want to return to it to make changes and/or to borrow logos etc to re-use in other skins.

Export as a DDS
Before you can save your skin as a DDS the file needs to be flattened. I usually toggle off the visibility of all layers that aren't a part of the finished skin and then choose 'Flatten Image' from the Layers palette options, confirming Photoshop's 'Discard Hidden Layers' warning.

You usually save as a dds to check your how your skin is progressing a few times during painting - especially if it's the first time you're painting a car - to check on how it's coming together and other details that can only be seen when the skin is on the car.

With your skin file flattened, choose File > Save As and select D3D/DDS from the format dropdown. After selecting a location and file name the DDS Plugin appears (more info on that later) refer to the NVIDIA Plugin settings as shown:




One of the quickest ways to see your car in-game without messing with veh files is to back up an dds file belonging to a car in the mod and overwriting the original dds with your own. In the example below I've made a copy of the original Fanta_05.dds and am going to overwrite the original.




View/Play skins
If you've chosen to overwrite an existing dds file (after backing up the original) viewing your car in-game is only a matter or starting up rFactor and choosing the vehicle whose dds file you just overwrote. Behold your skin! :)

Overwriting existing .dds is ok for messing around but it's not going to get you far when it comes to getting your skins into game properly. The good news is it's easy.

Look through each car mod and you'll see most handle skins in a similar way but all have some standard files. Staying with the VW Beetle you can see each car consists of:
- a dds file
- a veh file
- a txt file (optional)



The .dds file you've made. The .veh file is a simple text file that lets rFactor know how it all fits together: what dds file the car uses, team, car number and driver info, which physics and sound files etc. The .txt file is optional. It includes Painter related credits and description. These files could be loose in Vehicles\ModName but it's better to have subfolders that contain each skin/team.

So... if you'd like to add your skin to a mod so it functions in-game all you need to do is create a new folder in Vehicles\ModName\ which contains your dds file and a veh file. Copy a .veh file from another car in the mod into your new car/team folder and open it in Notepad:



Change DefaultLivery="*****.dds" to the name of your .dds file. That is the most important re seeing your skin in game. Update Team and History Information.

You should give new cars the next available car numbers and name the .dds, .veh and .txt files accordingly, as well as the car number.

With all of that done your skin should function in-game as an additional car/team to an existing mod.

Using rFactor to check skins as you are painting is uncessarily slow. Provided you have created a folder for your skin/team within the Vehicles\ModName\ and it contains your .veh and .dds files you can use David Noonan's Vehicle Viewer to check how your work is progressing. With the Vehicle Viewer open, select File > Open rFactor Vehicle and browse to your .veh file.



Refer to the Vehicle Viewer Help files, along with the Support files on David's site for further information and troubleshooting regarding Vehicle Viewer.

If you're new to painting in rFactor I hope you've found this post useful. The Beetle skin is available for download in the Skins area.


posted by Pete Walsh @ 9:07 PM   12 comments

At March 16, 2007 7:59 AM, Blogger piebobs71 said...


Well im here to help out a little if i can,i only use photoshop cs2 so i cant answer any questions regarding any other paint prog sorry.

 

At March 17, 2007 3:21 PM, Blogger Klaas said...


I downloaded a F1-template with two sepatate wing psd-files, but I can't figure out how to export them and get them in the game. In the gane directory, I can only find the DDS-file for the car itself, without wings.

 

At March 18, 2007 6:18 AM, Blogger piebobs71 said...


which F1 template?

 

At March 18, 2007 12:16 PM, Blogger Ron O'Dell said...


You forgot the most important part: the Alpha channel. This is evident by the screenshot at the top of the page, showing a car with a ridiculous glassy appearance (from having a pure white Alpha channel). There's some good explanations of how to use Alpha written by myself and others in the Pits TPSCC forum.

 

At July 14, 2007 6:20 PM, Blogger Joseph said...


I have the BMW M3 GTR Template. i'm puzzled as to how to get a logo into the template. its not clear in the guide.

 

At August 26, 2007 4:20 PM, Blogger Speeder13 said...


I had recently gotten rfactor and downloaded the Gallardo template and mod,I painted my car's body temp and when I went to save it as a .dds file,I found doesn't have the upported .dds file to save as,I use paint shop pro 9 btw,can anyone help?

 

At August 26, 2007 4:22 PM, Blogger Speeder13 said...


Sorry,didnt realize about that with you having photoshop cs2 piebobs71,but still if anyone can help,please let me know,any help is appreciated.

 

At November 26, 2007 1:53 AM, Blogger Dizzo said...


speeder13 I think you would need to download .dds file support, a plugin? for photoshop?

 

At January 24, 2008 5:48 AM, Blogger jeroenbernrode said...


hi, i have paint shop pro X (trial version) but when i try to download the dds plugin ( I've done that many times) I still can't save it like that.. I do not really know where to put the download in.. can somebody help me?

 

At January 27, 2008 12:48 PM, Blogger Thenees said...


you can also donwload DDS converter .

just search in google and you find it

it works fine and yuo can convert your psd files to dds


greetz

any questions or do i need to send it to you just email to

reneaultf1@hotmail.com

 

At February 27, 2008 3:23 AM, Blogger Steve said...


I've been using a freeware program called Paint.NET 3.22 Final. It has built in support for DDS files. I just open a dds file (after making a backup) and start splashing paint around. I have found it very easy to use and recommend it to anyone wishing to paint or re-paint some skins.

 

At June 16, 2008 2:57 PM, Blogger Keto said...


Very good guide, but I can't change the number of the car or the name of the driver.

Look at this:

DefaultLivery="MeganeV288.dds"

HDVehicle=MeganeV2.hdv
Graphics=MeganeV2_upgrades.gen
Spinner=MeganeV2_Spinner.gen
GenString= // Used to generate GMT names in *.gen file
Sounds=MeganeV2.sfx
Upgrades=MeganeV2_Upgrades.ini // Vehicle upgrades information
Cameras=MeganeV2_cams.cam // Defaults to cams.cfg in UserData directory
HeadPhysics=MeganeV2_headphysics.ini // Affects driver eyepoint only
Cockpit=MeganeV2_cockpitinfo.ini


//////////////////////////TEAM HISTORY AND INFORMATION///////////////////////////////////////////


Number=7
Team="Keto's Team"
PitGroup="Group88"
Driver="Keto Pardo"
Description="Keto, Eurocup '05"
Engine="Renault V4Y"
Manufacturer="Renault Sport"
Classes="Eurocup05"

FullTeamName="Keto's Team"
TeamFounded=
TeamHeadquarters=""
TeamStarts=
TeamPoles=
TeamWins=
TeamWorldChampionships=0


Category="Megane 2005,Eurocup"

Say what I've done bad. Thanks.

 

Post a Comment


Return to Blog Home

Spray Booth
Painting cars for rFactor is great fun. Are you a Painter with tips and tricks to share? You are welcome to contribute to the Spray Booth. Contact Pete.
Previous Posts