Open main menu

Changes

Games/ETS2/Modding guides/1.46

36 bytes added, 15:06, 8 November 2022
Interior UI addon accessory data
There is a new type of interior accessory specialized for using custom screen displays trough UI. They are utilizing same mechanisms as we use for dashboard and GPS. More info about unit: [[Documentation/Engine/Units|here]]
To create working working custom UI accessory (like custom GPS) one needs the following:1. Proper * Accessory defined with new '''accessory_addon_int_ui_data''' unit type e.g.:
SiiNunit
{
}
}
2. You need to create placeholder * Placeholder static texture defined in from accessory definition, for our examplethat would be: "/path/to/my_gps_model_ui.tga" + and "/path/to/my_gps_model_ui.tobj"3. * Material in model has to be using texture defined in path from accessory definition, for our examplethat would be: "/path/to/my_gps_model_ui.tobj"