Quote: --- Original message by: BattlingApollo
What is BSP and how do I use it?
Edited by BattlingApollo on Jun 19, 2013 at 12:22 AM
A BSP is part of a map, level-geometry to be exact, to switch BSPs use the
switch_bsp command
Picture this:The DirectXbox has 64MB of RAM and the average singleplayer level is about 61MB... Now even though this sounds like the xbox has plenty of space to run a level properly, IT AINT GOT THE ROOM FOR IT!
The xbox still has to scrape the necessary sounds from sounds.map, the necessary textures from bitmaps.map, and any scenery used in the selected level from ui.map. The fact of that matter is that the xbox does indeed need more than 64MB to simply play a level from memory.
So
instead, what happens on the xbox is this: The entirety of any
one .map can't really be loaded into memory, so the xbox loads what it will
eventually need onto a cache partition on the harddrive. AFAIK, X: Drive will be used to cache things like level snapshots(level snapshots can be computed into actual gamesaves when you decide to quit) and the actual
x##.map that you're playing on. Y: Drive will go on to hold information like ingame scripts and sounds. I'm not exactly sure what the heck Z: Drive contains when you play Halo... maybe shaders or something?
P.S. Yes... The xbox actually does have those 3 cache drives lettered X, Y ,and Z :)When the level is finally loaded and you are no longer looking at the glowing halo loading screen, the xbox starts pumping the assets it needs
right now into RAM.
Now about those ?BSPs?BSPs were employed so that the xbox would be capable of telling the story that Bungie wanted to portray without exceeding its budget at any given part of the level.
Because a singleplayer level contains
multiple BSPs instead of just
one big one(like a multiplayer map), the xbox is able to safely load
just the part of the level you're on right now while still having RAM left over for jobs like shadering, making sure actors behave while they're on set, and making sure your ears aren't lonely
:)Each BSP counts as one sealed-world. When you are running around in one BSP, none of the other BSPs exist
:P So the trick is to make a hallway from one BSP to another and make those 'hallways' overlap in 3DS max or whatever program you modeled your level with.
Edited by OrangeJuice on Jun 19, 2013 at 12:57 AM