Man of Doge Posted February 21, 2016 Share Posted February 21, 2016 I'm trying to re-write the AM_* files from scratch and need advice on how to get alien missions to carry an escort. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
kabill Posted February 22, 2016 Share Posted February 22, 2016 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. Quote Link to comment Share on other sites More sharing options...
Man of Doge Posted February 23, 2016 Author Share Posted February 23, 2016 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.