[SCRIPT][AP] ANCC Scramble - An ADS module [V0.7 - 03/10/13]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

ioulaum
Posts: 9
Joined: Thu, 26. Sep 13, 04:39
x4

Post by ioulaum » Thu, 26. Sep 13, 04:47

Hi anachron13,thanks for you ads_m2.zip.I have managed to replace it m2 compatible with m6 compatible(because of the OP hyperion).But I can't figured out how to make m2 and m6 compatible at the same time,the game always get freezed.Please tell me how to do so.

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Thu, 26. Sep 13, 09:04

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 :
if not ($v1 == [M1] OR $v1 == [M7] OR $v1 == [TL] OR $v1 == [TM] OR $v1 == [M2] OR $v1 == [M6])
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.

PS : This is for the original version of ADS. For the Nicoman35 version, you should not use this patch.

ioulaum
Posts: 9
Joined: Thu, 26. Sep 13, 04:39
x4

Post by ioulaum » Fri, 27. Sep 13, 02:28

I added all M2 and 2022 things I can found,still get freezed. :(

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Fri, 27. Sep 13, 08:38

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

ioulaum
Posts: 9
Joined: Thu, 26. Sep 13, 04:39
x4

Post by ioulaum » Fri, 27. Sep 13, 13:37

LOL,I just use Ultra edit as usual.Got it thanks.

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Thu, 3. Oct 13, 17:04

Version 0.70 added with better support for ADS - Real Wing Edition, a more colorful overview and a few other changes.

ioulaum
Posts: 9
Joined: Thu, 26. Sep 13, 04:39
x4

Post by ioulaum » Wed, 9. Oct 13, 14:38

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.

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Wed, 9. Oct 13, 15:34

I have responded in your other thread.

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Tue, 15. Oct 13, 09:20

In response to this message : http://forum.egosoft.com/viewtopic.php? ... 90#4157890
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 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: 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.
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: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.
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
Posts: 15
Joined: Fri, 11. Oct 13, 21:50

Post by Brokkoli » Tue, 15. Oct 13, 19:48

I see... reading the manual helps :oops:

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 :roll: . 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.

User avatar
anachron13
Posts: 144
Joined: Tue, 2. Nov 10, 23:41
x3tc

Post by anachron13 » Tue, 15. Oct 13, 20:16

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.
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.
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.

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?
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.

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.
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.
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.
Yeah, i would like to implement that. I have to find a good way to handle that.
- Option to cancel a retreat order
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.

- turbo boost feature (with an on/off switch)
I got spoiled by the fast DCS2 drones :roll: . 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.
I will think about it, but i'm not sure how to implement this properly with how my script is currently working.

- 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.
It can probably be done. I will probably look into it after the next version.

Thanks for the ideas, i didn't get too much feedback on ANCC. :)

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Mon, 25. Nov 13, 05:25

@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...
I fly an OWP. What about you?

Nicoman35
Posts: 681
Joined: Thu, 17. Nov 05, 13:12
x3tc

Post by Nicoman35 » Mon, 25. Nov 13, 09:17

Anarchon13 wrote:Thanks for the ideas, i didn't get too much feedback on ANCC.
Hey Anarchon, I am also only getting feedback if something does not work :D. 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.
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.
:idea: 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)

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? :)
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.
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 :).

redagent
Posts: 41
Joined: Fri, 20. Feb 15, 05:29

Post by redagent » Mon, 2. Mar 15, 23:35

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.
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...

Monmeral
Posts: 1
Joined: Fri, 23. Sep 22, 10:31

Re: [SCRIPT][AP] ANCC Scramble - An ADS module [V0.7 - 03/10/13]

Post by Monmeral » Fri, 23. Sep 22, 10:34

Can anyone give me a working link?

Brinnie
Posts: 800
Joined: Mon, 5. Jun 06, 08:26
x3tc

Re: [SCRIPT][AP] ANCC Scramble - An ADS module [V0.7 - 03/10/13]

Post by Brinnie » Wed, 18. Jan 23, 21:21

Monmeral wrote:
Fri, 23. Sep 22, 10:34
Can anyone give me a working link?
https://www.xdownloads.co.uk/index.php? ... Itemid=116

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”