PDA

View Full Version : Switching Skyboxes



Rob Oplawar
December 4th, 2006, 04:04 PM
Okay, I know there's a way to do it, because you can have more than one skybox in yuor level tag and I've seen one of those giant maps do it- how do you make one BSP have a different skybox from another?

-Rob

Btd69
December 4th, 2006, 07:19 PM
I don't understand, do you mean a seperate bsp?

Patrickssj6
December 4th, 2006, 08:08 PM
I don't understand, do you mean a seperate bsp?
I think he is reffering to coldsnap were you can switch daylight.:)

Zeph
December 4th, 2006, 10:29 PM
you either script it or change it manually.

Rob Oplawar
December 4th, 2006, 11:55 PM
you either script it or change it manually.

right, but how do you change it manually? is this done in guerilla or sapien?

-Rob

p0lar_bear
December 5th, 2006, 01:11 AM
right, but how do you change it manually? is this done in guerilla or sapien?

-Rob

Both. You will need multiple scenario_collision_bsp tags.


Open your scenario tag.
Add the desired number of skies and reference them.
Save and close your scenario tag.
Open one of the BSPs that will be used in the scenario.
Set the sky index to the desired sky (i.e. 0 for the first sky defined, 1 for the second sky, etc)
Save your BSP tag. Repeat for other BSPs.
Run radiosity on each BSP, switching BSPs via the menus or the switch_bsp function.
Script in a method to switch BSPs, be it by switch, trigger volume, whatever.

Rob Oplawar
December 7th, 2006, 12:14 AM
If it were a snake it would bite me.
Where is this reference to the skybox index for the bsp? I looked through the bsp tag in Guerilla and couldn't find it, and I tend to get lost in the cryptic world of Sapien.

-Rob


BTW, good work on Bio Halo.