home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April B / Pcwk4b98.iso / Gry / DARKREIG / Data / Dark / SCENARIO / Fixed / T3 / T3C7.END < prev    next >
Text File  |  1997-10-28  |  4KB  |  250 lines

  1. DefineEndCondTree( 0 )
  2. {
  3. ;State 1
  4. ; If any building or unit is destroyed, the player loses. 
  5.   DefineCondState()
  6.   {
  7.     ; once the player reaches the neutron accelerators,
  8.     ; stop failing for killed units
  9.     DefineCondition(3 0 0 50 "c1to2.txt")
  10.     {
  11.       CritHaveCredits (50000)
  12.     }
  13.  
  14.     DefineCondition(2 0 0 50 "c1to2.txt")
  15.     {
  16.       CritOR()
  17.       {
  18.         CritDestroyBuilding()
  19.         {
  20.         46
  21.         }
  22.         CritDestroyBuilding()
  23.         {
  24.         55
  25.         }
  26.         CritDestroyBuilding()
  27.         {
  28.         49
  29.         }
  30.         CritDestroyBuilding()
  31.         {
  32.         52
  33.         }
  34.         CritDestroyBuilding()
  35.         {
  36.         82
  37.         }
  38.         CritDestroyBuilding()
  39.         {
  40.         495
  41.         }
  42.         CritDestroyBuilding()
  43.         {
  44.         1955
  45.         }
  46.         CritDestroyBuilding()
  47.         {
  48.         534
  49.         }
  50.         CritDestroyBuilding()
  51.         {
  52.         535
  53.         }
  54.         CritDestroyBuilding()
  55.         {
  56.         498
  57.         }
  58.         CritDestroyBuilding()
  59.         {
  60.         501
  61.         }
  62.         CritDestroyBuilding()
  63.         {
  64.         1952
  65.         }
  66.         CritDestroyBuilding()
  67.         {
  68.         504
  69.         }
  70.         CritDestroyBuilding()
  71.         {
  72.         507
  73.         }
  74.         CritDestroyBuilding()
  75.         {
  76.         510
  77.         }
  78.         CritDestroyBuilding()
  79.         {
  80.         1949
  81.         }
  82.         CritDestroyBuilding()
  83.         {
  84.         513
  85.         }
  86.         CritDestroyBuilding()
  87.         {
  88.         516
  89.         }
  90.         CritDestroyBuilding()
  91.         {
  92.         519
  93.         }
  94.         CritDestroyBuilding()
  95.         {
  96.         1388
  97.         }
  98.         CritDestroyBuilding()
  99.         {
  100.         909
  101.         }
  102.         CritDestroyUnit()
  103.         {
  104.         0
  105.         }
  106.         CritDestroyUnit()
  107.         {
  108.         2
  109.         }
  110.         CritDestroyUnit()
  111.         {
  112.         6
  113.         }
  114.         CritDestroyUnit()
  115.         {
  116.         8
  117.         }
  118.         CritDestroyUnit()
  119.         {
  120.         10
  121.         }
  122.         CritDestroyUnit()
  123.         {
  124.         12
  125.         }
  126.         CritDestroyUnit()
  127.         {
  128.         14
  129.         }
  130.         CritDestroyUnit()
  131.         {
  132.         16
  133.         }
  134.       }
  135.     }
  136.   }
  137.  
  138.  
  139. ; Conditional State 2
  140.   DefineCondState()
  141.   {
  142.     ; we've taunted the player, so go wait some more
  143.     DefineCondition(0 0 0 0 "wait1")
  144.     {
  145.       CritTimer(200)
  146.     }
  147.  
  148.     TriggerMessage(fail2)
  149.   }
  150.  
  151. ;State 3
  152. ; If any building is destroyed, the player loses. 
  153. ; Same as state one, but without checking for dead units.
  154.   DefineCondState()
  155.   {
  156.     DefineCondition(2 0 0 50 "c1to2.txt")
  157.     {
  158.       CritOR()
  159.       {
  160.         CritDestroyBuilding()
  161.         {
  162.         46
  163.         }
  164.         CritDestroyBuilding()
  165.         {
  166.         55
  167.         }
  168.         CritDestroyBuilding()
  169.         {
  170.         49
  171.         }
  172.         CritDestroyBuilding()
  173.         {
  174.         52
  175.         }
  176.         CritDestroyBuilding()
  177.         {
  178.         82
  179.         }
  180.         CritDestroyBuilding()
  181.         {
  182.         495
  183.         }
  184.         CritDestroyBuilding()
  185.         {
  186.         1955
  187.         }
  188.         CritDestroyBuilding()
  189.         {
  190.         534
  191.         }
  192.         CritDestroyBuilding()
  193.         {
  194.         535
  195.         }
  196.         CritDestroyBuilding()
  197.         {
  198.         498
  199.         }
  200.         CritDestroyBuilding()
  201.         {
  202.         501
  203.         }
  204.         CritDestroyBuilding()
  205.         {
  206.         1952
  207.         }
  208.         CritDestroyBuilding()
  209.         {
  210.         504
  211.         }
  212.         CritDestroyBuilding()
  213.         {
  214.         507
  215.         }
  216.         CritDestroyBuilding()
  217.         {
  218.         510
  219.         }
  220.         CritDestroyBuilding()
  221.         {
  222.         1949
  223.         }
  224.         CritDestroyBuilding()
  225.         {
  226.         513
  227.         }
  228.         CritDestroyBuilding()
  229.         {
  230.         516
  231.         }
  232.         CritDestroyBuilding()
  233.         {
  234.         519
  235.         }
  236.         CritDestroyBuilding()
  237.         {
  238.         1388
  239.         }
  240.         CritDestroyBuilding()
  241.         {
  242.         909
  243.         }
  244.       }
  245.     }
  246.   }
  247. }
  248.  
  249.  
  250.