Hammer Editor ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Angelus
Posts: 7
Joined: Thu Apr 06, 2006 4:51 pm

Hammer Editor ?

Post 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 ?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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).
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post 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.
Post Reply