Jump to content

Recommended Posts

Posted

Has anyone figured out or tried to 'extract' weather info from one mission and insert it in another?

 

I assume there is a section in the mission file that can be copied and pasted onto a new mission, but before some trial & error i thought i'd ask if anyone has done this.

 

Thanks for any help.

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted

Here is the weather section from one of my missions:

 

["weather"] =

{

["atmosphere_type"] = 1,

["wind"] =

{

["at8000"] =

{

["speed"] = 0,

["dir"] = 0,

}, -- end of ["at8000"]

["at2000"] =

{

["speed"] = 0,

["dir"] = 0,

}, -- end of ["at2000"]

["atGround"] =

{

["speed"] = 0,

["dir"] = 0,

}, -- end of ["atGround"]

}, -- end of ["wind"]

["enable_fog"] = false,

["turbulence"] =

{

["at8000"] = 0,

["at2000"] = 0,

["atGround"] = 0,

}, -- end of ["turbulence"]

["season"] =

{

["temperature"] = 20,

["iseason"] = 3,

}, -- end of ["season"]

["qnh"] = 760,

["cyclones"] =

{

[1] =

{

["pressure_spread"] = 861472.1567212,

["centerZ"] = 324271.82867339,

["ellipticity"] = 0.90006357392351,

["rotation"] = -3.1137714375927,

["pressure_excess"] = -1262,

["centerX"] = -114375.16087563,

}, -- end of [1]

[2] =

{

["pressure_spread"] = 859746.14015191,

["centerZ"] = -572321.0056249,

["ellipticity"] = 1.2597444410001,

["rotation"] = -1.4395856824654,

["pressure_excess"] = 1115,

["centerX"] = 540466.04378978,

}, -- end of [2]

[3] =

{

["pressure_spread"] = 904316.24211115,

["centerZ"] = 1352897.456596,

["ellipticity"] = 0.57931640144907,

["rotation"] = -0.54470340773942,

["pressure_excess"] = 1713,

["centerX"] = 305699.97060497,

}, -- end of [3]

}, -- end of ["cyclones"]

["name"] = "Winter, clean sky",

["fog"] =

{

["thickness"] = 0,

["visibility"] = 25,

["density"] = 7,

}, -- end of ["fog"]

["visibility"] =

{

["distance"] = 80000,

}, -- end of ["visibility"]

["clouds"] =

{

["thickness"] = 0,

["density"] = 0,

["base"] = 0,

["iprecptns"] = 0,

}, -- end of ["clouds"]

}, -- end of ["weather"]

 

I assume this can just be transplanted into another mission.

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted

Your assumption is likely correct. Try over-writing another mission's weather with that weather table there, and let us know how it works.

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...