Jump to content
AveryTheKitty

Can't get a skybox to work

Recommended Posts

Hello, I'm trying to change Altis's skybox to use a custom one I've created.

 

class CfgVehicles{};
class CfgWorlds
{
	class DefaultWorld
	{
		class Weather
		{
			class Overcast;
		};
	};
	class CAWorld: DefaultWorld
	{
		class Weather: Weather
		{
			class Overcast: Overcast
			{
				class Weather1;
				class Weather2;
				class Weather3;
				class Weather4;
				class Weather5;
				class Weather6;
			};
		};
	};
	class Altis: CAWorld
	{
		class Weather: Weather
		{
			class Overcast: Overcast
			{
				class Weather1: Weather1
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_clear_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_clear_lco.paa";
				};
				class Weather7: Weather1
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_veryclear_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_veryclear_lco.paa";
				};
				class Weather2: Weather2
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_almostclear_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_almostclear_lco.paa";
				};
				class Weather3: Weather3
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_semicloudy_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_semicloudy_lco.paa";
				};
				class Weather4: Weather4
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_cloudy_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_cloudy_lco.paa";
				};
				class Weather5: Weather5
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_mostlycloudy_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_mostlycloudy_lco.paa";
				};
				class Weather6: Weather6
				{
					sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
					horizon = "Test_Skybox\Data\sky_overcast_horizont_sky.paa";
					skyR = "A3\Map_Stratis\Data\sky_overcast_lco.paa";
				};
			};
		};
	};
};

So far, it hasn't work and the skybox doesn't change at all. Is there anything I'm missing?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×