[SCRIPT][AP] ANCC Scramble - An ADS module [V0.7 - 03/10/13]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
I'm not at work to test it, but you have to replace line 6 of 'anarkis.acc.is.compatible' and line 11 of 'anarkis.acc.get.acc.carriers' by this line :
PS : This is for the original version of ADS. For the Nicoman35 version, you should not use this patch.
In 'setup.anarkis.acc' it's a little bit more tedious, starting to line 35 you will have to add M6 to each command. Copy Paste the last line of each command and replace "class=[XX]" by "class=[M6]". I think it should be enough.if not ($v1 == [M1] OR $v1 == [M7] OR $v1 == [TL] OR $v1 == [TM] OR $v1 == [M2] OR $v1 == [M6])
PS : This is for the original version of ADS. For the Nicoman35 version, you should not use this patch.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
2022 things? Are you editing the scripts with an xml or text editor?
If you want to modify a script, you have to use either the ig script editor or use an external script editor like X-Studio : http://forum.egosoft.com/viewtopic.php?t=301433
If you want to modify a script, you have to use either the ig script editor or use an external script editor like X-Studio : http://forum.egosoft.com/viewtopic.php?t=301433
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
Version 0.70 added with better support for ADS - Real Wing Edition, a more colorful overview and a few other changes.
Hi,anachron.Thanks for your instruction,and now I can use ADS on my Hyperion now.
But there is another request,I'm using Smart Turrets instead of MARS.I want to setting turret mode in ADS,it should be in anarkis.acc.setup.ships.xml at line 76-77,but I don't know how to change MARS variable to Smart turrets.Please help me.
But there is another request,I'm using Smart Turrets instead of MARS.I want to setting turret mode in ADS,it should be in anarkis.acc.setup.ships.xml at line 76-77,but I don't know how to change MARS variable to Smart turrets.Please help me.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
In response to this message : http://forum.egosoft.com/viewtopic.php? ... 90#4157890
This is because you have to open the ADS menu at least once on a new carrier to initialize the variables needed by ANCC (the radar range setup in this case). I will maybe separate a bit more from ADS in the next version and add my own options (not because i don't want to use ADS anymore but to avoid conflict with different versions like ADS - RWE).Brokkoli wrote:It won't let me select a priority target unless I first visit the ADS carrier setup menu once. Scramble launch works without that though.
This is the normal behaviour, as described in the ANCC thread : " This hotkey can be used before launching your fighters or during the fight, but remember your fighters will not change target until their current one is dead. " I am working on a quite big update of ANCC and i will maybe change this behaviour (or make it an option).Brokkoli wrote: And picking a priority target does not seem to have an effect. At least I have not seen a wing change its target after I selected a priority target.
It usually happen when the transporter device is destroyed, i'm thinking of testing the device on the carrier instead of the fighters as it seems more logical to me that the carrier beam the fighter inside instead that the fighter beam itself. If you have an opinion on it, i would be happy to know.Brokkoli wrote:I also seem to have a knack for breaking scripts. I have seen 2 ANCC scramble launched fighters docking manually instead of teleporting in after a retreat order (both damaged). That was just once though and I could not reproduce it. Hmmm... I didn't check if maybe their transporter device got killed.
I see... reading the manual helps
Then I have one more question: What version of ADS should I use with ANCC? Right now I am using the real wings edition, but for no particular reason.
You said the radar range is taken from the ADS setup data. What radar range exactly? The only range I have found is in the automated carrier options, defensive wing awareness and response range. Which one is used?
My opinion regarding landing behaviour would be to test for the landing computer on fighters. At least for the player the landing computer does exactly what the fighters are doing. Testing for a transpoerter device on the carrier seems also logical to me.
For future versions I have some ideas:
- Catapult start / Transporter start (with an on/off switch)
...or some other means to get the fighters out faster.
- Option to cancel a retreat order
- turbo boost feature (with an on/off switch)
I got spoiled by the fast DCS2 drones . Implementation if possible with an option to set the % speed increase. A balanced implementation could be to give fighters a 10 second turbo just after launching and another 10 sec turbo when retreating.
- ANCC scramble rocket attack hotkey
The idea is to use big missiles on fighters more intelligently. For example I give them tornados or hornets, I only want my fighters to use them on big ships, not some m3/m4/m5. So select target, press hotkey, fighters fire missiles on target.
Not that I know any scripting, but might it be possible to implement this via missile fire percentage? Check if fighter is attacking marked target, if yes then increase missile fire percentage. Might not even need a seperate hotkey, just use the priority target. So basically, increased missel fire percentage on the priority target.
Then I have one more question: What version of ADS should I use with ANCC? Right now I am using the real wings edition, but for no particular reason.
You said the radar range is taken from the ADS setup data. What radar range exactly? The only range I have found is in the automated carrier options, defensive wing awareness and response range. Which one is used?
My opinion regarding landing behaviour would be to test for the landing computer on fighters. At least for the player the landing computer does exactly what the fighters are doing. Testing for a transpoerter device on the carrier seems also logical to me.
For future versions I have some ideas:
- Catapult start / Transporter start (with an on/off switch)
...or some other means to get the fighters out faster.
- Option to cancel a retreat order
- turbo boost feature (with an on/off switch)
I got spoiled by the fast DCS2 drones . Implementation if possible with an option to set the % speed increase. A balanced implementation could be to give fighters a 10 second turbo just after launching and another 10 sec turbo when retreating.
- ANCC scramble rocket attack hotkey
The idea is to use big missiles on fighters more intelligently. For example I give them tornados or hornets, I only want my fighters to use them on big ships, not some m3/m4/m5. So select target, press hotkey, fighters fire missiles on target.
Not that I know any scripting, but might it be possible to implement this via missile fire percentage? Check if fighter is attacking marked target, if yes then increase missile fire percentage. Might not even need a seperate hotkey, just use the priority target. So basically, increased missel fire percentage on the priority target.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
Both should work fine for ANCC, it mostly depend on what ADS feature you are using. Automated carrier don't really work on the Real Wing Edition but the attack/protect command is better.Brokkoli wrote: Then I have one more question: What version of ADS should I use with ANCC? Right now I am using the real wings edition, but for no particular reason.
On the next version of ADS i will implement my own solution as i'm not really satisfied with both. I want the attack command to take into account surrounding target when the primary target is destroyed instead of docking immediatly. For defensive wing i want the wing aware of the entire formation of the ship to protect. If you protect a freighter which is part of a convoy, the wing should also protect the other freighters of the convoy.
It is the radar range set in the automated carrier option, as this is the only option available in the original ADS version. The awareness and response range are new ADS - RWE settings.You said the radar range is taken from the ADS setup data. What radar range exactly? The only range I have found is in the automated carrier options, defensive wing awareness and response range. Which one is used?
The problem with docking computer is compatibility with XRM and other mods that change the ware size to XL (i know there is a patch for XRM but i want to ensure maximum compatibility when possible). I will think about it.My opinion regarding landing behaviour would be to test for the landing computer on fighters. At least for the player the landing computer does exactly what the fighters are doing. Testing for a transpoerter device on the carrier seems also logical to me.
Yeah, i would like to implement that. I have to find a good way to handle that.For future versions I have some ideas:
- Catapult start / Transporter start (with an on/off switch)
...or some other means to get the fighters out faster.
Unfortunetly i think this a bit too difficult to implement properly unless i totally stop relying on ADS. But it would be a lot of work to remove all ADS dependancies.- Option to cancel a retreat order
I will think about it, but i'm not sure how to implement this properly with how my script is currently working.- turbo boost feature (with an on/off switch)
I got spoiled by the fast DCS2 drones . Implementation if possible with an option to set the % speed increase. A balanced implementation could be to give fighters a 10 second turbo just after launching and another 10 sec turbo when retreating.
It can probably be done. I will probably look into it after the next version.- ANCC scramble rocket attack hotkey
The idea is to use big missiles on fighters more intelligently. For example I give them tornados or hornets, I only want my fighters to use them on big ships, not some m3/m4/m5. So select target, press hotkey, fighters fire missiles on target.
Not that I know any scripting, but might it be possible to implement this via missile fire percentage? Check if fighter is attacking marked target, if yes then increase missile fire percentage. Might not even need a seperate hotkey, just use the priority target. So basically, increased missel fire percentage on the priority target.
Thanks for the ideas, i didn't get too much feedback on ANCC.
-
- Posts: 518
- Joined: Sun, 22. Feb 09, 20:13
@anachron: you should work with Nicoman to integrate ANCC into his ADS RWE edition; less headache to manage two sets of scripts?
In your previous post about XRM, I'd suggest using M3B's as a look for bomber support as M8 docking is finicky. I'd love to see it integrated and have some awesome carrier fun hehehehe...
In your previous post about XRM, I'd suggest using M3B's as a look for bomber support as M8 docking is finicky. I'd love to see it integrated and have some awesome carrier fun hehehehe...
I fly an OWP. What about you?
Hey Anarchon, I am also only getting feedback if something does not work . But dudes, really - try his version if not already done, and give feedback...after all, best feeling is, when your hard work pleases others and you give positive feedback.Anarchon13 wrote:Thanks for the ideas, i didn't get too much feedback on ANCC.
To my shame, I must confess I have not tried ANCC yet. Sorry for that. I am just too busy getting next feature of ADS - RWE done. Should be ready this week, if I am lucky (I am never lucky).
But then I will test ANCC on a Khaak infested sector - and give some feedback.
Someone should make statistics of how the performance is between ADS / ADS - ANCC / ADS - RWE / CODEA under equal starting conditions. Then publishing the results: osses, times and so on...(Phew - would be lot of work)
As for me, I just wanted to improve some aspects of ADS. So, I began changing and adding to ADS. I noticed Anarchons work only recently, so I had no chance working together with him.Mad_CatMk2 wrote:@anachron: you should work with Nicoman to integrate ANCC into his ADS RWE edition; less headache to manage two sets of scripts?
Aside from that, I never worked in a team or something, simply because I think that my coding skills are not high enough and I am too slow.
Another point is, coding is for me like....gaming - like forming a lump of plasticine the way I want it to be - its fun. When working together, you have to make compromises, and I don't know if this would be as much fun as working alone.
But, if someone is willing, I have no problems with using my code in parts, as a whole or whatever in an own work .
If somebody still here...
Just want to ask - What the difference between ADS command "Clear sector" and ANCC "Scramble all ships" - besides the "ANCC priority target" command.
Just want to ask - What the difference between ADS command "Clear sector" and ANCC "Scramble all ships" - besides the "ANCC priority target" command.
Apologize for Grammar! English is not my first language.
Played X2 for months. Played X3 for years. Played XR for one week. Now playing X3...
Played X2 for months. Played X3 for years. Played XR for one week. Now playing X3...
Re: [SCRIPT][AP] ANCC Scramble - An ADS module [V0.7 - 03/10/13]
Can anyone give me a working link?