Tank object has 3x pieces of mesh nodes --- Body , Head (means Turret) , Gun (means Barrel).
When you want to separate some small parts like machine-gun , external tool boxes , you can make them in other named mesh and attach to Body or Head , Gun.
Gun.msh has to be attached to Head.msh .
Head.msh has to be attached to Body.msh .
Each mesh have to be X-forward axis.
Body and Head have standard axis, but only Gun.msh has rotated Y-down axis. It needs for correct AI aiming.
Gun.msh has the hook named "Gun" (not to confuse mesh name or hook name).
It is positioned on the muzzle of the barrel and its axis is X-forward and Z-down rotated.
Body.msh has 2x DustL and DustR hooks.
They make sand dust smoke in running.
Other needed hooks are .... Gound_Level and SmokeEngine of Body and SmokeHead of Head.
SmokeEngine and SmokeHead work as fired when damaged.
Collisions are named xhull , xhead , xgun.
Only about Tanks, damaged model / texture are not needed in IL-2 1946.
Are Java and ini descriptions also needed ?