Since the Quake3-BSP MeshLoader from the Irrlicht-Engine only loads the Mesh itselt, I've written a Class which is aimed to load all the other informations stored in those files.
I've startet with the Entities which you can easily place on .bsp-Maps in GtkRadiant for example. For now it only loads and processes the ammo_* Entites but since I need to extend the Class for myself, I think that in a couple of days (or weeks:D) it will process all (or almost all) of the other Entities, too.
In the Future it could be used to e.g. automatically place Enemies (in form of MD3-Files which could be loaded with madinitaly's MD3-Loader, of course!) or other things on the map.
It's quite simple to use and also documentation is avaible for it. If you want, please test it! I hope that it is useful for someone. http://www.plummi.de/bspReader_0_1.zip
Got another bug. I had to swap the Y and Z coordinates for the player_starts to be at the correct position in the q3 map.
Rotation seemes to be a bit off too. If I in gtkradiant rotate an info_player_start to 180 or 360 degreees it points in the right way, but 90 and 270 is pointing in the opposite direction.
deps wrote:
Got another bug. I had to swap the Y and Z coordinates for the player_starts to be at the correct position in the q3 map.
I've searched for the reason of this and now I don't think it's my fault.
When you have time, please take my test-source from http://www.plummi.de/q3loader.zip
The map is loaded by the normal irrlichtEngine but nevertheless the Y/Z-Axis are switched!
Perhaps it's a problem of the Engine itself..?
Does somebody knows about a Problem with the axis with bsp-Maps?
Y/Z-Axis and Angle are now calculated correctly.
The newest version should compile without any problems on the msvc++ compiler.
I don't want to flood the Forum with "new Release" Posts, so i decited to inform at http://www.plummi.de about new releases. (For the non german-speaking: Click on bspReader on the left to the Website, no fear it's in english )
Super Sache plummi, echt!
I also want my artists to be able to construct maps with entities. Say would you happen to know a bit more about the RTCW extensions of Q3 BSPs?
Keep it up mate!
PS: Pls use the unicode equivalents for text, just as irrLicht does.