Quake 3 maps and Irrlicht

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
shabadam
Posts: 10
Joined: Sat Jul 03, 2004 11:39 am
Location: Italy

Quake 3 maps and Irrlicht

Post by shabadam »

Hi.
I downloaded Irrlicht just this morning , and after playing with it for a while , I tried the collision tutorial. I also managed to have a .md2 weapon attached to the camera , but then I tried to use some quake 3 maps I downloaded from the internet , and I tried to load them from the tutorial.
The screen was black , the only thing left was my weapon and the three faeries :)
I checked the .pk3 and the .bsp file names , they were right.
Many new maps claim to work only with the last version of quake 3 , is it possible that Irrlicht has problems loading them ? Or is there a hack to make them work ? I tried also some older maps , but the problem was the same.
Thanx in advance , and sorry if the question was posed before , but I couldn't find any post about this.
Captain_Kill
Posts: 124
Joined: Sun Jun 27, 2004 11:02 am
Contact:

Post by Captain_Kill »

I had some similar problems with new Q3 maps too. The problem is that Irrlicht can't load Quake 3's shaders, so instead it just removes the brush because it can't find the texture! A solution to this would either be to rewrite the BSP loader so it uses shaders OR just force on a texture even if one isn't found. (But this could cause problems with things like Clip brushes which are normally invisble anyway)

Another problem is the alignment of the map. Incase you didn't notice in the code, 1 line of it offsets the map! That's because the example map ain't on the origin so it has to be repositioned. Comment that line then try loading the maps again. (It'll be up to you to find that line :twisted:)

Hope that helps :D
2.8GHz P4 with HT - 512MB DDR - ATI Radeon 9600XT 256MB - Windows XP - VC++ 6 and VC++ 2003

Dark Reign 3 Home Page: http://darkreign3.notwhatyouthink.org/
Dark Reign 3 Forums: http://notwhatyouthink.org/darkreign3bb/
Post Reply