how to do this
-
Akin_seasoned_askari
- Posts: 6
- Joined: Wed Jun 16, 2004 5:04 am
how to do this
I'm just wanting to load a CS map and walk through it but I don't know the code for it (its bsp) how would I code it to load bsp from the bsp file itself? its a counterstrike map so any help will be nice. The quake help shows how to load the pk3 I don't want that but yea...thanks for your replys
Take a close look at the code for any of the tuts where the Q3 map is loaded:
Code: Select all
device->getFileSystem()->addZipFileArchive("map-20kdm2.pk3");
scene::IAnimatedMesh* mesh = smgr->getMesh("20kdm2.bsp");Then when you have all the files where you need them, just get rid of the first line and leave the second, giving the path and name of the bsp file in place of "20kdm2.bsp".
"The reputation of a thousand years may be determined by the conduct of one hour."
-Japanese Proverb
-Japanese Proverb