[SCRIPT] Command Queuing V1.21 : 26/05/2009

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

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

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22410
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

did the ship even dock or did it not move at all ?
letherial
Posts: 13
Joined: Thu, 22. Feb 07, 20:32
x4

Post by letherial »

I had the same problem with all of my ships that i used it on, i figured it was another script/mod getting in the way, i started a fresh game with a fresh install and im being more picky about my mods so i haven't tested it yet.
Nadrek
Posts: 71
Joined: Wed, 19. Mar 08, 23:50

Post by Nadrek »

Thank you, Cycrow, for what _could_ be the last major part of the system I want in order to play large scale battles (Gazz's Complex Cleaner and MARS are the first two, with Player Owned Equipment Docs and Xai Corp's Equip Ship As being the others).

I'm still playing Reunion, and will be for awhile, but the next game up will be TC.

A) Would it be possible to set up a queue to automatically run on newly created (or bought) ships - based on some scripting thing, or name+location (i.e. Your LX at Headquarters, or Your Hyperion/whatever in sector X), or matching a template (naked LX owned by me, perhaps in sector X)?

Goal: to have my scores of fighters actually manage to turn themselves into something useful - dock at an EQ, update their cargo space (POED or TC equivalent), buy extensions, preferably call _another_ ship to run an Equip Ship As (i.e. to manage supply) and otherwise simply dock at the Fleet Supply complex and equip themselves, start MARS running, start MDM (or TC equivalent) running, turn Missile Chance to 0%, and then set itself to something harmless until I need them?

Regardless, this is a potentially stunningly useful script - particularly if it could be extended to also import and export queues, so we can share ones we've created (and/or be able to submit "here is what I do to cause bug X in script/mod Y" reports).
amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite »

Cycrow wrote:did the ship even dock or did it not move at all ?
The ship didn't move as far as I could tell. It took less than a second for the order to reset. I even tried giving it a 'go to sector' command first followed by a 20s wait but that did the same thing. Tried it on different ships as well (they were all TSs).
-TEVE
madpainter
Posts: 25
Joined: Sat, 6. Dec 08, 04:13
x3tc

Post by madpainter »

amirite wrote:
Cycrow wrote:did the ship even dock or did it not move at all ?
The ship didn't move as far as I could tell. It took less than a second for the order to reset. I even tried giving it a 'go to sector' command first followed by a 20s wait but that did the same thing. Tried it on different ships as well (they were all TSs).
Same problem here
The queues that run straight away work but saved queues just flash on and straight back off
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22410
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

madpainter wrote:
amirite wrote:
Cycrow wrote:did the ship even dock or did it not move at all ?
The ship didn't move as far as I could tell. It took less than a second for the order to reset. I even tried giving it a 'go to sector' command first followed by a 20s wait but that did the same thing. Tried it on different ships as well (they were all TSs).
Same problem here
The queues that run straight away work but saved queues just flash on and straight back off
ok, sounds like its a problem with loading the queues, ill take a look at it
madpainter
Posts: 25
Joined: Sat, 6. Dec 08, 04:13
x3tc

Post by madpainter »

It seems to give a reaction similar to when you set up a queue that cannot work ie. a trade command with no trade software. but with saved queues it does it regardless of whether the command should be able to run or not. :?
User avatar
JFJohnny5
Posts: 198
Joined: Mon, 12. Dec 05, 17:38
x4

Post by JFJohnny5 »

madpainter wrote:
amirite wrote:
Cycrow wrote:did the ship even dock or did it not move at all ?
The ship didn't move as far as I could tell. It took less than a second for the order to reset. I even tried giving it a 'go to sector' command first followed by a 20s wait but that did the same thing. Tried it on different ships as well (they were all TSs).
Same problem here
The queues that run straight away work but saved queues just flash on and straight back off
Having the same problem here. Saved Queues behave just as described and don't do anything. But I can run the command directly on a ship and it works fine.

