Post by Smarty on Feb 12, 2016 17:04:43 GMT -6
(Cross-Post from SCS Forums) RBR-DUK?
I'm working on getting my first truck mod in the game using SCSBT. Unfortunately, I get a CTD when I try to select the truck in the menu's truck browser or when I try to enter the Peterbilt dealership to which it's assigned (properly using peterbilt.scot_a2hd.sii). The resource errors are obvious enough, and are being fixed, but clearly the game is carrying on past those.
What I'm having a hard time figuring out are the redundant wheel/rim accessory errors, and the array index boundary issue:
Regarding wheel locators: My model has two chassis variants, but I only address one via definitions, chs_165. Their orientation is per the SCSBT sample truck (left hand locators with +y pointing in global +y, right hand with +y pointing in global +x). They are named wheel_f_0_0, wheel_f_1_0, wheel_r_0_0, wheel_r_1_0, etc. Even-numbered indices are on the left hand side of the vehicle, and odd-numbered on the right. The rear tandem axle has lower indices than the front tandem axle. A picture's worth a thousand words:
All of the wheel accessories reference the base-game files (copy-pasted from the 579), so I'm completely stumped as to why I'm getting those errors.
As for the last error, I'm stumped. What does the vec_t array index and what units address it?
I'm working on getting my first truck mod in the game using SCSBT. Unfortunately, I get a CTD when I try to select the truck in the menu's truck browser or when I try to enter the Peterbilt dealership to which it's assigned (properly using peterbilt.scot_a2hd.sii). The resource errors are obvious enough, and are being fixed, but clearly the game is carrying on past those.
What I'm having a hard time figuring out are the redundant wheel/rim accessory errors, and the array index boundary issue:
00:00:11.565 : Game init finished. (183 MB)
00:00:23.178 : <ERROR> [fs] Failed to open file "/material/ui/accessory/scot_a2hd.tobj" in the read_only mode
00:00:29.261 : <ERROR> [fs] Failed to open file "/vehicle/truck/scot_a2hd/shadow_s.tobj" in the read_only mode
00:00:29.261 : <ERROR> [resource_task] Can not open '/vehicle/truck/scot_a2hd/shadow_s.tobj'
00:00:29.280 : <ERROR> [fs] Failed to open file "/material/environment/generic_s.tobj" in the read_only mode
00:00:29.280 : <ERROR> [resource_task] Can not open '/material/environment/generic_s.tobj'
00:00:29.288 : <ERROR> Redundant front wheel accessory removed!
00:00:29.288 : <ERROR> Redundant rear wheel accessory removed!
00:00:29.288 : <ERROR> Redundant rear wheel accessory removed!
00:00:29.288 : <ERROR> Redundant front rim accessory removed!
00:00:29.288 : <ERROR> Redundant rear rim accessory removed!
00:00:29.288 : <ERROR> Redundant rear rim accessory removed!
00:00:29.289 : <ERROR> e:\build_bot\win_slave\final_build_ats_091_windows_bin_steam_x64\build\prism\src\p3core\collections/arrays/arrays_base_impl.h(491): ??A?$array_t@V?$vec_t@M$02@prism@@@prism@@QEAAAEAV?$vec_t@M$02@1@_K@Z: Index outside array boundaries.
Regarding wheel locators: My model has two chassis variants, but I only address one via definitions, chs_165. Their orientation is per the SCSBT sample truck (left hand locators with +y pointing in global +y, right hand with +y pointing in global +x). They are named wheel_f_0_0, wheel_f_1_0, wheel_r_0_0, wheel_r_1_0, etc. Even-numbered indices are on the left hand side of the vehicle, and odd-numbered on the right. The rear tandem axle has lower indices than the front tandem axle. A picture's worth a thousand words:
All of the wheel accessories reference the base-game files (copy-pasted from the 579), so I'm completely stumped as to why I'm getting those errors.
As for the last error, I'm stumped. What does the vec_t array index and what units address it?