[SCRIPT] ACC: Anarkis Carrier Commands | v1.40 | 17 Oct 06

The place to discuss scripting and game modifications for X³: Reunion.

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

User avatar
Saber15
Posts: 376
Joined: Sat, 13. Jan 07, 17:26
x4

Post by Saber15 »

Forbidden
You don't have permission to access /portal/modules/PDdownloads/visit.php on this server.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at anarkis.jexiste.fr Port 80
Yay.


:(
Reagger
Posts: 97
Joined: Wed, 23. Nov 05, 00:49
x3tc

Post by Reagger »

Greedy_Bastard wrote:Iv been using this for a couple carriers and no problems so far but i was wondering if this is just a genaric cammands for "big ships" or is it restricted to M1s and TLs. Soon im going to be downloading an M0 when it is released to use for my new flagship(The Monolith-Something suggestive of a large block of stone, as in immovability, massiveness, or uniformity-meaning it will be immovable in combat because its practically invicible and out of combat because its so damn big and slowAnyway i was wondering if the commands will also work for the M0 or if im sol in this case as i think id be out of my league trying to manage 5 carriers woth of fighters from it alone and thats not including its "miniature" M1's escorts. :twisted:

Thx in advance
I think it works with virtually any ship that can land fighters. It doesn't make sense with ships that only have a few as it keeps warning you about being outnumbered. For larger capacity carriers it works great.
DarthVain
Posts: 845
Joined: Mon, 2. Jun 03, 11:53
x3tc

Post by DarthVain »

I found that the Carrier command script specifies M1s and TLs so I changed my in-game to 'carriers' to have the command apply to all cap ships that have ship carrying capabilities.
Another one bites the dust!!

DarthVain
Demon Dave
Posts: 37
Joined: Mon, 7. Nov 05, 23:45
x3tc

Post by Demon Dave »

I think I've found a bug/incompatibility with this script. I was sat in my Battlestar Galactica and tried to use the Homebase Settings command to set it as the Homebase for all of my Vipers, however when I tried this the game just totally froze, I couldn't even get back to Windows so had to hit the reset button
User avatar
jocan2003
Posts: 629
Joined: Tue, 6. Mar 07, 17:48
x4

Post by jocan2003 »

anyone know if this script is incompatible with another? for weird reason i only have ACC clean sector and Dock all ship command-hotkey...
Ska Trek
Posts: 107
Joined: Thu, 19. Feb 04, 03:09
x2

Post by Ska Trek »

When I try to set homebase it gives me a personal message with only "OK" and what seems like the proper message, only, the names of the ships are all mashed together and there's nothing I can actually do with it, oh well.
X3 is pretty.
mrcann
Posts: 91
Joined: Fri, 27. Apr 07, 18:34

Post by mrcann »

happened to me too - you have to make your carrier's name simple, ie no characters like {} [], etc. same also may apply for other scripts - not all of them work with fancy ship\station names.
DarthVain
Posts: 845
Joined: Mon, 2. Jun 03, 11:53
x3tc

Post by DarthVain »

If only we could have the option to select how many fighters we want to use to clear the sector that would make it much more efficient. Example, I have the Galactica with 80 vipers onboard. I select the command "clear sector" and all my 80 vipers go out but not all will follow the command.

The other anomaly I found was specific to "defensive wing" command where should I use "recall ships" to get them back onboard, the script goes into a loop and the ships will not dock even after attempting to kill the automate command :?

As for naming the Cap ship, keep it short so that when you select the homebase command, the ships are renamed also. If there's a way to reduce the renaming function that would be great.

To me the most important element I'd like to see is the option to create the wing size and number of fighters within for all ACC commands that relate to attack, defence etc.
Another one bites the dust!!

DarthVain
Makkenhoff
Posts: 21
Joined: Wed, 8. Nov 06, 06:17
x4

Post by Makkenhoff »

I've ran this for about, oh maybe 14 minutes now. I've got to say, absolutely great script. I've been using it on my elephant (the ship with the largest amount of ships that I could stand to manually use) this just makes me want to get a real carrier. :)
sphr
Posts: 119
Joined: Tue, 15. Aug 06, 17:16
x4

Post by sphr »

For those who wants to use M7 with ACC, here's a quick fix until the official script decides to include it.

http://forum.egosoft.com/viewtopic.php?t=182354
Yellowman
Posts: 627
Joined: Mon, 3. May 04, 12:54
x4

Post by Yellowman »

sphr wrote:For those who wants to use M7 with ACC, here's a quick fix until the official script decides to include it.

http://forum.egosoft.com/viewtopic.php?t=182354
Good job!!! i'm gonna check it out. I hope it becomes official soon. :D
Lidza
Posts: 403
Joined: Wed, 12. Oct 05, 23:23
x3

Post by Lidza »

I used this carrier command script before and is simply excellent. But I tried it today on XTend and it doesn't seem to work, worst it halts the game. I did happen twice on assigning home base on M5/7/etc

Is just me or the carrier commands are not compatible with XTended? Thanks
User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse »

Works fer me. Use it a lot on my griffon.
Kilrathi Avenger
Posts: 275
Joined: Fri, 6. Feb 04, 20:16
x3tc

Post by Kilrathi Avenger »

Question: Is there any plans to update this script :?: , as I haven't seen Serial on the forums for quite a while.
The last time was on the french forums in May I beleive :!:

@ sphr
sphr wrote:For those who wants to use M7 with ACC, here's a quick fix until the official script decides to include it.

http://forum.egosoft.com/viewtopic.php?t=182354
Could you release your changes to your xml's for everyone as i wouldn't be confident changing them myself
Thanks
"As I slide down the banister of life;
my job is just another splinter in the bum"
sphr
Posts: 119
Joined: Tue, 15. Aug 06, 17:16
x4

Post by sphr »

hmmm.. I am reluctant to release anything that is the work of others without their expressed permissions. It's basic respect, even if the author doesn't seem that active anymore. So I think I will at most post the changes I make (which are very minor), and I think it would be easy for people to change it accordingly.

My personal modifications are:
1) enabling ACC for M7 (straightforward, just copy and paste lines from setup.anarkis.* and change the shiptype to M7)

2) change autocarrier script for M7, such that if threat is not 0, docked fighters will be launched only as defence wing (at most 2 fighters....). The end result is that when there are enemies, the 2 docked fighters will launch and protect the M7. They docked again when enemies are out of range.

