Page 1 of 1

Hammer Editor ?

Posted: Sat Jul 01, 2006 11:52 am
by Angelus
Hello,
i got a question on the bsp-Files made with the Hammer-Editor (the one you get with Half-Life 2), because when i try to load a bsp File made by Hammer irrlicht says unknown Header and file format seems to be unsuported, but it loads the example (Q3) bsp fine ...

Does the Source bsps have an other Header, or where is my problem ?

And i got a second question, why are my X-Files just black ?

Posted: Sat Jul 01, 2006 12:12 pm
by hybrid
The different bsp files are usually completely new file formats, only having similar mesh contents. But the syntax differs quite a lot between the bsp file formats. You have to use a bsp editor or converter, or implement a new bsp loader for Irrlicht.
Your meshes are either black because you enable lighting without a dynamic light in your scene, or because you did not texture your mesh (although it should be white in that case).

Posted: Sat Jul 01, 2006 12:17 pm
by afecelis
Irrlicht only supports Q3 bsps.

about your X file you must check if it´s properly UVmapped and if the texture file is placed in the same folder as the X file.

To make sure it will load ok first open it in Direct X's mview application, resave it and the laod it into irrlicht.