load a quake 3 map different from tutorial 2
load a quake 3 map different from tutorial 2
i have download from internet different quake 3 map, but when i load in the engine is all grey. Are the map corrupted ? While with the map of tutorial 2 is all ok.
the console window say: could not find mesh...
what is a mesh ? in the package that i have downloaded there is only a file .pk3
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
device->getFileSystem()->addZipFileArchive("C:\\Documents and Settings\\Xanto\\Desktop\\warhorse\\Q3clans\\map-pdmq3duel5-BETA2.pk3");
scene::IAnimatedMesh* mesh = smgr->getMesh(i don't know what write in this point);
what is a mesh ? in the package that i have downloaded there is only a file .pk3
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
device->getFileSystem()->addZipFileArchive("C:\\Documents and Settings\\Xanto\\Desktop\\warhorse\\Q3clans\\map-pdmq3duel5-BETA2.pk3");
scene::IAnimatedMesh* mesh = smgr->getMesh(i don't know what write in this point);
the mesh ib this case is the bsp file.
this bsp must comply to the Quake 3 folder structure to be loaded properly.
Code: Select all
device->getFileSystem()->addZipFileArchive("./data/irrlicht.pk3");
scene::IAnimatedMesh* level = 0;
level = smgr->getMesh("irrlicht.bsp");