I'm trying to make a custom dashboard for the DAF XF Euro6. I initially started by copying the original files from SCS base file into a new mod. So far, so good. I did edit the template file to replace some fonts. Still good to go. But as soon as I add additional styles to the template, all hell breaks loose. The game reports a dangling pointer for every style that the dashboard sii file references:
Code: Select all
00:26:16.430 : <ERROR> [unit] File '</Users/laurent/Library/Application Support/Euro Truck Simulator 2/mod/DAF XF Euro6 Custom Dashboard | >/ui/dashboard/daf_xf_euro6.sii':
00:26:16.430 : <ERROR> [unit] The unit '_nameless.6000.00ee.0d00' of type 'ui::text_common' has dangling pointer (to 'txt.daf2013.text0') in the attribute named 'look_template'.
At the beginning of the any SCS template files, there is this warning:
Code: Select all
# For modders: Please do not modify this file if you want to add a new entry. Create in
# this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of
# base file without the extension (e.g. "dashboard" for "/ui/template/dashboard.sii") and <idofyourmod> is
# some string which is unlikely to conflict with other mod.
So, can someone explain what's the relationship between a dashboard sii file and the template it needs???