If there is really a need, I can post the changes in text.

Until I modify it enough that I can call the derivative work partially my own... or more likely, use ACC's experience and create a new command framework that will hopefully be easier to use? I don't think I should start passing out modified versions of the scripts without the owner's permission.
sphr
Posts: 119
Joined: Tue, 15. Aug 06, 17:16
x4

Modifying ACC to work for M7 Hyperion Part 1: Enabling commands for M7

Post by sphr »

How to make ACC work with M7

Disclaimer: do this at your own risk. no guarantees. no support. but I will answer questions if I can.

the following is an extract from setup.anarkis.carrier.xml.
You will need to modify this to enable some ACC commands to M7.

take note of the lines:
006
011
016
021
026
031
045

basically, you can just copy and paste from the lines dealing with M1 class and change the class to M7.

the rest of the commands, like clean sector, is not really appropriate for hyperion, which only has 2 fighters so can be left out.

Code: Select all

001   load text: id=8510
002   
003   set script command upgrade: command=ANARKIS_DOCKALL  upgrade=Fight Command Software MK2
004   global script map: set: key=ANARKIS_DOCKALL, class=TL, race=null, script='anarkis.cmd.dockall.secure', prio=0
005   global script map: set: key=ANARKIS_DOCKALL, class=M1, race=null, script='anarkis.cmd.dockall.secure', prio=0
006   global script map: set: key=ANARKIS_DOCKALL, class=M7, race=null, script='anarkis.cmd.dockall.secure', prio=0
007   
008   set script command upgrade: command=ANARKIS_SETDOCKED  upgrade=Fight Command Software MK2
009   global script map: set: key=ANARKIS_SETDOCKED, class=TL, race=null, script='anarkis.cmd.set.homebase', prio=0
010   global script map: set: key=ANARKIS_SETDOCKED, class=M1, race=null, script='anarkis.cmd.set.homebase', prio=0
011   global script map: set: key=ANARKIS_SETDOCKED, class=M7, race=null, script='anarkis.cmd.set.homebase', prio=0
012   
013   set script command upgrade: command=ANARKIS_EQUIPDOCKED  upgrade=Fight Command Software MK2
014   global script map: set: key=ANARKIS_EQUIPDOCKED, class=TL, race=null, script='anarkis.cmd.equipdocked', prio=0
015   global script map: set: key=ANARKIS_EQUIPDOCKED, class=M1, race=null, script='anarkis.cmd.equipdocked', prio=0
016   global script map: set: key=ANARKIS_EQUIPDOCKED, class=M7, race=null, script='anarkis.cmd.equipdocked', prio=0
017   
018   set script command upgrade: command=ANARKIS_REFUELCARRIER  upgrade=Fight Command Software MK2
019   global script map: set: key=ANARKIS_REFUELCARRIER, class=TL, race=null, script='anarkis.cmd.refuelcarrier', prio=0
020   global script map: set: key=ANARKIS_REFUELCARRIER, class=M1, race=null, script='anarkis.cmd.refuelcarrier', prio=0
021   global script map: set: key=ANARKIS_REFUELCARRIER, class=M7, race=null, script='anarkis.cmd.refuelcarrier', prio=0
022   
023   set script command upgrade: command=ANARKIS_DEFENSIVEWING  upgrade=Fight Command Software MK2
024   global script map: set: key=ANARKIS_DEFENSIVEWING, class=TL, race=null, script='anarkis.cmd.defensewing', prio=0
025   global script map: set: key=ANARKIS_DEFENSIVEWING, class=M1, race=null, script='anarkis.cmd.defensewing', prio=0
026   global script map: set: key=ANARKIS_DEFENSIVEWING, class=M7, race=null, script='anarkis.cmd.defensewing', prio=0
027   
028   set script command upgrade: command=ANARKIS_ATTACKWING  upgrade=Fight Command Software MK2
029   global script map: set: key=ANARKIS_ATTACKWING, class=TL, race=null, script='anarkis.cmd.attackwing', prio=0
030   global script map: set: key=ANARKIS_ATTACKWING, class=M1, race=null, script='anarkis.cmd.attackwing', prio=0
031   global script map: set: key=ANARKIS_ATTACKWING, class=M7, race=null, script='anarkis.cmd.attackwing', prio=0
032   
033   set script command upgrade: command=ANARKIS_CLEANSECTOR  upgrade=Fight Command Software MK2
034   global script map: set: key=ANARKIS_CLEANSECTOR, class=TL, race=null, script='anarkis.cmd.cleansector', prio=0
035   global script map: set: key=ANARKIS_CLEANSECTOR, class=M1, race=null, script='anarkis.cmd.cleansector', prio=0
036   
037   set script command upgrade: command=ANARKIS_SETTACTICS  upgrade=Fight Command Software MK2
038   global script map: set: key=ANARKIS_SETTACTICS, class=TL, race=null, script='anarkis.cmd.carrier.tactics', prio=30
039   global script map: set: key=ANARKIS_SETTACTICS, class=M1, race=null, script='anarkis.cmd.carrier.tactics', prio=30
040   global script map: set: key=ANARKIS_SETTACTICS, class=M7, race=null, script='anarkis.cmd.carrier.tactics', prio=30
041   
042   set script command upgrade: command=ANARKIS_AUTOCARRIER  upgrade=Fight Command Software MK2
043   global script map: set: key=ANARKIS_AUTOCARRIER, class=TL, race=null, script='anarkis.cmd.autocarrier', prio=30
044   global script map: set: key=ANARKIS_AUTOCARRIER, class=M1, race=null, script='anarkis.cmd.autocarrier', prio=30
045   global script map: set: key=ANARKIS_AUTOCARRIER, class=M7, race=null, script='anarkis.cmd.autocarrier', prio=30
Last edited by sphr on Tue, 24. Jul 07, 06:01, edited 1 time in total.
sphr
Posts: 119
Joined: Tue, 15. Aug 06, 17:16
x4

