Hi, need someone to help me understand how to make 2 skyboxes work at the same time
marked with red skybox, I need only one of areas to be connected to another skybox
thank you
In this case, impossible.
SkyBoxes are assigned by your current zone, not by polygon you're looking at.
You could assign that zone a different skybox where it has the different lower part (but same stars above) using special code...
Things get a little complicated if the default skybox is rotating.
Build one skybox with a scenery for the above part and a scenery for the beneath part ...put the skyzone-info between those two sceneries.
Rotation can be faked with moving textures and meshes connected to timed mover
Wasn't there a multiple skybox mod floating around a couple of years back? If so I can conceive of a way to flag individual faces to render from the chosen skybox. That would make a really cool 3-D effect. Imagine playing a level in what appears to be a MASSIVE asteroid floating in a Saturn-like ring of thousands of them. You could render the small map to visually appear to be part of a much larger rock (skybox 1) then all the "sky" above it would be skybox 2 with a large revolving planet dominating the view (skybox 3). Match the blacks and you could get a seamless visual transformation.
Well, that's if multiple skyboxes are indeed possible.
Whops!
My case (skybox assigned to player zone) should only apply if the surface has the 'Force View Zone' flag, otherwise they indeed render the skybox corresponding to the zone the face belongs to.
Anyone wants to try if Fake Backdrop + Force View Zone indeed achieves said funky effect?
//=============================================================================
// MultiSkyZoneInfo.
// by Steve Nabors
//
// www.planetunreal.com/slick
// slickWilly@planetunreal.com
//
// To use just create your skyboxes and give them each their own
// SkyZoneInfo. When you place your SkyZoneInfo, give it a tag name.
//
// Now place this zoneinfo in place of the normal ZoneInfo actor in
// the parts of the map where you have Fake BackDrops.
// You can use this ZoneInfo in place of any normal zone or any of the
// Liquid zones like Water and Lava. It can't be used in place
// of any scripted zones like the NitrogenZone, VacuumZone, PressureZone,
// etc. Liquid zones have no special code other than the default
// zoneinfo settings have been changed for you. You can in reality
// take a normal zoneinfo and change it into a water, Lava, Tar zone
// just by adjusting the settings.
//
// Once you place this ZoneInfo in your level you will give it the
// the name of the skybox tag in it's event tag. In the 2d view you
// will then see a link line to your skyzoneinfo. Once linked up
// all fakebackdrop textures in the zone with this actor will point
// to the proper skybox info.
//
//=============================================================================
class MultiSkyZoneInfo expands ZoneInfo;
simulated function LinkToSkybox()
{
local skyzoneinfo Sky;
Super.LinkToSkybox();
foreach AllActors( class 'SkyZoneInfo', Sky, Event )
{
SkyZone = Sky;
}
}
If it's designed for UT 2004 will that info work for UT99?
Editor Dave, I'm working on your info. Tried it and got a huge BSP issue. I'll try to play around with it more over the weekend when I have more time. I'll let you know how it goes.
Hm, I've never had a BSP issue because of the actor itself, I mean it can't affect the BSP in any way. Make sure that all of your zones are really seperated and have different colors in the Zone/Portal view. And maybe place the skyboxes far away from your main geometry so they can't interfere or be interfered with anything. Or maybe you forgot to compile the new actor? That is important, too.