Jump to content
Sign in to follow this  
Man of Doge

UFO Escorts, how do they work?

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.

Share this post


Link to post
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! ^_^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×