American Truck Simulator

American Truck Simulator

Who's Who? (Driver Names Identifier)
cach  [开发者] 2023 年 3 月 31 日 上午 10:03
How to Change Driver's Appearances
Editing the image files that determine the driver's appearances can be slightly more complicated than changing their names. I have decided to post a guide on how to do this rather than uploading the files in a Workshop mod.

Getting your folders ready:
  1. Locate your American Truck Simulator folder in File Explorer. Mine is located at:
    C:\Users\USERNAME\Documents\American Truck Simulator
    You can copy that into the address bar, but make sure to change USERNAME to the whatever your user profile is called.
  2. Add a new folder and call it "mod" or open the mod folder if it already exists.
  3. Add a new folder in the mod folder and call it "Custom Driver Faces" or any other title.
  4. In this folder add a folder called "material".
  5. In this folder add a folder called "ui".
  6. In this folder add a folder called "driver".

Your address bar should look something like this at this point:
C:\Users\USERNAME\Documents\American Truck Simulator\mod\Custom Driver Faces\material\ui\driver
The "driver" folder is the folder that your image files will need to be placed in.

The files you will need:
In this example we are changing the appearances of Driver 187 (Stella Z.)
  1. 187.dds
  2. 187.mat
  3. 187.tobj

187.dds Explained
This is the file that will contain your driver's new face. Use Microsoft Visual Studio 2022 to create this image file.

The file needs to be 96px x 96px.
Use DXGI_FORMAT_BC2_UNORM to save the file.

187.mat Explained
This is the file that will assign the new texture. Use Notepad to create this file.
material : "ui" { texture : "187.tobj" texture_name : "texture" }
Paste that code into notepad and make sure to change the file extension to .mat.

187.tobj Explained
This file will make sure that your image file is used. To create this file you will need a HEX editor. I recommend using Notepad++.Click to see what this file should look like >> https://pasteboard.co/YDkpx8CxOiaL.png

Don't worry, you don't have to understand the binary text. You can click in the Dump section and type what you need. The Binary will automatically change for you.

Conclusion
I'm not sure if I have explained this super well. Please don't hesitate to ask any questions if needed. I will try to answer them and help you out. More images can be provided if needed.

This is more complex and requires you to do a lot of the heavy lifting yourself. If you are struggling with the .mat or .tobj files, I recommend subscribing to "woman drivers" and/or "female drivers." Both mods will provide you with the files and you'll just need to replace the appropriate .dds files with your desired images. I still recommend creating your own mod folders and moving the files there in case there are updates to those mods, which may overwrite your edits.
最后由 cach 编辑于; 2023 年 3 月 31 日 上午 10:05
< >
正在显示第 1 - 3 条,共 3 条留言
Its_Ryan 2024 年 9 月 27 日 下午 5:59 
What should the tobj look like?
cach  [开发者] 2024 年 10 月 28 日 上午 9:05 
引用自 Ms_Ryan
What should the tobj look like?
https://ibb.co/PYHtwPh
最后由 cach 编辑于; 2024 年 10 月 28 日 上午 9:05
Could you upload this mod to ETS2 workshop as well?
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50