[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

Lethal Mitch
Posts: 423
Joined: Sat, 27. Dec 03, 18:11
xr

Post by Lethal Mitch » Thu, 10. Jan 08, 23:33

Not sure what you are looking to do here Garry but perhaps I missed the point somewhere.

This script is for ships, carriers specifically, so I can't see where the HQ comes into it.

Maybe you could expand.

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Thu, 10. Jan 08, 23:54

yes it was designed for ships but while altering the code for it to allow use on M0/M7 I found there were definitions for different stations, ie shipyard, small ship yard and so on, i was just wondering what the HQ is classed as so I can play about with code to make it work on the HQ, obviously the HQ doesn't have the general menu to change the different options of the carrier commands but this can easily be done through the script editor,

so far i have got the script that sets the carrier as home and rename the ships to work.
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

Lethal Mitch
Posts: 423
Joined: Sat, 27. Dec 03, 18:11
xr

Post by Lethal Mitch » Fri, 11. Jan 08, 00:09

I see what your doing now.

Sounds like a good idea to me as well I might add.

Sorry I can't help with your question but perhaps somebody else can.

Hope you get it to work.

User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse » Fri, 11. Jan 08, 01:24

Ships dont even have a General menu. How would it work? :p

MJALowe
Posts: 461
Joined: Fri, 5. Jan 07, 06:27
x3

Post by MJALowe » Fri, 11. Jan 08, 02:02

the phq is classed as a dock....you can also class it as a station owned by player of type headquarters

useing the get array command that would be something like

allphqs = get array of station owned by race: player of class/type: headquarters

not sure on my syntax, but thats what i use with IFTSOS to get all the player headquarters (there is also one that works with ships)

lordmoore
Posts: 9
Joined: Sun, 25. Nov 07, 17:10
x3ap

Post by lordmoore » Wed, 30. Jan 08, 19:27

Hi,

I REALLY like this script but unfortunately I have a fleet of small ships that don't use this because there aren't M1's. So, I could use a bit of help.
Does anyone know (or can provide detailed descriptions on how I can) how to enable this for the XTM mod?

The ships I'm thinking of specifically are the following:
All the M0's
Argon Griffin
Argon Cerberus
Split Panther

Anyones help would be greatly appreciated.

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Wed, 30. Jan 08, 21:41

that can be done in the setup up script, copy and paste a the line in each section and then change the ship class, for M0 from what i remember is hugeship, as for the xtm M7 I think they are classed as m2, well thats from what i remember, M0 option is for definate you may have to play about a bit for the M7's but hey theres only so many classes, lol
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

lordmoore
Posts: 9
Joined: Sun, 25. Nov 07, 17:10
x3ap

Post by lordmoore » Wed, 30. Jan 08, 21:56

I'll give it a try...thanks!

Could I use any editor or does it HAVE to be done in X3?

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Wed, 30. Jan 08, 22:22

I believe you can use any editor but i just use the one in game. I not a big scripter i only know little things someone else might know more about other options of editing.
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

bringwind
Posts: 62
Joined: Sun, 2. Apr 06, 09:10
x3

Post by bringwind » Sat, 2. Feb 08, 11:15

question, can this run with fight command mkIII?

lordmoore
Posts: 9
Joined: Sun, 25. Nov 07, 17:10
x3ap

Post by lordmoore » Sun, 3. Feb 08, 22:31

I have been running them together and it appearsto work.



BTW...I made the changes to the setup file but I have a problem still. I have to go into scripts and run the setup file every time I load the game for it to take effect. I'm pretty sureits NOT suppose to work that way but have no idea how to fix it.

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Wed, 6. Feb 08, 16:51

did you copy the line in each section and paste it in the same section, there are quite a few sections you need to do it for each one, ive used this method and got it to successfully work for M0/M2/M7, I think it was the original creator that told me how to do it, lol it should be in this topic somewhere closer to the start.
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

DrwHem
Posts: 623
Joined: Sun, 11. Nov 07, 05:28
x4

Post by DrwHem » Wed, 6. Feb 08, 19:07

I have a custom M2 with 12 docking slots and i set the fighters on it to have the ship be their homebase but i dont see any special commands like form attack wing or supply all ships.

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Wed, 6. Feb 08, 19:46

Serial Kicked wrote:
Any chance of adding M2's to the next upgrade? With the new ships being created, and the new mods, having this functionality would be much appreciated.
Sorry, but no plan to do it. Adding the commands yourself isn't that hard, just give a look at the setup.anarkis.carrier file, and in the lines that looks like:

Code: Select all

global script map: set: key=xxx, class=Battle Ship M1, race=null, script=...
Change "Battle Ship M1" by "Huge Ship". Save & reload your game, enjoy.

Anyway I will write soon a AFC script (anarkis fleet commands) for M2 ships, making this discussion a bit pointless :)
here you go, lol i just screened through the topic to find it
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

DrwHem
Posts: 623
Joined: Sun, 11. Nov 07, 05:28
x4

Post by DrwHem » Thu, 7. Feb 08, 04:33

does anyone know how i get this to work? i see the commands clear sector and dock all ships and i assigned them hotkeys but i dont get any of the other commands and nothing happens when i press the clear sector key even though i have 4 fighters docked at my m2 which is their homebase. is there a specail thing i have to do to tell the script to work on my big ship?

lordmoore
Posts: 9
Joined: Sun, 25. Nov 07, 17:10
x3ap

Post by lordmoore » Sun, 10. Feb 08, 22:06

Ok, I'm loving this extension but theres one last thing I'd like and I'm hoping someone can tell me how to add it (and one irritation I'd like to get rid of).

I would love it if the automated carriers would purchase lost ships. So, if a ship goes down in combat the carrier would purchase another just like the one it lost.

Also, I keep getting messages everytime my ships go into combat saying there are not enough ships to perform this action. How do I turn that off completely?

garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 » Tue, 12. Feb 08, 18:46

the script requires at least 5 fighters you should have recieved a message each time carrier went to launch fighters.
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit

Phier
Posts: 254
Joined: Sat, 23. Feb 08, 22:23
x3tc

Post by Phier » Mon, 24. Mar 08, 18:49

Some things seem a bit wonky and I'm not sure if its my end or the script.

It seems to be a really great script but, using my elephant with it, when I order a sector sweep it won't use my m5's only my m3's (I'm in system).

When I try to use the homebase command, nothing happens, no menu, just clicks.

Sometimes ships seem confused as to what state they want to be in. When I was using my M5's and tried to get them to dock, using the dock all ships, they approached the ship and then suddenly would go back to attack all enemies, issuing the command again resulted in the same behavior.

Its such a great idea and looks so well done I really want to get this to work. I'm using version 1.41

Edit: I should post more often, now it seems to be working fine, the homebase settings that is.

McCade
Posts: 64
Joined: Wed, 3. Mar 04, 02:28
x2

Post by McCade » Mon, 7. Apr 08, 23:48

Can anyone help me get this working for the M7 class? I found the setup script and tried to add the m7, but I don't think I did it correctly. I've not done any script edting thus far.

TIA

Lethal Mitch
Posts: 423
Joined: Sat, 27. Dec 03, 18:11
xr

Post by Lethal Mitch » Tue, 8. Apr 08, 01:16

I could be wrong here but the M7 only takes 2 fighters IIRC. The script needs a minimum of 5 fighters to work.

Really for carriers which the M7 isn't.

Hope that helps.

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