Jump to content

Viento y humo


Sire

Publicaciones recomendadas

  • Arquitecto

El viento y el humo son complicados de manejar en el IL-2, porque no funcionan exactamente como debieran. Así que una vez más nos toca ponernos las pilas.

VIENTO

  • El viento en el editor se introduce con la dirección en la que sopla
  • Mientras los pilotos necesitan saber la dirección en la que viene el viento, para poder encararlo (despegue, lanzamiento de bombas).

HUMO

Varios humos no se orientan automáticamente con el viento (!!!???) y hay que orientar el icono "a mano". Cuidado si luego cambias el viento de la misión, acuérdate de corregir los humos.

En principio, aunque hay que estar pendiente de las actualizaciones, los humos que hay que orientar son:

  • Hay que orientar los humos grandes (city_fire, city_firesmall,villagesmoke) 

 

Fuente y más detalle en la imagen.

El problema, que como es un comportamiento anormal, puede que lo arreglen en cualquier actualización, así que ojo.

Además.

Una conclusión mía: si los humos "grandes" no se orientan es que su diseño es estático, como "una película" puesta en el escenario.

Esto no sólo tiene el problema de la orientación (corregible a mano), es que los humos tienen una aplicación enorme en la vida real ya que muestran no solo la dirección del viento, sino además la intensidad y el flujo en las diferentes capas de la atmosfera (inversiones térmicas, turbulencia...). Esto último no está modelado en IL-2, pero la intensidad sí es muy importante. ¡No tener que hacer caso a los ojos va en contra de la inmersión en un simulador!

image.thumb.png.7c2d7e020ffb36fd86779c3572cb5bbc.png

 

La intensidad y la dirección sí funcionan correctamente en las mangas:
image.thumb.png.db399707016385b16bdec641d905b2b0.png

Compruébalo tu mismo.

Recuerda, los humos grandes (de ciudad) son una película, mientras que los humos pequeños los calcula. La mejor forma de verlo es que lo compruebes en una misión sencilla como la que acompaño.image.thumb.png.bfa3e2850832e95678c29a934b60bcbc.png

Misión de prueba. Humo y viento.

1. Copia todo el texto de código
2. Abre un archivo txt, pega el código y guardar como "Humo y Viento.mission" en la carpeta /data/missions

Fin de la entrada.

Código de la misión a continuación.
 

# Mission File Version = 1.0;

Options
{
  LCName = 0;
  LCDesc = 1;
  LCAuthor = 2;
  PlayerConfig = "LuaScripts\WorldObjects\Planes\hurricanemkii.txt";
  Time = 12:30:0;
  Date = 19.11.1942;
  HMap = "graphics\landscape\height.hini";
  Textures = "graphics\landscape\textures.tini";
  Forests = "graphics\landscape\trees\woods.wds";
  Layers = "";
  GuiMap = "lapino-winter";
  SeasonPrefix = "wi";
  MissionType = 0;
  AqmId = 0;
  CloudLevel = 500;
  CloudHeight = 200;
  PrecLevel = 0;
  PrecType = 0;
  CloudConfig = "winter\00_clear_00\sky.ini";
  SeaState = 0;
  Turbulence = 0;
  TempPressLevel = 0;
  Temperature = -15;
  Pressure = 760;
  Haze = 0;
  WindLayers
  {
    0 :     270 :     5;
    500 :     270 :     5;
    1000 :     270 :     5;
    2000 :     270 :     5;
    5000 :     270 :     5;
  }
  Countries
  {
    0 : 0;
    101 : 1;
    102 : 1;
    103 : 1;
    201 : 2;
    202 : 2;
    203 : 2;
    301 : 3;
    302 : 3;
    303 : 3;
    304 : 3;
    305 : 3;
    401 : 4;
    402 : 4;
  }
}

