How to get a new hat
Sometimes the default driver model for some cars in Assetto Corsa can look a bit out of place, particularly with road or old race cars. Custom Shaders Patch gives us a means to replace the default driver with something more appropriate, either a different Kunos driver (with 60s, 70s or 80s style helmets), or a mod model, such as driver with with no helmet. All this can be done without having to edit the car itself, and can even be done for only a specific skin.
This uses the same extended car config file technique as my previous guides on tweaking windscreens (see here and here), but with added twist of having it apply to only one of the skins. For this example, I’m going to change the driver of the Green Racing skin for the Kunos Lotus 3-Eleven to use an open face helmet instead of the default modern full face helmet.
First of all, to see what driver models are available, open up Content Manager, go to Content(1): Miscellaneous(2): Driver Models(3). From here, you can see the installed driver models on the left(4). Clicking on one of them will show the cars that use that helmet by default, and if you then click on CM Showroom(5) you can see a preview of that model.
Now open Notepad and enter the following:
[DRIVER3D_MODEL]NAME=driver_60POSITION=0.0,0.0,0.0
Where driver_60 is the name of the model you want to use as listed in Content Manager. Then save the file as ext_config.ini into the folder of the skin you want it to effect. So for this example I’m going to save it as:
E:\steam\steamapps\common\assettocorsa\content\cars\ks_lotus_3_eleven\skins\00_green_yellow\ext_config.ini
If you want it to effect all drivers of a car, regardless of which skin they have, you can save it with the car name into \Documents\Assetto Corsa\cfg\extension\cars as described in the windscreen guides linked above.
Where’s the guillotine?
So far so easy, but unfortunatley this is only half the job, as when we load up our car and switch to first person view there is a problem:
Those black lines\triangles are the inside of the face\helmet of our new driver. With the default driver Assetto Corsa removes the models of the driver’s head and helmet when in first person view to prevent them getting in the way. Now that we’ve changed the driver model, it no longer knows what to remove, and so we are left looking at the inside of our own face!
We need to add some more entries to our config file to hide the relevant models when in first person. These are fairly simple lines that take the form of:
[DRIVER3D_HIDE_OBJECT_x]NAME=<NameOfMeshToHideGoesHere>
The difficult part is knowing what these lines need to be, ie: what the names of the meshes to be hidden are; We can’t cut our head off if we don’t know where it is!
How to Find Your Head
There a few ways to find the names of the meshes that need to be hidden, the simplest being to use one of the ingame Apps provided with CSP as that will work equally well for Kunos or Mod driver models.
Start up the game with the car and skin you’re working on, switch to an external camera, and pan around so that you can see the drivers head.
Using this we can now select the meshes that make up the drivers head and helmet, and Object Inspector will show us their names, which we can use to finish our configuration file.
Alt-Left Click on the drivers helmet until it is highlighted blue, and make a note of the mesh name, highlighted in green.
As well the helmet the driver_60 model has a seperate mesh for the lense of the googles, so we need the name of that as well.
Don’t forget the drivers head! Selecting the right mesh may take several clicks if other objects are between it and the camera.
Depending on the driver model, there may be several different objects that make up the drivers head and helmet, so repeat the above process until you have the names of all those objects. For comparison, the Kunos 70s helmet is made up of four different meshes (the helmet, the helmet padding, the visor and the balaclava), plus the drivers head.
Once we have the names of all the meshes that are likely to obstrruct the first person view, we can exit the game and go back to editing our config file to add lines for each of the meshes we found, so that the file should now look like this:
[DRIVER3D_MODEL]NAME=driver_60POSITION=0.0,0.0,0.0[DRIVER3D_HIDE_OBJECT_100]NAME=DRIVER:GEO_Driver_FACE[DRIVER3D_HIDE_OBJECT_101]NAME=DRIVER:HELMET_69_SUB0[DRIVER3D_HIDE_OBJECT_102]NAME=DRIVER:HELMET_69_SUB1
It doesn’t matter how many different meshes need to be hidden for the driver model you are using, just add one [DRIVER3D_HIDE_OBECT_x] entry for each, making sure that the number for each entry is different. For compatibility reasons (that I’m not going to go into), I suggest using [DRIVER3D_HIDE_OBECT_100] for the first one and going up from there, as shown above.
Job Done!
Now load the game back up, and hopefully the first persons driver view should be unobstructed. If it isn’t, then use the Object Inspector to double check whether you missed any other objects that make up the head\helmet and add those to the ini file.