To get the materials in 3ds you can use Diffuse->Bitmap as material, it then works when exporting. (Save the texture in the same folder as the 3ds).

Can you describe the error more detailed, the exact error message etc ?

And about HL models, i have never seen a loader for it but i think Milkshape3D can convert them to MD3 files with ease.