Plane
{
  Name = "Plane";
  Index = 2;
  LinkTrId = 3;
  XPos = 23470.380;
  YPos = 151.832;
  ZPos = 30483.137;
  XOri = 0.00;
  YOri = 2.43;
  ZOri = 9.90;
  Script = "LuaScripts\WorldObjects\Planes\hurricanemkii.txt";
  Model = "graphics\planes\hurricanemkii\hurricanemkii.mgm";
  Country = 101;
  Desc = "";
  Skin = "";
  AILevel = 0;
  CoopStart = 0;
  NumberInFormation = 0;
  Vulnerable = 1;
  Engageable = 1;
  LimitAmmo = 1;
  StartInAir = 2;
  Callsign = 0;
  Callnum = 0;
  Time = 60;
  DamageReport = 50;
  DamageThreshold = 1;
  PayloadId = 0;
  WMMask = 1;
  AiRTBDecision = 0;
  DeleteAfterDeath = 1;
  Spotter = -1;
  Fuel = 1;
}



MCU_TR_Entity
{
  Index = 3;
  Name = "Plane entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23470.380;
  YPos = 152.032;
  ZPos = 30483.137;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 2;
}



MCU_TR_MissionBegin
{
  Index = 4;
  Name = "Translator Mission Begin";
  Desc = "";
  Targets = [5];
  Objects = [];
  XPos = 23466.536;
  YPos = 149.886;
  ZPos = 30534.194;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
}



MCU_Timer
{
  Index = 5;
  Name = "Trigger Timer";
  Desc = "";
  Targets = [6];
  Objects = [];
  XPos = 23475.988;
  YPos = 149.886;
  ZPos = 30533.889;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Time = 1;
  Random = 100;
}



MCU_CMD_Effect
{
  Index = 6;
  Name = "Command Effect";
  Desc = "";
  Targets = [];
  Objects = [20,21,22,23,24,25,26,27,28,29,30,35,36];
  XPos = 23598.697;
  YPos = 149.886;
  ZPos = 30727.569;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  ActionType = 0;
}



Effect
{
  Name = "Effect";
  Index = 7;
  LinkTrId = 20;
  XPos = 23786.125;
  YPos = 149.886;
  ZPos = 30532.760;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\chimneystalk_smoke_black.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 8;
  LinkTrId = 21;
  XPos = 23762.407;
  YPos = 149.886;
  ZPos = 30532.760;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\chimneystalk_smoke_grey.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 9;
  LinkTrId = 22;
  XPos = 23741.115;
  YPos = 149.886;
  ZPos = 30534.126;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\chimneystalk_smoke_white.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 10;
  LinkTrId = 23;
  XPos = 23719.439;
  YPos = 149.886;
  ZPos = 30534.137;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\city_fire.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 11;
  LinkTrId = 24;
  XPos = 23698.201;
  YPos = 149.886;
  ZPos = 30534.811;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\city_fire_loop.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 12;
  LinkTrId = 25;
  XPos = 23676.289;
  YPos = 149.886;
  ZPos = 30534.474;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\city_firesmall.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 13;
  LinkTrId = 26;
  XPos = 23652.017;
  YPos = 149.886;
  ZPos = 30534.474;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\city_firesmall_loop.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 14;
  LinkTrId = 27;
  XPos = 23629.514;
  YPos = 149.886;
  ZPos = 30534.770;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\house_smoke.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 15;
  LinkTrId = 28;
  XPos = 23606.166;
  YPos = 149.886;
  ZPos = 30535.301;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\landfire.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 16;
  LinkTrId = 29;
  XPos = 23581.226;
  YPos = 149.886;
  ZPos = 30535.301;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\signalsmoke_red.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 17;
  LinkTrId = 30;
  XPos = 23557.348;
  YPos = 149.886;
  ZPos = 30534.770;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\static_fire.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 18;
  LinkTrId = 35;
  XPos = 23535.592;
  YPos = 149.886;
  ZPos = 30611.712;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\villagesmoke.txt";
  Model = "";
  Desc = "";
}



Effect
{
  Name = "Effect";
  Index = 19;
  LinkTrId = 36;
  XPos = 23508.000;
  YPos = 149.886;
  ZPos = 30614.365;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Script = "luascripts\worldobjects\mapemitters\villagesmoke_loop.txt";
  Model = "";
  Desc = "";
}



