bsp files ?
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
bsp files ?
I just started some learning about them (bsp files), but if anyone could speed that procces, I would be thankfull. This is the problem... I can't load .bsp files in irrlicht. I get console errors "uknown header" or "format unsupported", I use irrlicht 1.0 and I have my code correct (I tried also the tutorial code too with just a different .bsp file ). I can load only pk3 files, and I can't even be sure about that, because I've loaded only one pk3 file in my life, the irrlicht media one. So, the second, I installed myself a GTK radiant and I can't load bsp files in it too, only *map, *mapx and *reg. So I really wonder now
what is this thing...
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
Oh you have Half Life 2 .bsp map hmm I use gtk radiant with quake III and every map I make loads 100% correctly.
Maybe you should use Quake 3 .bsp ?
As I remember right only q3 bsp's are supported. HL 2 bsp won't run with irrlicht. (I think HL 2 maps have kinda diffrent texturing method, because they use materials for textures including some surface information for physics and stuff)
Correct me If I'm wrong, but HL 2 bsp won't run I think.
Maybe you should use Quake 3 .bsp ?
As I remember right only q3 bsp's are supported. HL 2 bsp won't run with irrlicht. (I think HL 2 maps have kinda diffrent texturing method, because they use materials for textures including some surface information for physics and stuff)
Correct me If I'm wrong, but HL 2 bsp won't run I think.
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
thanks dawasw, you are right.
But now I seem to load pk3 files with no problem, but I can't load a bsp file "stand alone" . I tried also the irrlicht q3 bsp file from unzipped pk3 to load stand alone, but to no avail. What is a bsp file? Does it contain textures or only geometry?
But now I seem to load pk3 files with no problem, but I can't load a bsp file "stand alone" . I tried also the irrlicht q3 bsp file from unzipped pk3 to load stand alone, but to no avail. What is a bsp file? Does it contain textures or only geometry?
what is this thing...
Well it contains geometry with reference to textures, but the textures are stored separately. Exampleneedforhint wrote:thanks dawasw, you are right.
But now I seem to load pk3 files with no problem, but I can't load a bsp file "stand alone" . I tried also the irrlicht q3 bsp file from unzipped pk3 to load stand alone, but to no avail. What is a bsp file? Does it contain textures or only geometry?
somemap.pk3
- Maps/
----somemap.pk3
-Textures/
----texture.tga
Sh1ny sorry but a little correct :somemap.pk3
- Maps/
----somemap.pk3
-Textures/
----texture.tga
somemap.pk3
- Maps/
----somemap.bsp
-Textures/
----texture.tga
That means you have 2 folders in a .pk3 file the 'map' folder and the 'textures' folder. Map folder should have .bsp file (compiled by gtk radiant) and textures folder should have only JPG files of textures - because If I remember right Irrlicht .bsp loader won't load tga textures of .bsp map file.
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia