My game should support ordinary quake3 maps (.pk3). I don't know how to get the filenames of the images I need for my skybox, because they always differ from each other.
How can I find out the filenames?
Skybox filenames from .pk3
you code your skybox in Irrlicht-use the skybox node (Q3 skybox gets lost) and you assign a path to its images in your program:
Code: Select all
// create sky box
scene::ISceneNode* skyboxNode = 0;
skyboxNode = smgr->addSkyBoxSceneNode(
driver->getTexture("./data/bleakness_up.jpg"),
driver->getTexture("./data/bleakness_dn.jpg"),
driver->getTexture("./data/bleakness_lf.jpg"),
driver->getTexture("./data/bleakness_rt.jpg"),
driver->getTexture("./data/bleakness_ft.jpg"),
driver->getTexture("./data/bleakness_bk.jpg"));