MCU_TR_Entity
{
  Index = 20;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23786.125;
  YPos = 150.086;
  ZPos = 30532.760;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 7;
}



MCU_TR_Entity
{
  Index = 21;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23762.407;
  YPos = 150.086;
  ZPos = 30532.760;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 8;
}



MCU_TR_Entity
{
  Index = 22;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23741.115;
  YPos = 150.086;
  ZPos = 30534.126;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 9;
}



MCU_TR_Entity
{
  Index = 23;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23719.439;
  YPos = 150.086;
  ZPos = 30534.137;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 10;
}



MCU_TR_Entity
{
  Index = 24;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23698.201;
  YPos = 150.086;
  ZPos = 30534.811;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 11;
}



MCU_TR_Entity
{
  Index = 25;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23676.289;
  YPos = 150.086;
  ZPos = 30534.474;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 12;
}



MCU_TR_Entity
{
  Index = 26;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23652.017;
  YPos = 150.086;
  ZPos = 30534.474;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 13;
}



MCU_TR_Entity
{
  Index = 27;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23629.514;
  YPos = 150.086;
  ZPos = 30534.770;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 14;
}



MCU_TR_Entity
{
  Index = 28;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23606.166;
  YPos = 150.086;
  ZPos = 30535.301;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 15;
}



MCU_TR_Entity
{
  Index = 29;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23581.226;
  YPos = 150.086;
  ZPos = 30535.301;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 16;
}



MCU_TR_Entity
{
  Index = 30;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23557.348;
  YPos = 150.086;
  ZPos = 30534.770;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 17;
}



Flag
{
  Name = "Flag";
  Index = 31;
  LinkTrId = 34;
  XPos = 23484.629;
  YPos = 149.886;
  ZPos = 30488.137;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Model = "graphics\flag\windsock.mgm";
  Desc = "";
  Script = "LuaScripts\WorldObjects\Flags\windsock.txt";
  Country = 0;
  StartHeight = 0;
  SpeedFactor = 1;
  BlockThreshold = 1;
  Radius = 1000;
  Type = 0;
  CountPlanes = 1;
  CountVehicles = 1;
}



Flag
{
  Name = "Flag";
  Index = 32;
  LinkTrId = 33;
  XPos = 23485.347;
  YPos = 149.886;
  ZPos = 30479.436;
  XOri = 0.00;
  YOri = 73.27;
  ZOri = 0.00;
  Model = "graphics\flag\banner.mgm";
  Desc = "";
  Script = "LuaScripts\WorldObjects\Flags\banner.txt";
  Country = 0;
  StartHeight = 0;
  SpeedFactor = 1;
  BlockThreshold = 1;
  Radius = 1000;
  Type = 0;
  CountPlanes = 1;
  CountVehicles = 1;
}



MCU_TR_Entity
{
  Index = 33;
  Name = "Flag entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23485.347;
  YPos = 150.086;
  ZPos = 30479.436;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 32;
}



MCU_TR_Entity
{
  Index = 34;
  Name = "Flag entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23484.629;
  YPos = 150.086;
  ZPos = 30488.137;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 31;
}



MCU_TR_Entity
{
  Index = 35;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23535.592;
  YPos = 150.086;
  ZPos = 30611.712;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 18;
}



MCU_TR_Entity
{
  Index = 36;
  Name = "Effect entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 23508.000;
  YPos = 150.086;
  ZPos = 30614.365;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 19;
}


# end of file

 

image.png

  • Like 1
  • Master 1
Enlace al comentario
Compartir en otros sitios web

Unirse a la conversación

Puedes publicar ahora y registrarte más tarde. Si tienes una cuenta, conecta ahora para publicar con tu cuenta.

Guest
Responder a esta discusión...

×   Pegar como texto enriquecido.   Restaurar formato

  Sólo se permiten 75 emoji.

×   Tu enlace se ha incrustado automáticamente..   Mostrar como un enlace en su lugar

×   Se ha restaurado el contenido anterior.   Limpiar editor

×   No se pueden pegar imágenes directamente. Carga o inserta imágenes desde la URL.

×
×
  • Crear nuevo...