Author Topic: Blank Missionzone.  (Read 1452 times)

wcho035

  • Guest
Blank Missionzone.
« on: June 05, 2020, 05:02:15 am »
Hi, if I want to have different missionzone, from 0 to 7. If I want the first 6 to be blank or empty, what is the syntax legal way to declare blank missionzone for a type in Region.rul?

For example, if I want missionzone 0 as blank and missionzone 1 to be of use for a type. It can't be done this way,
Code: [Select]
    missionZones:
      -
        - []
      -
        - [148, 148.25, 41, 41.5]
        - [169, 172, -5, -2.5]
        - [174, 174.375, 45, 46.5]
        - [197, 198, -52, -49.25]
        - [208, 210, -4, -1.875]
        - [234, 235.25, -44, -41]
        - [270, 271.5, 53, 55.75]
        - [174, 176.25, 34, 37]

What is the proper Syntax legal way to do it?


Code: [Select]

  - type: STR_SOUTH_PACIFIC
    cost: 600000
    areas:
      - [142, 230, -20, 8]
      - [230, 266, -30, 8]
      - [142, 292, 8, 65]
    regionWeight: 10
    missionWeights:
      STR_ALIEN_INFILTRATION: 100   
    missionZones:
      -
        - [159, 161.25, -12, -10]   <----- Blank or to be deleted.
        - [142.5, 143.5, 46.5, 47.375] <----- Blank or to be deleted.
        - [165, 165.75, 56, 58]              <----- Blank or to be deleted.   
        - [187, 188.5, -4, -0.625]         <----- Blank or to be deleted.
        - [203, 205.375, 34, 37.125]     <----- Blank or to be deleted.
        - [217, 219.375, 31, 33.25]      <----- Blank or to be deleted.
        - [245, 247.125, 30, 31.875]    <----- Blank or to be deleted.
        - [238.5, 241.25, -18, -13.5]    <----- Blank or to be deleted.
        - [270, 271.5, 53, 55.75]         <----- Blank or to be deleted.
      -
        - [148, 148.25, 41, 41.5]
        - [169, 172, -5, -2.5]
        - [174, 174.375, 45, 46.5]
        - [197, 198, -52, -49.25]
        - [208, 210, -4, -1.875]
        - [234, 235.25, -44, -41]
        - [270, 271.5, 53, 55.75]
        - [174, 176.25, 34, 37]
      -
        - [150, 150.5, 46, 47.875]
        - [160, 162.875, 35, 37.875]
        - [174, 176.25, 34, 37]
        - [231, 234.125, 2, 7.625]
        - [268, 269.625, 17, 20]
      -
        - [161.25, 161.25, 9, 9, -36, STR_SOLOMON_ISLAND]
        - [147.5, 147.5, 40.75, 40.75, -8, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -8, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -19, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -19, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -20, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -20, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -21, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -21, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -22, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -22, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -23, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -23, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -24, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -24, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -25, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -25, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -26, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -26, STR_WELLINGTON]
        - [147.5, 147.5, 40.75, 40.75, -27, STR_TASMANIA]
        - [175, 175, 40.25, 40.25, -27, STR_WELLINGTON]
      -
        - [122.25, 135.375, 21, 27.5]
        - [149.875, 151.25, 4.75, 5.5]
        - [140.875, 143.625, 8.125, 8.875]
        - [145.75, 147.625, 41, 41.625]
      -
        - [163.5, 166.125, -10, -7.625]
        - [187, 188.5, 24, 27.875]
        - [184, 187.125, -63, -60.875]
        - [145, 146.625, -22, -20]
        - [120, 124.25, 60, 66.5]
        - [132, 134.625, 5, 7.375]
        - [124.25, 125.875, -24, -21.75]
        - [273, 274.5, -23, -21.25]




wcho035

  • Guest
Re: Blank Missionzone.
« Reply #1 on: June 05, 2020, 05:31:34 am »
The reason I am asking for blank missionzones is for a region “type” to have specific missionzone available like 3 for cities and the other are left blank. When it comes to spawning purposes, the blank mission zone will be ignored.

More question relate to this, is there a better method in declaring a specific missionzone that one needs say for example a missionzone 10? Without having 9 blank missionzone before it? If there is, how could it be done? Within a type in a region. Some examples would be helpful.
« Last Edit: June 05, 2020, 05:33:25 am by Precentor Apollyon »

Offline Nord

  • Commander
  • *****
  • Posts: 1637
  • The Gate is open.
    • View Profile
Re: Blank Missionzone.
« Reply #2 on: June 05, 2020, 06:37:48 am »
Code: [Select]
  - []
  - []
Or

Code: [Select]
  - -
  - -
It is for an empty set. But i am not sure that game will not crash, when try to read such mission zones.
« Last Edit: June 05, 2020, 06:46:55 am by Nord »

wcho035

  • Guest
Re: Blank Missionzone.
« Reply #3 on: June 09, 2020, 12:13:03 am »
Thank you nord for the reply.