Skybox filenames from .pk3

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
Mercator
Posts: 16
Joined: Fri Jan 27, 2006 4:31 pm

Skybox filenames from .pk3

Post by Mercator »

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?
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

open the package and look into it to read the filenames =)
use winzip or pkunzip or whatever u use to unzip ziparchives...
:D
Mercator
Posts: 16
Joined: Fri Jan 27, 2006 4:31 pm

Post by Mercator »

My game should load them automaticly...
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

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"));
Post Reply