Post by sphr »

part2, specialize Automate Carrier to always launch any docked fighters as defensive wing if enemies are around and dock them again after enemies are gone or out of range.

modify anarkis.cmd.autocarrier.xml

look for this line around 067 (actual line number may vary a lttle)

Code: Select all

067    if $threat.level > 30 AND $dangerous.ship != null
change this part to

Code: Select all

067    $shiptype = [THIS] -> get ware type code of object
068    if $shiptype == Hyperion AND $threat.level > 0
069     skip if $docked == 0
070      [THIS] -> start task 51 with script 'anarkis.cmd.defensewing' and prio 30: arg1=$docked arg2=null arg3=null arg4=null arg5=null
071    else if $threat.level > 30 AND $dangerous.ship != null
Then look for this line around line 120

Code: Select all

120 if $threat.level <= 2 AND $docked < $myships.nb AND $docking == [FALSE]
and change to

Code: Select all

120    if $shiptype == Hyperion AND $threat.level == 0 AND $docked < $myships.nb AND $docking == [FALSE]
121     [THIS] -> start task 51 with script 'anarkis.cmd.dockall.secure' and prio 30: arg1=null arg2=null arg3=null arg4=null arg5=null
122    else if $threat.level <= 2 AND $docked < $myships.nb AND $docking == [FALSE]


NOTE: the threat assessment code from around lines 034 to lines 059 does not include assessment for Hyperion. If player is the only owner of Hyperions (in the usual case) no problem. But for purists for wants perfection or for people who script enemies to use Hyperions, you may want to add in an extra lines or 2 to give the M7 are threat value. but it is not necessary.

hope this will be helpful to some people
regards
Jon Quinn
Posts: 31
Joined: Sun, 2. May 04, 14:43
x2

Post by Jon Quinn »

Get this message on download

Forbidden
You don't have permission to access /files/anarkis.carrier.rar on this server.


Possible to download elsewhere?
Osiris_sam
Posts: 422
Joined: Thu, 24. Aug 06, 13:45
x4

Post by Osiris_sam »

try downloading in .spk and using cycrows plugin manager
misioooo
Posts: 115
Joined: Sun, 17. Jun 07, 14:17
x3tc

Post by misioooo »

Both sources (rar and spk) 403 - Forbidden :(

Return to “X³: Reunion - Scripts and Modding”