Mountains / skybox remove

ArmA 2 editing; configs, modeling, missions, textures, terrain etc.

Moderators: Lone Wolf, Snake Man

Snake Man
Commander-In-Chief
Posts: 9354
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Mountains / skybox remove

Post by Snake Man » 2009-11-20 12:04:42

I removed the mountains from the horizon, some call this "skybox". Here is the config how it was done:

Code: Select all

class CfgPatches
{
	class VTE_skybox_remove
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 1;
		requiredAddons[] = {};
	};
};

class CfgWorlds
{
	class DefaultWorld
	{
		class Weather
		{
			class Overcast
			{
				class Weather1;
				class Weather2;
				class Weather3;
				class Weather4;
				class Weather5;
			};
		};
	};

	class CAWorld: DefaultWorld
	{
		class Weather: Weather
		{
			class Overcast: Overcast
			{
				class Weather1: Weather1
				{
					// sky = "ca\data\data\sky_clear_sky.paa";
					// skyR = "ca\data\data\sky_clear_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_clear_horizont_sky.paa";
				};

				class Weather7: Weather1
				{
					// sky = "ca\data\data\sky_veryclear_sky.paa";
					// skyR = "ca\data\data\sky_clear_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_veryclear_horizont_sky.paa";
				};

				class Weather2: Weather2
				{
					// sky = "ca\data\data\sky_almostclear_sky.paa";
					// skyR = "ca\data\data\sky_almostclear_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_almostclear_horizont_sky.paa";
				};

				class Weather3: Weather3
				{
					// sky = "ca\data\data\sky_semicloudy_sky.paa";
					// skyR = "ca\data\data\sky_semicloudy_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_semicloudy_horizont_sky.paa";
				};

				class Weather4: Weather4
				{
					// sky = "ca\data\data\sky_cloudy_sky.paa";
					// skyR = "ca\data\data\sky_cloudy_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_cloudy_horizont_sky.paa";
				};

				class Weather5: Weather5
				{
					// sky = "ca\data\data\sky_mostlycloudy_sky.paa";
					// skyR = "ca\data\data\sky_mostlycloudy_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_mostlycloudy_horizont_sky.paa";
				};

				class Weather6: Weather5
				{
					// sky = "ca\data\data\sky_overcast_sky.paa";
					// skyR = "ca\data\data\sky_overcast_lco.paa";
					horizon = "pmc\vte_skybox_remove\data\vte_sky_overcast_horizont_sky.paa";
				};
			};
		};
	};
};
The paa textures were edited, there is alpha channel transparent stuff included also so be careful when creating them.

Greetings goes to DMarkwick for getting me started, thanks man.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

T_Rex
FreeFalcon
Posts: 848
Joined: 2001-03-04 23:01:01
Location: here

Re: Mountains / skybox remove

Post by T_Rex » 2009-11-24 15:58:21

hehe

Yeah, but I think his solution resulted in a 30mb download! :D
Sic Semper tyrannosauro.

Snake Man
Commander-In-Chief
Posts: 9354
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Re: Mountains / skybox remove

Post by Snake Man » 2009-11-24 16:04:06

It is the same size, the .paa files in my dev dir are 37.3mb in size. Big sky, big images.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

T_Rex
FreeFalcon
Posts: 848
Joined: 2001-03-04 23:01:01
Location: here

Re: Mountains / skybox remove

Post by T_Rex » 2009-11-24 17:09:48

Ah... :doh:

Any way to use some generic blank textures, and make it mostly a cfg change?
Sic Semper tyrannosauro.

Snake Man
Commander-In-Chief
Posts: 9354
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Re: Mountains / skybox remove

Post by Snake Man » 2009-11-24 17:12:36

Dunno, try it out... those textures replace the sky... so they need to be there, unless you want no sky at all. Hmm maybe lower resolution? dunno :)
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Who is online

Users browsing this forum: No registered users and 0 guests