Author Topic: questions on ufo waves and terror sites  (Read 2986 times)

Offline robin

  • Commander
  • *****
  • Posts: 1215
  • ULTIMATE ROOKIE
    • View Profile
questions on ufo waves and terror sites
« on: February 29, 2016, 10:13:17 am »
this is my sample mission:

alienMissions;
 - type: STR_ALIEN_DROP_SMALL
    points: 3
    objective: 3
    spawnZone: 3
    raceWeights: &raceWeightsAlienDrop
    waves:
      - ufo: STR_UFO_PROBE
        count: 1
        trajectory: P1
        timer: 15000
      - ufo: STR_UFO_SCOUT
        count: 1
        trajectory: P1
        timer: 5                             #(1)
      - ufo: STR_UFO_CARRIER    #(2)
        count: 1
        trajectory: P7
        timer: 5
        #objective: true
      - ufo: STR_DROP_MISSION_SMALL
        count: 1
        trajectory: P7
        timer: 0
        objective: true

1) if i set the 'timer' for the second ufo to 0-or-the-like, will it spawn at the same time as the first ufo (resulting in two ufos *of different kind* flying around on the globe), or does the next wave "abort" the wave before it?

2) with the mission defined like this, will shooting down the STR_UFO_CARRIER prevent the generation of the terror-like site STR_DROP_MISSION_SMALL?
the regular ALIEN_TERROR mission should work like that (shoot down the last terror ship -> no terror site), but it is defined differently: it doesn't have the terror site itself defined as its last wave

-
my final goal here would be to have the mission generating all the ufos (or all the waves) at the same time (to have different ufo kinds flying around "together" so to speak).
among these ufos, the STR_UFO_CARRIER would be responsible for generating the (terror-like) site STR_DROP_MISSION_SMALL, unless shot down.


thanks
« Last Edit: February 29, 2016, 10:15:53 am by robin »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: questions on ufo waves and terror sites
« Reply #1 on: February 29, 2016, 10:40:53 am »
wave 2 starts when wave 1 ends, the timer is how much of a delay occurs between those two events. the timers run sequentially, not in parallel.

no, shooting down the carrier will start the timer on the drop mission, albeit at double the usual delay.

alien terror DOES work like that, but it IS different. the ufo spawns the terror site when it lands.

the way to achieve your desired result, apart from the multiple types in a single wave, is simple:


Code: [Select]
alienMissions:
  - type: STR_ALIEN_DROP_SMALL
    points: 3
    objective: 3
    siteType: STR_DROP_MISSION_SMALL
    spawnZone: 3
    raceWeights: &raceWeightsAlienDrop
    waves:
      - ufo: STR_UFO_PROBE
        count: 1
        trajectory: P1
        timer: 15000
      - ufo: STR_UFO_SCOUT
        count: 1
        trajectory: P1
        timer: 5
      - ufo: STR_UFO_CARRIER 
        count: 1
        trajectory: P7
        timer: 5
        objective: true

please note: i have changed the semi-colon on the first line to a colon, in case you missed it.
« Last Edit: February 29, 2016, 11:25:15 am by Warboy1982 »

Offline robin

  • Commander
  • *****
  • Posts: 1215
  • ULTIMATE ROOKIE
    • View Profile
Re: questions on ufo waves and terror sites
« Reply #2 on: February 29, 2016, 11:05:51 am »
wave 2 starts when wave 1 ends, the timer is how much of a delay occurs between those two events. the timers run sequentially, not in parallel.

no, shooting down the carrier will start the timer on the drop mission, albeit at double the usual delay.

alien terror DOES work like that, but it IS different. the ufo spawns the terror site when it lands.

the way to achieve your desired result is simple:

Code: [Select]
alienMissions:
  - type: STR_ALIEN_DROP_SMALL
    points: 3
    objective: 3
    siteType: STR_DROP_MISSION_SMALL
    spawnZone: 3
    raceWeights: &raceWeightsAlienDrop
    waves:
      - ufo: STR_UFO_PROBE
        count: 1
        trajectory: P1
        timer: 15000
      - ufo: STR_UFO_SCOUT
        count: 1
        trajectory: P1
        timer: 5
      - ufo: STR_UFO_CARRIER 
        count: 1
        trajectory: P7
        timer: 5
        objective: true

please note: i have changed the semi-colon on the first line to a colon, in case you missed it.
i see.
i guess then i could try to force the multiple concurrent ufos, by using mission scripts and having a handful alien missions generated at the same time. could be messy though.

siteType is a new thing, quite intuitive. i was checking ruleset reference (nightly) so i missed it.

i added alienMissions manually to the post and i typed the semicolon, my ruleset is correct :P.

--- posts merge ---

Another question:

is there a way to edit the text of the manufacture menus?
specifically i'd like to replace "engineer"/"engineers" with "robot"/"robots".
« Last Edit: March 07, 2016, 01:39:22 pm by Solarius Scorch »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: questions on ufo waves and terror sites
« Reply #3 on: March 06, 2016, 10:44:24 pm »
that's just text, an extraString can replace the existing entry.