Heisler Fix
Using CM3.3, View Errors and Warnings for Heisler NG,<kuid:88346:3> shows this error:
Error: The primary and alpha texture are not the same size for 'heisler ng_body/crosshead-lense.texture.txt'
Opened kuid:88346:3 for Edit in Explorer and see that crosshead is referenced int both crosshead-lense.texture.txt and crosshead-window.texture.txt. Crosshead.tga and windows.bmp are 64x64 while lense.bmp is 32x32 pixels. Opened lense.bmp in PSP and resized it to 64x64.
Saved and commit.
The loco now shows it has these faulty dependencies:
Heisler NG Bogey,<kuid:88346:50004> and Heisler Pistons,<kuid:88346:50005>
Heisler NG Bogey,<kuid:88346:50004> show these errors:
Error: Unable to load mesh file: 'Heisler NG Bogey_shadow\Heisler NG Bogey_shadow.pm'
Two ways to fix this. Use PEV's Quickshadows to make a shadow then edit the bogies config.txt file to add a mesh table, or forget the shadow and just add a mesh table for the bogies mesh. Either method will clear the error. Opened the bogey kuid for Edit in Explorer and added this:
mesh-table {
default {
mesh heisler ng bogey.pm
auto-create 1
}
}
Saved and commit ok.
Heisler Pistons,<kuid:88346:50005> shows these errors:
Error: Unable to load mesh file: 'Heisler Pistons_shadow\Heisler Pistons_shadow.pm'
Error: Unable to load primary texture 'bell.tga' for texture file 'bell.texture.txt'
Error: Binary conversion failed for texture resource 'bell.texture.txt'.
Error: Unable to load primary texture 'crosshead.tga' for texture file 'crosshead-window.texture.txt'.
Error: Unable to load alpha texture 'window.bmp' for texture file 'crosshead-window.texture.txt'.
Error: The primary and alpha texture are not the same size for 'crosshead-window.texture.txt'
Error: Binary conversion failed for texture resource 'crosshead-window.texture.txt'.
Error: Unable to load primary texture 'envmap1.tga' for texture file 'envmap1.texture.txt'.
Error: Binary conversion failed for texture resource 'envmap1.texture.txt'.
Error: Unable to load primary texture 'env_metal.bmp' for texture file 'env_metal.texture.txt'.
Error: Binary conversion failed for texture resource 'env_metal.texture.txt'.
Error: Unable to load primary texture 'hcabint.tga' for texture file 'hcabint.texture.txt'.
Error: Binary conversion failed for texture resource 'hcabint.texture.txt'.
Error: Unable to load primary texture 'lamp.tga' for texture file 'lamp-lense.texture.txt'.
Error: Unable to load alpha texture 'lense.bmp' for texture file 'lamp-lense.texture.txt'.
Error: The primary and alpha texture are not the same size for 'lamp-lense.texture.txt'
Error: Binary conversion failed for texture resource 'lamp-lense.texture.txt'.
Error: Unable to load primary texture 'tender.tga' for texture file 'tender.texture.txt'.
Error: Binary conversion failed for texture resource 'tender.texture.txt'.
The shadow error is fixed in the same way as for the bogey.
The texture errors are all due to the presence of a texture.txt file without its referenced texture graphic. The fix is to delete all of the extra files:
Delete bell.texture.txt.
Delete crosshead-window.texture.txt.
Delete envmap1.texture.txt
Delete env_metal.texture.txt.
Delete hcabint.texture.txt
Delete lamp-lense.texture.txt.
Delete tender.texture.txt.
save and commit
Bob