Auther: Steve Nabors
www.planetunreal.com/slick
slickwilly@planetunreal.com

These are new replacement zone infos that enable the ability to
have multiple skyboxes.

MyLevel Script embedding Info:

This script has been embedded into the included map file.  To use in
your level just load up this map when you first start UnrealEd.
You will then see new ZoneInfo Actors called: MultiSky.....  These will remain
listed in the actor browser until you shut down UED.  Now load up your 
map and open the actor browser and select a MultiSkyZoneInfo of your choice.
Place the appropriate zoneinfo actor in your level according
to the instructions below. Once the zoneinfo is placed in your level 
you will not have to load up the included file anymore for your map
because once you place it in your level, your map now contains the
script in its MyLevel Package. To create a new map do the same thing.  
Simply load this map first (Or any new maps you have created that include
the zoneinfo you want) then load up your new map and place the zoneinfo
in it.  You will only have to do this once to get the script copied
to your new map.  If for some reason you delete the zoneinfo you need
and save your map and shutdown UED then the next time you load your
map you will not see the zoneinfo listed anymore.  UED knows to delete
objects in the MyLevel Package if they are not in use in the map.
If this happens just load up the demo map again and reload your level
to get the list back up.

Using the new MultiSkyZones:

1. To use just create your skyboxes and give them each their own normal
SkyZoneInfo actor (USE THE REGULAR SKYZONE INFO, NOT ONE OF THESE NEW ONES)
When you place your SkyZoneInfo,  give it a tag name under events in the 
properties of the skyzoneinfo, Like "SKY1" or something.

2. In the zones that have fakebackdrops you will need to replace the
zoneinfo actor there(if you have one) with one of the new multiskyzone
zoneinfos. You will only need to place one of these zones if there
are fakebackdrop textures in that zone.  Adjacent Zones looking into the
zone with the fakebackdrops will still work fine using regular zoneinfos.

3. When you place the MultiSkyZoneInfo go into its properties and
under events you will need to place the tag of your skybox you want
in the event field.  (same way you do triggers and other similiar things).
When you do this you will see a red link line draw between the ZoneInfo
and the SkyZone Actor it is pointing to.



For the Scripters:

All that had to be done was subclass a new Zone info and include this code along
with whatever other code is there:

simulated function LinkToSkybox()
{
	local skyzoneinfo Sky;

	Super.LinkToSkybox();

	foreach AllActors( class 'SkyZoneInfo', Sky, Event )
	{
		SkyZone = Sky;
	}
}

