Jump to content

Misiones continuas. Bucles: Fabrica, depósito combate, repite.


Publicaciones recomendadas

  • Moderador

Yo distinguiría entre dos tipos de misiones: las puntuales y las continuas.

Las puntuales son aquellas en las que las cosas están preparadas para funcionar una sola vez.  Una misión, una "partida". son relativamente sencillas ya que sólo hay que preparar los activadores para que funcionen una vez. Es como preparar una partida de rol. Imaginas unas escenas y se las planteas a los jugadores. La incertidumbre de como van a desenvolverse los jugadores es lo que genera el realismo, y a lo mejor incluyes un par de elementos aleatorios para que la escena no esté tan encorsetada... aunque tampoco es necesario. Si como editor tomas el papel del destino la escena que prepares es como tiene que ser.
Eso sí, la rejugabilidad está muy comprometida. Los humanos pronto reconocemos los patrones.

Las misiones continuas son mucho más complejas. Son aquellas que están preparadas para "vivir" en un servidor dedicado durante horas. Puedes introducir varias situaciones puntuales pero como nexo de unión siempre vas a necesitar una matriz de acontecimientos que puedan repetirse en bucle y cuyo patrón activador no sea fácilmente reconocible (lo mejor, meter aleatoriadores).

No vamos ahora a centrarnos en los activadores si no en los bucles.

Uno sería una patrulla aérea, que apareciera en escena bajo ciertas condiciones. Bien, pues ojo aquí porque nos encontramos con otra limitación de IL-2. Aunque lo preferible es usar formaciones (también con la IA), no se puede activar dos veces la misma formación de aviones. Hay que utilizar el Spawn (en vez del Trigger Activate), y los aviones spawneados NO reconocen las formaciones, da igual que se la indiques. Cuatro aviones serán cuatro robots volando independiente con riesgo de chocarse. Aunque hay formas de disimular esto. Bien, solo era una introducción al problema, lo veremos en algún otro post.

Para empezar a editar bucles lo ideal es empezar por algo más sencillo, relativamente sencillo. En realidad es bastante avanzado así que tómate tu tiempo para analizar la misión.

Build.gif.fa00920db255f34fd3c2f50d5fb8d6e4.gif
En este ejemplo tenemos tres grupos, todos tienen una entrada (inicio) y una salida (resultado).

  • Fábrica: Cuando se llama a Fábrica esta produce un camión y lo dirige a Depósito
  • Depósito: Cuando un camión llega a depósito lo transforma en un montón de cajas. Cuando las 4 cajas están construidas construye un tanque. Aquí espera.
  • Combate: Cuando el Depósito tiene 4 cajas estás son destruidas para crear un tanque. Cuando el tanque resulta destruido avisa al Depósito para que pida cajas de nuevo.

Como se ve, conectando las entradas y salidas de los tres grupos entre ellos tenemos el bucle.

A partir de aquí viene la configuración para cada caso específico. Por ejemplo:

  • Evidentemente la posición y la distancia entre elementos hay que adaptarlas a tu mapa y tus necesidades. En el ejemplo es muy corto para que el bucle sea fácil de ver.
  • Cuantos camiones hacen falta para completar un montón de cajas (hay un contador, por defecto 1)
  • Cuanto tiempo pasa entre que hay cuatro cajas y se monta el tanque (es simplemente un timmer)

También podrías editar la fábrica para que no sólo saliera un camión, si no un convoy, y que su longitud y composición fuera variable (esto lo veremos en otro post).

Bien, ahora si te ha interesado esto, no tienes más remedio que dedicar tiempo a estudiar la misión para comprender sus entresijos.

El código está a continuación.
1. Copia el código
2. Pégalo en un TXT, guárdalo como nombrequequieras.mission en la carpeta data/missions de tu instalación de IL-2

Un saludo
Sire:)

Fin del post

 

# Mission File Version = 1.0;

