Jump to content
Sign in to follow this  
beton

Custom skies

Recommended Posts

Hi...

i just wanted to ask if anybody of you guys has managed to bring his own custom skies into the map. I ask this because i need to get rid of the mountains on the horizon without alterring the horizon on other maps.

Thanks in advance

Share this post


Link to post
Share on other sites

From trueuser_skybox_bluer

class Zargabad: CAWorld
{
 class Weather: Weather
 {
  class Overcast: Overcast
  {
   class Weather1: Weather1
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_clear_sky.paa";
   };
   class Weather7: Weather1
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_veryclear_sky.paa";
   };
   class Weather2: Weather2
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_almostclear_sky.paa";
   };
   class Weather3: Weather3
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_semicloudy_sky.paa";
   };
   class Weather4: Weather4
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_cloudy_sky.paa";
   };
   class Weather5: Weather5
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_mostlycloudy_sky.paa";
   };
   class Weather6: Weather6
   {
    sky = "TrueUser_SkyBox_Bluer\t\OA\tm_sky_overcast_sky.paa";
   };
  };
 };
};

Share this post


Link to post
Share on other sites

Seemed to work.

Thank you...:)

Share this post


Link to post
Share on other sites

I want this aswell, where do I put that code in the config, and what should i change?

(Sorry for necro)

Edited by MugAben

Share this post


Link to post
Share on other sites

I also have a couple of questions, I want to have a custom horizon for my latest map, I know where the files are located etc. but I'm unsure what to put in the config in order for the new horizon to work (on my map only of course).

My config looks like this right now:

class CfgPatches

{

class MCN_Aliabad

{

units[] = {MCN_Aliabad};

weapons[] = {};

requiredVersion = 1.03;

requiredAddons[] = {"Takistan","CA_E","CARoads_E","CARocks_E","CAStructures_E","CAMisc_E"};

version = "2009-9-1";

fileName = "MCN_Aliabad.pbo";

author = "McNools";

mail = "McNools@gmail.com";

};

};

class CfgWorlds

{

class CAWorld;

class Takistan: CAWorld

{

class Grid;

class DefaultClutter;

};

class MCN_Aliabad: Takistan

{

description = "Aliabad Region";

worldName= "\MCN\MCN_Aliabad\MCN_Aliabad.wrp";

pictureShot = "\MCN\MCN_Aliabad\data\SM_Picture_ca.paa";

centerPosition[] = {2720,2462,500};

cutscenes[] = {"MCN_AliabadIntro"};

elevationOffset = 0;

seagullPos[] = {2720,2462,500};

longitude = 30; // positive is east, in degrees?

latitude = -45; // positive is south, in degrees?

class OutsideTerrain {

satellite = "MCN\MCN_Aliabad\data\ali_satout_co.paa";

enableTerrainSynth = 1;

class Layers {

class Layer0 {

nopx = "MCN\MCN_Aliabad\data\ali_hlina_nopx.paa";

texture = "MCN\MCN_Aliabad\data\ali_hlina_co.paa";

};

};

};

class Grid: Grid

{

offsetX = 0;

offsetY = 5120;

class Zoom1

{

zoomMax = 0.15;

format = "XY";

formatX = "000";

formatY = "000";

stepX = 100;

stepY = -100;

};

class Zoom2

{

zoomMax = 0.85;

format = "XY";

formatX = "00";

formatY = "00";

stepX = 1000;

stepY = -1000;

};

class Zoom3

{

zoomMax = 1e+030;

format = "XY";

formatX = "0";

formatY = "0";

stepX = 10000;

stepY = -10000;

};

};

ilsPosition[] = {1024,1024};

ilsDirection[] = {0.5075,0.08,-0.8616};

ilsTaxiIn[] = {};

ilsTaxiOff[] = {};

drawTaxiway = 0;

minTreesInForestSquare = 1000;

minRocksInRockSquare = 1000;

class Clutter

{

#include "cfgClutter.hpp"

};

class Names

{

#include "MCN_Aliabad.hpp"

};

};

};

class CfgWorldList

{

class MCN_Aliabad {};

};

class CfgMissions

{

class Cutscenes

{

class MCN_AliabadIntro

{

directory = "MCN\MCN_Aliabad\data\scenes\Aliabad_Intro.MCN_Aliabad";

};

};

};

//SURFACES

#include "cfgSurfaces.hpp"

edit: posted a new thread about my issue:

http://forums.bistudio.com/showthread.php?133360-Custom-Horizon

Edited by McNools

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
Sign in to follow this  

×