Jump to content

UFO Escorts, how do they work?


Man of Doge
 Share

Recommended Posts

Escorts are hard-coded - the escort chance variable doesn't do anything. You can implicitly remove escorts from missions which have them by removing the escort type UFOs from the spawn list, but you can't make a UFO have escorts which isn't coded to do so.

I did write code for a toggle which would make the escort chance variable work. But I can't remember if that actually got added to XCE (I think it will be in gamconfig.xml if anywhere). If it is included, then switching the toggle on will mean that the escort chance is set by the AM_* files instead of the hardcoded formula. I think this might still only work for UFOs which are coded to have escorts but I might be wrong.

Link to comment
Share on other sites

Escorts are hard-coded - the escort chance variable doesn't do anything. You can implicitly remove escorts from missions which have them by removing the escort type UFOs from the spawn list, but you can't make a UFO have escorts which isn't coded to do so.

I did write code for a toggle which would make the escort chance variable work. But I can't remember if that actually got added to XCE (I think it will be in gamconfig.xml if anywhere). If it is included, then switching the toggle on will mean that the escort chance is set by the AM_* files instead of the hardcoded formula. I think this might still only work for UFOs which are coded to have escorts but I might be wrong.

I'll try that and see if it works. Thanks a tonn! ^_^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...