Options
{
  LCName = 0;
  LCDesc = 1;
  LCAuthor = 2;
  PlayerConfig = "";
  Time = 12:30:0;
  Date = 25.8.1942;
  HMap = "graphics\LANDSCAPE_summer\height.hini";
  Textures = "graphics\LANDSCAPE_summer\textures.tini";
  Forests = "graphics\LANDSCAPE_summer\trees\woods.wds";
  Layers = "";
  GuiMap = "lapino-summer";
  SeasonPrefix = "su";
  MissionType = 0;
  AqmId = 0;
  CloudLevel = 500;
  CloudHeight = 200;
  PrecLevel = 0;
  PrecType = 0;
  CloudConfig = "summer\00_clear_00\sky.ini";
  SeaState = 0;
  Turbulence = 0;
  TempPressLevel = 0;
  Temperature = 25;
  Pressure = 760;
  Haze = 0;
  WindLayers
  {
    0 :     0 :     0;
    500 :     0 :     0;
    1000 :     0 :     0;
    2000 :     0 :     0;
    5000 :     0 :     0;
  }
  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;
  }
}

Block
{
  Name = "Block";
  Index = 2;
  LinkTrId = 0;
  XPos = 24616.227;
  YPos = 101.593;
  ZPos = 19888.529;
  XOri = 0.00;
  YOri = 22.10;
  ZOri = 0.00;
  Model = "graphics\blocks\industrial_200x140_01.mgm";
  Script = "LuaScripts\WorldObjects\Blocks\industrial_200x140_01.txt";
  Country = 0;
  Desc = "";
  Durability = 25000;
  DamageReport = 50;
  DamageThreshold = 1;
  DeleteAfterDeath = 1;
}



MCU_TR_CameraOperator
{
  Index = 3;
  Name = "Translator Camera Operator";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 24338.384;
  YPos = 270.630;
  ZPos = 19999.279;
  XOri = 0.00;
  YOri = 13.47;
  ZOri = 311.87;
  Enabled = 1;
  Speed = 0;
  FOV = 90;
  FirstId = -1;
  SecondId = -1;
  LockView = 0;
  CameraType = 0;
  Config = "";
}



Vehicle
{
  Name = "Vehicle";
  Index = 4;
  LinkTrId = 5;
  XPos = 24569.367;
  YPos = 104.477;
  ZPos = 20029.092;
  XOri = 1.75;
  YOri = 105.19;
  ZOri = 1.96;
  Script = "LuaScripts\WorldObjects\vehicles\pak38.txt";
  Model = "graphics\artillery\pak38\pak38.mgm";
  Desc = "";
  Country = 201;
  NumberInFormation = 0;
  Vulnerable = 0;
  Engageable = 0;
  LimitAmmo = 0;
  AILevel = 2;
  DamageReport = 50;
  DamageThreshold = 1;
  DeleteAfterDeath = 1;
  CoopStart = 0;
  Spotter = -1;
  BeaconChannel = 0;
  Callsign = 0;
  PayloadId = 0;
  WMMask = 1;
  Fuel = 1;
  Callnum = 0;
  Skin = "";
  RepairFriendlies = 0;
  RehealFriendlies = 0;
  RearmFriendlies = 0;
  RefuelFriendlies = 0;
  RepairTime = 0;
  RehealTime = 0;
  RearmTime = 0;
  RefuelTime = 0;
  MaintenanceRadius = 10;
}



MCU_TR_Entity
{
  Index = 5;
  Name = "Vehicle entity";
  Desc = "";
  Targets = [];
  Objects = [];
  XPos = 24569.367;
  YPos = 104.677;
  ZPos = 20029.092;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
  MisObjID = 4;
}



MCU_TR_MissionBegin
{
  Index = 7;
  Name = "Translator Mission Begin";
  Desc = "";
  Targets = [8];
  Objects = [];
  XPos = 24611.653;
  YPos = 105.476;
  ZPos = 20050.152;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Enabled = 1;
}



