Hi!
I followed the tutorial about loading a Quake 3 map into Irrlicht (using C++, if that makes any sense). It took me some time to find out what a BSP file was and how to get that out of a pk3 but I found it inside the pk3 in the folder called "map". So, I told my little application to load from that bsp file.
When running the application it tells me that the BSP mesh was successfully loaded, but in the output window (where I should see the map) there is nothing. Just a grey background, that's all.
Did I do anything wrong?:
1. I created a new project.
2. I added all directories and linkings into Code::Blocks.
3. I copied all the necessary files to the application directory.
4. I copied the code from the tutorial page into main.cpp.
5. I built it without errors, and when I chose to Run it after Building it .. well, I've already told you.
I have tried these tutorials with complete success, no problems at all:
http://www.gameiterator.com/index.php/G ... mputerGame
http://irrlicht.sourceforge.net/tut012.html
Is there a texture somewhere that I must bind to the mesh? Or what is there still to do? I don't think the tutorial tells me anything more than how to load the Quake 3 map mesh ... or does it ? If you do find anything useful in the tutorial that I have missed, please QUOTE. Don't link me back to the tutorial page. (I've seen too many RTFM's in my life ...)
Also do note that I am good at programming; I'm just new to C++. (I usually work in VisualBasic or ActionScript.) Many people seem to disregard that when they tell me how to do things...
Loading a Quake3 map *SOLVED* Poll active.
Loading a Quake3 map *SOLVED* Poll active.
Last edited by thojoh370 on Sun Nov 04, 2007 10:00 pm, edited 2 times in total.
Programmers don't DIE, they just GOSUB and then RETURN.
truly weird.
have you tried comparing your code with the demo source code that came with the sdk?
that usually solves many problems with tuts here
have you tried comparing your code with the demo source code that came with the sdk?
that usually solves many problems with tuts here
One Tequila, Two Tequila, Three Tequila, Floor.
_______________________________________
ASUS P5V-VM Ultra
Intel Pentium D930
1x 2GB DDR2 Kingmax 800mhz/533mhz mb
Leadtek PX9600GT W 512MB DDR3
200GB Maxtor HDD
_______________________________________
ASUS P5V-VM Ultra
Intel Pentium D930
1x 2GB DDR2 Kingmax 800mhz/533mhz mb
Leadtek PX9600GT W 512MB DDR3
200GB Maxtor HDD
Oops
Hey all,
it seems I forgot to insert this line into my code:
Quite important one, isn't it? (Loads all the textures and stuff...)
I need the answer to another question though: How to change my Irrlicht-based code so that it runs in fullscreen? (C++)
it seems I forgot to insert this line into my code:
Code: Select all
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
I need the answer to another question though: How to change my Irrlicht-based code so that it runs in fullscreen? (C++)
Programmers don't DIE, they just GOSUB and then RETURN.