Author Topic: How to make a UFO fly from a random point on the globe to Alien Base?  (Read 2606 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11732
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
We're trying to make an alien mission which works like this:
- runs from a missionScript (to ensure that we can use triggers)
- spawns a certain UFO somewhere on the globe, like any normal UFO
- the UFO flies to an alien base (preferably a custom alien base type we already have in the mod, but standard alien base would be OK too)
- the UFO disappears on contact with the target alien base
- profit.

Also, I would like to know how to make a variant of the above, except the UFO doesn't disappear after reaching the base but lands normally and then takes off.

Help would be appreciated.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9106
    • View Profile
Re: How to make a UFO fly from a random point on the globe to Alien Base?
« Reply #1 on: March 23, 2020, 09:58:45 pm »
Currently neither of them is possible.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11732
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: How to make a UFO fly from a random point on the globe to Alien Base?
« Reply #2 on: March 23, 2020, 10:00:30 pm »
Oh well. Thank you, Meridian!

Offline Nord

  • Commander
  • *****
  • Posts: 1748
  • The Gate is open.
    • View Profile
Re: How to make a UFO fly from a random point on the globe to Alien Base?
« Reply #3 on: March 24, 2020, 04:17:15 am »
We're trying to make an alien mission which works like this:
- runs from a missionScript (to ensure that we can use triggers)
- spawns a certain UFO somewhere on the globe, like any normal UFO
- the UFO flies to an alien base (preferably a custom alien base type we already have in the mod, but standard alien base would be OK too)
- the UFO disappears on contact with the target alien base
- profit.

Also, I would like to know how to make a variant of the above, except the UFO doesn't disappear after reaching the base but lands normally and then takes off.

Help would be appreciated.
This is almost perfectly described supply mission. One difference - missionscripts. But instead of that you can change base to other type (with proper supply mission) via alienBaseUpgrades. fast disappear can be done by ufotrajectories.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11732
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: How to make a UFO fly from a random point on the globe to Alien Base?
« Reply #4 on: March 24, 2020, 12:54:43 pm »
Thanks, but the point is that this mission is supposed to happen between certain points in the research tree. We can't really fiddle with the base type, because we're already using this for something else.