MCU_CMD_AttackArea
{
  Index = 9;
  Name = "command AttackArea";
  Desc = "";
  Targets = [];
  Objects = [5];
  XPos = 24546.894;
  YPos = 106.787;
  ZPos = 20089.286;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  AttackGround = 0;
  AttackAir = 0;
  AttackGTargets = 1;
  AttackArea = 50;
  Time = 59940;
  Priority = 2;
}



MCU_Timer
{
  Index = 8;
  Name = "2S";
  Desc = "";
  Targets = [9];
  Objects = [];
  XPos = 24608.392;
  YPos = 106.502;
  ZPos = 20073.912;
  XOri = 0.00;
  YOri = 0.00;
  ZOri = 0.00;
  Time = 2;
  Random = 100;
}



Group
{
  Name = "Build";
  Index = 11;
  Desc = "";
  MCU_Spawner
  {
    Index = 12;
    Name = "Spawn";
    Desc = "";
    Targets = [];
    Objects = [13];
    XPos = 24594.801;
    YPos = 103.875;
    ZPos = 19896.166;
    XOri = 0.00;
    YOri = 112.67;
    ZOri = 0.00;
    SpawnAtMe = 0;
  }
  

  MCU_Timer
  {
    Index = 14;
    Name = "100ms";
    Desc = "";
    Targets = [15,16];
    Objects = [];
    XPos = 24591.402;
    YPos = 98.018;
    ZPos = 19886.061;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 1.1;
    Random = 100;
  }
  

  Vehicle
  {
    Name = "Vehicle";
    Index = 17;
    LinkTrId = 13;
    XPos = 24559.661;
    YPos = 100.114;
    ZPos = 19884.613;
    XOri = 3.40;
    YOri = 202.60;
    ZOri = 357.25;
    Script = "LuaScripts\WorldObjects\vehicles\gmc-cckw.txt";
    Model = "graphics\vehicles\gmc-cckw\gmc-cckw.mgm";
    Desc = "";
    Country = 103;
    NumberInFormation = 0;
    Vulnerable = 1;
    Engageable = 1;
    LimitAmmo = 1;
    AILevel = 2;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
    CoopStart = 0;
    Spotter = -1;
    BeaconChannel = 0;
    Callsign = 0;
    PayloadId = 0;
    WMMask = 1;
    Fuel = 1;
    Callnum = 0;
    Skin = "";
    RepairFriendlies = 0;
    RehealFriendlies = 0;
    RearmFriendlies = 0;
    RefuelFriendlies = 0;
    RepairTime = 0;
    RehealTime = 0;
    RearmTime = 0;
    RefuelTime = 0;
    MaintenanceRadius = 10;
  }
  

  MCU_TR_Entity
  {
    Index = 13;
    Name = "Vehicle entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24559.661;
    YPos = 100.314;
    ZPos = 19884.613;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    MisObjID = 17;
  }
  

  MCU_Timer
  {
    Index = 19;
    Name = "IN Build&Send";
    Desc = "";
    Targets = [12,14];
    Objects = [];
    XPos = 24609.052;
    YPos = 98.516;
    ZPos = 19887.413;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_CMD_Formation
  {
    Index = 15;
    Name = "F_VRoad";
    Desc = "";
    Targets = [];
    Objects = [13];
    XPos = 24583.672;
    YPos = 97.847;
    ZPos = 19886.006;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  FormationType = 4;
  FormationDensity = 0;
  }
  

  MCU_Timer
  {
    Index = 16;
    Name = "100ms";
    Desc = "";
    Targets = [22];
    Objects = [];
    XPos = 24576.847;
    YPos = 98.018;
    ZPos = 19891.636;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 1.1;
    Random = 100;
  }
  

}



Group
{
  Name = "Depot";
  Index = 23;
  Desc = "";
  MCU_Waypoint
  {
    Index = 22;
    Name = "Trigger Waypoint";
    Desc = "";
    Targets = [25];
    Objects = [13];
    XPos = 24425.170;
    YPos = 105.439;
    ZPos = 20109.585;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Area = 10;
    Speed = 100;
    Priority = 1;
  }
  

  Block
  {
    Name = "Block";
    Index = 26;
    LinkTrId = 0;
    XPos = 24405.828;
    YPos = 105.147;
    ZPos = 20100.040;
    XOri = 0.00;
    YOri = 116.10;
    ZOri = 0.00;
    Model = "graphics\blocks\industrial_object_smallwarehouse.mgm";
    Script = "LuaScripts\WorldObjects\Blocks\industrial_object_smallwarehouse.txt";
    Country = 0;
    Desc = "";
    Durability = 25000;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
  }
  

  Block
  {
    Name = "Crate1";
    Index = 27;
    LinkTrId = 28;
    XPos = 24404.981;
    YPos = 105.147;
    ZPos = 20122.965;
    XOri = 0.00;
    YOri = 296.79;
    ZOri = 0.00;
    Model = "graphics\blocks\port_up_unit_woodbox_1x4.mgm";
    Script = "LuaScripts\WorldObjects\Blocks\port_up_unit_woodbox_1x4.txt";
    Country = 103;
    Desc = "";
    Durability = 25000;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
  }
  

  MCU_TR_Entity
  {
    Index = 28;
    Name = "Block entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24404.981;
    YPos = 105.347;
    ZPos = 20122.965;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    MisObjID = 27;
  }
  

  Block
  {
    Name = "Crate2";
    Index = 30;
    LinkTrId = 31;
    XPos = 24389.820;
    YPos = 105.147;
    ZPos = 20115.465;
    XOri = 0.00;
    YOri = 296.79;
    ZOri = 0.00;
    Model = "graphics\blocks\port_up_unit_woodbox_1x4.mgm";
    Script = "LuaScripts\WorldObjects\Blocks\port_up_unit_woodbox_1x4.txt";
    Country = 103;
    Desc = "";
    Durability = 25000;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
  }
  

  MCU_TR_Entity
  {
    Index = 31;
    Name = "Block entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24389.820;
    YPos = 105.347;
    ZPos = 20115.465;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    MisObjID = 30;
  }
  

  Block
  {
    Name = "Crate3";
    Index = 33;
    LinkTrId = 34;
    XPos = 24400.310;
    YPos = 105.147;
    ZPos = 20132.525;
    XOri = 0.00;
    YOri = 296.79;
    ZOri = 0.00;
    Model = "graphics\blocks\port_up_unit_woodbox_1x4.mgm";
    Script = "LuaScripts\WorldObjects\Blocks\port_up_unit_woodbox_1x4.txt";
    Country = 103;
    Desc = "";
    Durability = 25000;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
  }
  

  MCU_TR_Entity
  {
    Index = 34;
    Name = "Block entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24400.310;
    YPos = 105.347;
    ZPos = 20132.525;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    MisObjID = 33;
  }
  

  Block
  {
    Name = "Crate4";
    Index = 36;
    LinkTrId = 37;
    XPos = 24385.051;
    YPos = 105.147;
    ZPos = 20125.214;
    XOri = 0.00;
    YOri = 296.79;
    ZOri = 0.00;
    Model = "graphics\blocks\port_up_unit_woodbox_1x4.mgm";
    Script = "LuaScripts\WorldObjects\Blocks\port_up_unit_woodbox_1x4.txt";
    Country = 103;
    Desc = "";
    Durability = 25000;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
  }
  

  MCU_TR_Entity
  {
    Index = 37;
    Name = "Block entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24385.051;
    YPos = 105.347;
    ZPos = 20125.214;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    MisObjID = 36;
  }
  

  MCU_CMD_Damage
  {
    Index = 39;
    Name = "Destroy x4";
    Desc = "";
    Targets = [];
    Objects = [28,31,34,37];
    XPos = 24376.835;
    YPos = 105.736;
    ZPos = 20115.538;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Damage = 2;
    Type = 1;
  }
  

  MCU_CMD_Damage
  {
    Index = 40;
    Name = "Repair1";
    Desc = "";
    Targets = [];
    Objects = [28];
    XPos = 24379.316;
    YPos = 104.812;
    ZPos = 20089.644;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Damage = 2;
    Type = 0;
  }
  

  MCU_CMD_Damage
  {
    Index = 41;
    Name = "Repair4";
    Desc = "";
    Targets = [];
    Objects = [34];
    XPos = 24359.216;
    YPos = 104.812;
    ZPos = 20129.969;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Damage = 2;
    Type = 0;
  }
  

  MCU_CMD_Damage
  {
    Index = 42;
    Name = "Repair2";
    Desc = "";
    Targets = [];
    Objects = [31];
    XPos = 24376.637;
    YPos = 104.812;
    ZPos = 20097.818;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Damage = 2;
    Type = 0;
  }
  

  MCU_CMD_Damage
  {
    Index = 43;
    Name = "Repair3";
    Desc = "";
    Targets = [];
    Objects = [37];
    XPos = 24367.005;
    YPos = 104.812;
    ZPos = 20118.738;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Damage = 2;
    Type = 0;
  }
  

  MCU_Timer
  {
    Index = 25;
    Name = "OnArrival";
    Desc = "";
    Targets = [45,46];
    Objects = [];
    XPos = 24414.931;
    YPos = 105.612;
    ZPos = 20081.271;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 45;
    Name = "IN Depot";
    Desc = "";
    Targets = [48];
    Objects = [];
    XPos = 24360.386;
    YPos = 104.595;
    ZPos = 20049.476;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Counter
  {
    Index = 48;
    Name = "EveryN";
    Desc = "";
    Targets = [50,51,52,53];
    Objects = [];
    XPos = 24353.004;
    YPos = 104.877;
    ZPos = 20049.574;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Counter = 1;
    Dropcount = 1;
  }
  

  MCU_Timer
  {
    Index = 50;
    Name = "ON Crate1";
    Desc = "";
    Targets = [40,55,56,57];
    Objects = [];
    XPos = 24353.059;
    YPos = 105.088;
    ZPos = 20058.699;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_TR_MissionBegin
  {
    Index = 58;
    Name = "Setup";
    Desc = "";
    Targets = [59];
    Objects = [];
    XPos = 24317.841;
    YPos = 103.475;
    ZPos = 20101.129;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
  }
  

  MCU_Timer
  {
    Index = 59;
    Name = "1s";
    Desc = "";
    Targets = [61,3,62];
    Objects = [];
    XPos = 24327.664;
    YPos = 104.032;
    ZPos = 20100.859;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 1;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 61;
    Name = "OFFCratesx4";
    Desc = "";
    Targets = [39,64];
    Objects = [];
    XPos = 24360.044;
    YPos = 105.705;
    ZPos = 20101.064;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 51;
    Name = "ON Crate2";
    Desc = "";
    Targets = [42,66,67,57];
    Objects = [];
    XPos = 24348.205;
    YPos = 105.088;
    ZPos = 20070.397;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 52;
    Name = "ON Crate3";
    Desc = "";
    Targets = [43,69,70,57];
    Objects = [];
    XPos = 24342.959;
    YPos = 105.088;
    ZPos = 20081.195;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 53;
    Name = "ON Crate4";
    Desc = "";
    Targets = [41,72,73];
    Objects = [];
    XPos = 24336.971;
    YPos = 105.088;
    ZPos = 20091.178;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Deactivate
  {
    Index = 64;
    Name = "TD";
    Desc = "";
    Targets = [51,52,53];
    Objects = [];
    XPos = 24360.394;
    YPos = 105.700;
    ZPos = 20091.288;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Activate
  {
    Index = 55;
    Name = "TA";
    Desc = "";
    Targets = [51];
    Objects = [];
    XPos = 24349.073;
    YPos = 102.568;
    ZPos = 20058.843;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Activate
  {
    Index = 66;
    Name = "TA";
    Desc = "";
    Targets = [52];
    Objects = [];
    XPos = 24343.229;
    YPos = 102.568;
    ZPos = 20070.594;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Activate
  {
    Index = 69;
    Name = "TA";
    Desc = "";
    Targets = [53];
    Objects = [];
    XPos = 24336.961;
    YPos = 102.568;
    ZPos = 20081.450;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Deactivate
  {
    Index = 56;
    Name = "SelfTD";
    Desc = "";
    Targets = [50];
    Objects = [];
    XPos = 24353.007;
    YPos = 102.994;
    ZPos = 20062.224;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Deactivate
  {
    Index = 67;
    Name = "SelfTD";
    Desc = "";
    Targets = [51];
    Objects = [];
    XPos = 24348.117;
    YPos = 102.994;
    ZPos = 20073.930;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Deactivate
  {
    Index = 70;
    Name = "SelfTD";
    Desc = "";
    Targets = [52];
    Objects = [];
    XPos = 24342.881;
    YPos = 102.994;
    ZPos = 20084.253;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Deactivate
  {
    Index = 72;
    Name = "SelfTD";
    Desc = "";
    Targets = [53,45];
    Objects = [];
    XPos = 24337.053;
    YPos = 102.994;
    ZPos = 20093.736;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Timer
  {
    Index = 82;
    Name = "Refesh";
    Desc = "";
    Targets = [83];
    Objects = [];
    XPos = 24328.679;
    YPos = 102.767;
    ZPos = 20060.849;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Activate
  {
    Index = 83;
    Name = "TA";
    Desc = "";
    Targets = [45,50];
    Objects = [];
    XPos = 24336.213;
    YPos = 102.599;
    ZPos = 20058.386;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_Timer
  {
    Index = 57;
    Name = "SendMore";
    Desc = "";
    Targets = [19,86];
    Objects = [];
    XPos = 24307.132;
    YPos = 105.704;
    ZPos = 20119.230;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Delete
  {
    Index = 46;
    Name = "Trigger Delete";
    Desc = "";
    Targets = [];
    Objects = [13];
    XPos = 24409.204;
    YPos = 104.899;
    ZPos = 20070.644;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

  MCU_TR_Subtitle
  {
    Index = 86;
    Name = "Txt";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24300.592;
    YPos = 105.339;
    ZPos = 20122.506;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 1;
    SubtitleInfo
    {
      Duration = 2;
      FontSize = 40;
      HAlign = 1;
      VAlign = 2;
      RColor = 255;
      GColor = 255;
      BColor = 255;
      LCText = 13;
    }
    
    Coalitions = [0, 1, 2, 3, 4];
  }
  

  MCU_Timer
  {
    Index = 73;
    Name = "AskATank";
    Desc = "";
    Targets = [90,61];
    Objects = [];
    XPos = 24344.203;
    YPos = 105.711;
    ZPos = 20116.306;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 30;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 62;
    Name = "1min";
    Desc = "";
    Targets = [57];
    Objects = [];
    XPos = 24331.773;
    YPos = 105.667;
    ZPos = 20111.513;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 60;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 92;
    Name = "Refresh&Send";
    Desc = "";
    Targets = [93,57];
    Objects = [];
    XPos = 24327.110;
    YPos = 105.608;
    ZPos = 20129.706;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  MCU_Timer
  {
    Index = 93;
    Name = "100ms";
    Desc = "";
    Targets = [82];
    Objects = [];
    XPos = 24322.773;
    YPos = 105.599;
    ZPos = 20122.945;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

}



Group
{
  Name = "Fight";
  Index = 95;
  Desc = "";
  MCU_Timer
  {
    Index = 90;
    Name = "IN Tank";
    Desc = "";
    Targets = [97,98];
    Objects = [];
    XPos = 24369.379;
    YPos = 104.907;
    ZPos = 20158.815;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0;
    Random = 100;
  }
  

  Vehicle
  {
    Name = "Vehicle";
    Index = 99;
    LinkTrId = 100;
    XPos = 24381.697;
    YPos = 106.600;
    ZPos = 20149.710;
    XOri = 358.03;
    YOri = 27.35;
    ZOri = 3.34;
    Script = "LuaScripts\WorldObjects\vehicles\m4a2.txt";
    Model = "graphics\vehicles\m4a2\m4a2.mgm";
    Desc = "";
    Country = 103;
    NumberInFormation = 0;
    Vulnerable = 1;
    Engageable = 1;
    LimitAmmo = 1;
    AILevel = 2;
    DamageReport = 50;
    DamageThreshold = 1;
    DeleteAfterDeath = 1;
    CoopStart = 0;
    Spotter = -1;
    BeaconChannel = 0;
    Callsign = 0;
    PayloadId = 0;
    WMMask = 1;
    Fuel = 1;
    Callnum = 0;
    Skin = "";
    RepairFriendlies = 0;
    RehealFriendlies = 0;
    RearmFriendlies = 0;
    RefuelFriendlies = 0;
    RepairTime = 0;
    RehealTime = 0;
    RearmTime = 0;
    RefuelTime = 0;
    MaintenanceRadius = 10;
  }
  

  MCU_TR_Entity
  {
    Index = 100;
    Name = "Vehicle entity";
    Desc = "";
    Targets = [];
    Objects = [];
    XPos = 24381.697;
    YPos = 106.800;
    ZPos = 20149.710;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Enabled = 0;
    MisObjID = 99;
    OnEvents
    {
      OnEvent
      {
        Type = 13;
        TarId = 92;
      }
      OnEvent
      {
        Type = 13;
        TarId = 102;
      }
    }
  }
  

  MCU_Spawner
  {
    Index = 97;
    Name = "Trigger Spawner";
    Desc = "";
    Targets = [];
    Objects = [100];
    XPos = 24377.812;
    YPos = 105.287;
    ZPos = 20154.948;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    SpawnAtMe = 0;
  }
  

  MCU_Timer
  {
    Index = 98;
    Name = "100ms";
    Desc = "";
    Targets = [105];
    Objects = [];
    XPos = 24375.173;
    YPos = 105.175;
    ZPos = 20160.574;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 0.1;
    Random = 100;
  }
  

  MCU_Waypoint
  {
    Index = 105;
    Name = "Trigger Waypoint";
    Desc = "";
    Targets = [107];
    Objects = [100];
    XPos = 24509.846;
    YPos = 109.200;
    ZPos = 20194.083;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Area = 20;
    Speed = 100;
    Priority = 2;
  }
  

  MCU_Waypoint
  {
    Index = 107;
    Name = "Trigger Waypoint";
    Desc = "";
    Targets = [];
    Objects = [100];
    XPos = 24558.720;
    YPos = 109.200;
    ZPos = 20060.446;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Area = 20;
    Speed = 100;
    Priority = 2;
  }
  

  MCU_Timer
  {
    Index = 102;
    Name = "5s";
    Desc = "";
    Targets = [110];
    Objects = [];
    XPos = 24390.072;
    YPos = 104.948;
    ZPos = 20159.068;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
    Time = 5;
    Random = 100;
  }
  

  MCU_Delete
  {
    Index = 110;
    Name = "Delete";
    Desc = "";
    Targets = [];
    Objects = [100];
    XPos = 24389.111;
    YPos = 104.636;
    ZPos = 20169.371;
    XOri = 0.00;
    YOri = 0.00;
    ZOri = 0.00;
  }
  

}


# end of file

 

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...