Also, the list filtering (or whatever it is) doesn't seem to work. I can put a Dock At command in the queue followed by a Buy Ware command, but the list of available wares does not filter to the previously selected station.
techarin
Posts: 92
Joined: Wed, 10. Mar 04, 18:20
x3

Post by techarin »

Cycrow,

I just installed this script and the plugin manager but have a problem. After hitting the plugin manager hotkey I can select command ques, either w/ or w/o arguments and then it just goes back to the plugin manager. Nothing else happens.


Any idea what I did wrong?
User avatar
klaatu
Posts: 316
Joined: Fri, 21. Nov 03, 17:23
x4

Post by klaatu »

techarin wrote:Cycrow,

I just installed this script and the plugin manager but have a problem. After hitting the plugin manager hotkey I can select command ques, either w/ or w/o arguments and then it just goes back to the plugin manager. Nothing else happens.


Any idea what I did wrong?
Same here.
TheK
Posts: 4
Joined: Wed, 18. Apr 07, 02:59

Post by TheK »

I can confirm that im experiencing the same problems stated above. When i open the plugin manager, i try to create a queued command with or without arguments, and nothing happens, it just goes back to the plugin manager.
mesasone
Posts: 25
Joined: Thu, 5. Jul 07, 03:04

Post by mesasone »

Add me to the above list. Maybe 1.4 broke something. Look forward to using your script when you get a chance to look at it!
zombini
Posts: 22
Joined: Mon, 14. Apr 08, 18:51

jump

Post by zombini »

hey yo, this queing is a cool idea, but it is totally missing the JUMP command, unfortunately I´m not a scripter so I have no idea how to do this "simple" thingie
amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite »

When the mod is fixed, you can always just enable Autojump on your ship and it will jump to the locations in your queue.
-TEVE
zombini
Posts: 22
Joined: Mon, 14. Apr 08, 18:51

Post by zombini »

holy ****, I thought autojump makes a following ship jump with the followed one without confirmations, now I get it, great new feature, thanx! Anyway, I´ve never done more scripting than enabling the script editor, but after 20 minutes of looking into the script and text files I managed to add Jump command into the original list of commands and it works perfectly. Guess I´m a dumbass and a genius in one person :)
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22410
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

well the script was designed to easily add new commands to the list ;)

i will hopefully fix this soon when i get chance
R!pp3r
Posts: 535
Joined: Sun, 4. Jul 04, 11:49
x4

Post by R!pp3r »

hi,

if i understand it correctly its a script to make commands list with normly ship software commands, right?

Why does it use a hotkey? is that not easier to use an extra ship command in the menu?? and then u can add command like Delivery Ship (or supply i dont know the command in englisch^^) and next fly to the trade station??

i dont unterstand actually the funktion of the queues.


sry for my bad school englisch. I am from the German forum^^ and look after nice scripts
Dynamic Space Industries
Fortschritt der bewegt
Mckye
Posts: 53
Joined: Sun, 12. Mar 06, 11:41
x3tc

Craziness!

Post by Mckye »

Cycrow, egosoft needs to just give you and LV jobs as team leads making your own space sim. too many fantastic ideas wrapped up into one person. I cant wait for this to work again, it will be another piece towards finishing my perfect space sim masterpiece.

Just to check, this hasnt been working with 1.4 right? cause if it is, I would love to use it.
KELMAR
Posts: 85
Joined: Mon, 18. Jul 05, 06:15
x3tc

[REQ] Command que

Post by KELMAR »

heres my basic idea, i think a fair amound of people might find it useful also

an extra command (under special, i guess?) that analyzes the commands the selected ship is cappable of being order to preform, then lets you select several and carries them out in the order you selected

i would image you select the que command from the normal command window, then basically it emulates all the normal command except that giving it one command won't make it go away, you have to select finish, and ideally is should tell you what commands you've already qued.

extra features would be to edit the list? so you don't have to start it over if you give the wrong order mess up one step...
That was my health bar?
argon_emperor
Posts: 1225
Joined: Mon, 12. Dec 05, 07:41
x4

Post by argon_emperor »

Command Queuing by Cyrcrow.

This along the lines of what you're after?

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