Anarkis Defense System - Real Wings Edition v1.16
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Hi, since you stated that you play XRM - there is a class of M3 Bombers there (M3B) that are normal M3 to game engine.
Would it be possible for you to make ADS script that would create a bomber wing (for anti-capship, anti-station duty) out of selected ships (could be useful to people not playing XRM)?
Edit:
I would also have use of "Emergency recall/jump" command. This would be a sector wide command with 4 phases:
1) set time in seconds - time delay for phase 3.
2) select destination sector
3) all fighter class units get back to their homeships/bases.
4) after time set in phase 1 all jump capable ships jump to sector destination (selected in phase 2). If fighter recalled in phase 2 don't make on time and don't have jump drive they will attemp to fly/escape to their homeships via gates.
Would it be possible for you to make ADS script that would create a bomber wing (for anti-capship, anti-station duty) out of selected ships (could be useful to people not playing XRM)?
Edit:
I would also have use of "Emergency recall/jump" command. This would be a sector wide command with 4 phases:
1) set time in seconds - time delay for phase 3.
2) select destination sector
3) all fighter class units get back to their homeships/bases.
4) after time set in phase 1 all jump capable ships jump to sector destination (selected in phase 2). If fighter recalled in phase 2 don't make on time and don't have jump drive they will attemp to fly/escape to their homeships via gates.
Such a waste to add all these new fixes and features but then don't upload a working version. Your last version has left over testing code for Khaak invasions and multiple little bugs. Defending wing leaders continually dock and undock. There is often spam about wings being destroyed that don't even exist. Sending a dock all command to defending fighters causes a hard lockup. Did you ever get this stable enough for play?
Edit: Also I found anarkis.acc.cmd.attack.return is being called by anarkis.acc.task.autocarrier but the file is missing from the download.
Edit: Also I found anarkis.acc.cmd.attack.return is being called by anarkis.acc.task.autocarrier but the file is missing from the download.
*sigh* I know I know. I am aware of most of the bugs you mention. I began destroying them a while ago, but then some other project seemed much more interresting to me - and I got tired with ADS. Not because it does not interest me but because it's so damn complicated and has quite a number of scripts.Binesi wrote:Such a waste to add all these new fixes and features but then don't upload a working version. Your last version has left over testing code for Khaak invasions and multiple little bugs. Defending wing leaders continually dock and undock. There is often spam about wings being destroyed that don't even exist. Sending a dock all command to defending fighters causes a hard lockup. Did you ever get this stable enough for play?
Edit: Also I found anarkis.acc.cmd.attack.return is being called by anarkis.acc.task.autocarrier but the file is missing from the download.
At the moment, I am occupied with programming a tool for the sector size changer. I deceided to do that in C#. I began with zero knowledge on that language and I am still being tortured every day by my lack of knowledge.
I am no programmer, but a simple gamer, who got more and more involved to modding.
So odds are quite high for me. Also, real life demands its toll and I lack the time I would like to invest in all of this.
Nevertheless, I got remorses about this project here and I promise to not abandon it, just have patience with me, k?
I understand totally. I've done it myself... a few times. You get the initial interest, you start putting in the ideas but then something bogs down near the end, and its just a game. There are more important things to do
I guess I just wanted to make sure you didn't have some version sitting on your hard drive that was at least functional - because WOW - so cool to see real wings flying in formation doing attack from your carrier! I really want to use it.
Its ok though. I'll just go back to CODEA and finish my game and move on. Getting tired of CODEA doing everything in it's own special way and not really integrating with the rest of the game though. I was tempted to work on ADS too but aaah.... so much time it would require.
Thanks for the reply! If you get a new version up before I get bored with X again I will definitely give it a try.
I guess I just wanted to make sure you didn't have some version sitting on your hard drive that was at least functional - because WOW - so cool to see real wings flying in formation doing attack from your carrier! I really want to use it.
Its ok though. I'll just go back to CODEA and finish my game and move on. Getting tired of CODEA doing everything in it's own special way and not really integrating with the rest of the game though. I was tempted to work on ADS too but aaah.... so much time it would require.
Thanks for the reply! If you get a new version up before I get bored with X again I will definitely give it a try.
-
- Posts: 319
- Joined: Sun, 26. Feb 06, 10:57
Hi Nico. Great improvements.
I have a problem with your version in collaboration with Pirate guild 3.
All the time when I enable "Use ADS to protect pirate bases" after 60-90 seconds titles messages with bumping incoming something like "No threat detected / WHITE BETA / clear sector wing / returning to carrier"
When I disable this function in menu then everything is comming to the normal.
Why I writing here is because with original ADS is not problem with this part.
Can you please look at that?
Thx
I have a problem with your version in collaboration with Pirate guild 3.
All the time when I enable "Use ADS to protect pirate bases" after 60-90 seconds titles messages with bumping incoming something like "No threat detected / WHITE BETA / clear sector wing / returning to carrier"
When I disable this function in menu then everything is comming to the normal.
Why I writing here is because with original ADS is not problem with this part.
Can you please look at that?
Thx
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
I'm a little bit late to the party, but for anyone still wondering, ANCC Scramble is not compatible with this version of ADS.
I'm working on a new version of my script but i'm not sure i will be able to ensure compatibility as the dock all hotkey as quite radically changed and making sure it work with both version of ADS could be quite complicated.
Edit : I may have found a solution.
@Nicoman35 : I can't get the send defensive wing command to work in your version of ADS. The ships just stay docked even if the target is attacked or far away from the carrier. The Dock All hotkey doesn't seems to stop whatever they are currently running neither.
I'm working on a new version of my script but i'm not sure i will be able to ensure compatibility as the dock all hotkey as quite radically changed and making sure it work with both version of ADS could be quite complicated.
Edit : I may have found a solution.
@Nicoman35 : I can't get the send defensive wing command to work in your version of ADS. The ships just stay docked even if the target is attacked or far away from the carrier. The Dock All hotkey doesn't seems to stop whatever they are currently running neither.
Thanks for the feedback, anarchon.
Ah, and I see you play AP, while I got TC, there might be also some issue arising from that...
But I'll have a look at that.
*EDIT*
How did you try to launch the defensive wings, by hotkey or by menu? Because by hotkey only the carrier will be defended. If you want to defend another target, it has to be done by menu.
Right you are, I changed the way the dock all hotkey works. As well as the fight scripts. I did not have a look at your version, but I don't think they will get along with each other....I might be wrong, though, as said, I did not test yours yet.anachron13 wrote:I'm a little bit late to the party, but for anyone still wondering, ANCC Scramble is not compatible with this version of ADS.
I'm working on a new version of my script but i'm not sure i will be able to ensure compatibility as the dock all hotkey as quite radically changed and making sure it work with both version of ADS could be quite complicated.
Edit : I may have found a solution.
Hm, it should be working...at least it does on my pc. Could there be some incompatibility with one of these scripts: Original ADS, your ADS, Extended Communication System, PG3 and Yaki Armada 2? All sripts from Serial Kicked use to a certain extent the same files. So there could be an issue.anachron13 wrote:@Nicoman35 : I can't get the send defensive wing command to work in your version of ADS. The ships just stay docked even if the target is attacked or far away from the carrier. The Dock All hotkey doesn't seems to stop whatever they are currently running neither.
Ah, and I see you play AP, while I got TC, there might be also some issue arising from that...
But I'll have a look at that.
*EDIT*
How did you try to launch the defensive wings, by hotkey or by menu? Because by hotkey only the carrier will be defended. If you want to defend another target, it has to be done by menu.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
The last version of ANCC does not modify any file of ADS and i have added a condition check on the flag you use to dock your wings which will start a docking procedure on all scrambled ships. It seems to work fine so far.
For the defensive wing, i have tried it with the menu. It let me pickup a target to defend and the number of wings to send, the wing is correctly renamed but never undock.
I don't use any other script from Serial Kicked, i have removed all previous ADS and ECS file before trying your version. I will try to do more tests on this when i get back home.
I would like to be able to call the send defensive wing script from the overview of my script.
For the defensive wing, i have tried it with the menu. It let me pickup a target to defend and the number of wings to send, the wing is correctly renamed but never undock.
I don't use any other script from Serial Kicked, i have removed all previous ADS and ECS file before trying your version. I will try to do more tests on this when i get back home.
I would like to be able to call the send defensive wing script from the overview of my script.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
I have found a problem which could be related. You have used a new version number (107) which is inferior to the version number of the original ADS scripts (265). So the new hotkeys are not registered and i guess that some things could be missing from the default configuration array.
Edit : modifying the ver number does trigger the setup correctly but it doen't refresh the hotkey or the default settings. I haven't found the 'tactical settings' in the ADS menu, so i guess it return null when the defense script ask for the needed values.
Edit : modifying the ver number does trigger the setup correctly but it doen't refresh the hotkey or the default settings. I haven't found the 'tactical settings' in the ADS menu, so i guess it return null when the defense script ask for the needed values.
OK, I'll have a look how this could be fixed for games already running. Good you pointed that out.anachron13 wrote:I have found a problem which could be related. You have used a new version number (107) which is inferior to the version number of the original ADS scripts (265). So the new hotkeys are not registered and i guess that some things could be missing from the default configuration array.
*EDIT*
OK, anarchon, please open the setup.anarkis.acc.xml, delete all code, copy and paste below code instead. I tidied up the setup a bit, could you tell me how is it working?
Code: Select all
$PageID = 8510
load text: id=$PageID
set script command upgrade: command=[ANARKIS_DOCKALL] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DOCKALL], class=[M1], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[M7], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[TL], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[TM], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[M2], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
set script command upgrade: command=[ANARKIS_BUYWARES] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_BUYWARES], class=[M1], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[M7], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[TL], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[TM], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[M2], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
set script command upgrade: command=[ANARKIS_SELLWARES] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_SELLWARES], class=[M1], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[M7], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[TL], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[TM], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[M2], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
set script command upgrade: command=[ANARKIS_STATIONDEFENSE] upgrade=[TRUE]
global script map: set: key=[ANARKIS_STATIONDEFENSE], class=[Dock], race=[Player], script='anarkis.acc.cmd.call.autostation', prio=0
set script command upgrade: command=[ANARKIS_SETUPSTATION] upgrade=[TRUE]
global script map: set: key=[ANARKIS_SETUPSTATION], class=[Dock], race=[Player], script='anarkis.acc.setup', prio=0
set script command upgrade: command=[ANARKIS_AUTOCARRIER] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M1], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M7], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[TL], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[TM], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M2], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
set script command upgrade: command=[ANARKIS_SETTACTICS] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_SETTACTICS], class=[M1], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[M7], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[TL], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[TM], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[M2], race=[Player], script='anarkis.acc.setup', prio=0
set script command upgrade: command=[ANARKIS_ATTACKWING] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_ATTACKWING], class=[M1], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[M7], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[TL], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[TM], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[M2], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
set script command upgrade: command=[ANARKIS_DEFENSIVEWING] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M1], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M7], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[TL], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[TM], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M2], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
set script command upgrade: command=[ANARKIS_CLEANSECTOR] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M1], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M7], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[TL], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[TM], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M2], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
set script command upgrade: command=[ANARKIS_DEFENDCARRIER] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M1], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M7], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[TL], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[TM], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M2], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
$ver = read text: page=$PageID id=101
$ver = string $ver to integer
$c.ver = get global variable: name='anarkis.rwe.ads.plugin'
$old.ads.ver = get global variable: name='anarkis.acc.plugin'
set global variable: name='anarkis.ads.manager.open' value=null
* New install, add hotkeys
if $c.ver == null AND $old.ads.ver == null
= [THIS]-> call script 'anarkis.acc.hotkey.install' : page.id=$PageID
$gl.setup = [THIS]-> call script 'anarkis.ads.setup.init' : page.id=$PageID
$msg = sprintf: pageid=$PageID textid=103, $ver, null, null, null, null
send incoming message $msg to player: display it=[TRUE]
START [THIS]-> call script 'anarkis.acc.ecs.register' :
= null-> call script 'anarkis.lib.get.wingnames' :
* Upgrade Needed
else if $ver > $c.ver OR $old.ads.ver
set global variable: name='anarkis.acc.plugin' value=null
$update = [TRUE]
= [THIS]-> call script 'anarkis.acc.hotkey.uninstall' :
= [THIS]-> call script 'anarkis.acc.ecs.remove' :
$gl.setup = [THIS]-> call script 'anarkis.ads.setup.init' : page.id=$PageID
= [THIS]-> call script 'anarkis.acc.upgrade.disable' :
= [THIS]-> call script 'anarkis.acc.upgrade.enable' :
= [THIS]-> call script 'anarkis.acc.ecs.register' :
= [THIS]-> call script 'anarkis.acc.hotkey.install' : page.id=$PageID
$msg = sprintf: pageid=$PageID textid=104, $ver, null, null, null, null
null-> send incoming message: text=$msg temporary=[FALSE]
end
set global variable: name='anarkis.rwe.ads.plugin' value=$ver
return null
The tactical settings sould be found when you open the setup menu, hangars, setup docked ships. It is not related to any hotkey. You do not see that secton at all??anachron13 wrote:Edit : modifying the ver number does trigger the setup correctly but it doen't refresh the hotkey or the default settings. I haven't found the 'tactical settings' in the ADS menu, so i guess it return null when the defense script ask for the needed values.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
YEAHanachron13 wrote:My bad, i wasn't looking at the right place for the new menu part. Everything was indeed present but set to null before you new install script.
It is working fine with your updated setup script, and it actually work perfectly with the defend command from ANCC Scramble now which is nice
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
Oh, another miss of mine. I use MDM if it is installed to protect the wingships. MDMc (convoy protection) is started on the leadership, all followers have the normal version. Normally, when MDM runns on a ship belonging to the player, and no suitable missiles are to be found by MDM, a 'mosquitos missiles not installed' will be heared. You do not have to sit in that ship to hear the message. On my PC, I changed this behaviour of MDM. Now, I only hear that message if MDM does not find any missile on the PLAYERSHIP.
I forgot about that in the meantime . Will fix that in the next version by making an extra check before activating MDM on wingships. Sorry for that hassle.
I forgot about that in the meantime . Will fix that in the next version by making an extra check before activating MDM on wingships. Sorry for that hassle.
Carrier command software installed?BrandonM3 wrote:I'm having an issue with it not detecting my Cerberus. It works for my Magnatar just fine. I was poking thru the scripts to see if the cerberus is something different than an M7 but I couldn't find an obect group that it might be in instead. However my knowledge of scripting in x3. Is very limited.