[X3TC Bonus Plugin] Commercial Agent (CAG)

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

Vindi89
Posts: 18
Joined: Sat, 8. Nov 08, 00:24
x3tc

Post by Vindi89 »

Can someone please confirm for me the following:

Under CAG Trade Duties:

Trader means that he sells resources?

Shopper means that he buys resources?

Salesman means that he buys and sells resources?
Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang »

not entirely, trader sells and buys, while the salesman sells, you already guess what the other one is. you can also dictate what he can sell and buy for the shopper and seller settings. Trader I think will alternate between the two, that is if the station he's at is set as the home base
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Hi,

Is it possible to set TL as CAG homebase and order freighters to do shopping for TL?

My idea - Creating few "mobile trading station" - I want to set up TL, assign few fighters (the ones capable of transporting XL) to him and set them to automatic trade...

I really like idea of this trading groups.
I am not very good in english, so please, forgive me...
Steve5845
Posts: 39
Joined: Tue, 20. Jul 10, 08:24
x3tc

Post by Steve5845 »

@dmichailcz,

I'm going with no. CAG deal with products, intermediate products and resources. Since the TL neither produces nor requires resources the cag has no place there. Just think of the TL as a very large TS. I know what you're thinking, but size matters not! Use universal best buy best sell mod. assign the tl as ts homebase and set the ts parameters to gather the products you want and drop off when full. i dont think selling is possible in this fashion, but if you figure it out, let me know.

-steve
marcusdavidus
Posts: 155
Joined: Fri, 29. Oct 04, 12:31
x2

Post by marcusdavidus »

I got question: WHat are best ways to lvl up union pilots without using prospector ( becouse rly dont want retrofit ships jus to lvl up faster my cags)
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

marcusdavidus wrote:I got question: WHat are best ways to lvl up union pilots without using prospector ( becouse rly dont want retrofit ships jus to lvl up faster my cags)
Sometimes, I start EST without MK3, just in one sector (Empire's Edge, The Wall), get pilot to the rank Trader (to be able to use jumpdrive), then assign him homebase and transfer him to CAG.

Don't know, if it is faster, but surely it is safer (no low level CAG slowly flying, while factory production is halted.
I am not very good in english, so please, forgive me...
marcusdavidus
Posts: 155
Joined: Fri, 29. Oct 04, 12:31
x2

Post by marcusdavidus »

yeah its faster becosue i got only closed circuit complexes so dotn got any resources need at all and need cags to sell. but they got to lwo rank. anyway prospector is way fastest in lvling so i setuped one so called school miner he transfer pilot after getting hight enought rank and start again. thanx anyway
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

How can I get TL as CAG? I've assigned homebase to TL by wing control, but there's no option in trade menu to start CAG.
I am not very good in english, so please, forgive me...
Maverick024
Posts: 139
Joined: Tue, 21. Nov 06, 17:16
x3tc

Post by Maverick024 »

marcusdavidus wrote:I got question: WHat are best ways to lvl up union pilots without using prospector ( becouse rly dont want retrofit ships jus to lvl up faster my cags)
Read this guide.
In summary, you can basically set up a couple (of a few dozen) M5s with the equipment you need then have them fly a circuit under CLS2 command to gain pilot union experience. When they reach the level you need, you can use the 'move pilot' command, or use a TP with the transfer personnel commands to move them to the ships you need.
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

@jlehtone:

Are you sure, that CAG can be run on TL?
I am not very good in english, so please, forgive me...
marcusdavidus
Posts: 155
Joined: Fri, 29. Oct 04, 12:31
x2

Post by marcusdavidus »

cag can be run on TL but need to got hight rank. but tbh why u want run cag on tl ? tl cannot dock anywhere only to docks etc so no much use of cag. maybe u want cls ?
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

marcusdavidus:

Are you sure about that? ... I never tested and needed TL's as CAG, but I wonder that neither in the German unsigned CAG-topic by Lucike, nor in the German signed CAG-topic TL's are mentioned as beeing useable as CAG.

Isn't it maybe a translation error here in the English topic?
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

marcusdavidus wrote:cag can be run on TL but need to got hight rank. but tbh why u want run cag on tl ? tl cannot dock anywhere only to docks etc so no much use of cag. maybe u want cls ?
I usually have one TL docked at my every EQ dock, using it as warehouse (for weapons and shields etc.). My EQ docks always have Energy Cells in store (for CAGs), so I've used combination of scripts Station Camper and Capital Ships E-cell Generator to turn TLs into small SPP.

It worked well until I recently downloaded Enhanced EQ Docks from Saetan. Their cargo capacities can be divided for different goods (for instance, Commercial base have 240,000 cargo space and i set 100,000 for energy cells) by Dockware manager, but Station Camper don't respect this limits.

My idea is, that i'll use CAG for this... Set homebase for TL, start CAG on TL, limit CAG to buy Energy Cells in 0 sector range (maybe with another limitations). Than, he will not leave station (because TL can't dock at any SPP), just hanging there, transfering Ecells from his cargo to station and still serves as warehouse.
I am not very good in english, so please, forgive me...
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

dmichailcz wrote:My idea is, that i'll use CAG for this... Set homebase for TL, start CAG on TL, limit CAG to buy Energy Cells in 0 sector range (maybe with another limitations). Than, he will not leave station (because TL can't dock at any SPP), just hanging there, transfering Ecells from his cargo to station and still serves as warehouse.
Of course, anyone has his own idea's on how to play the game and that's good.

So just as another ideas:

Why don't you let supply your dock directly by normal CAG's? Especially the eEQ's have planty of available space so a ship as a cargo-extension isn't needed.

Another one, if you want to supply your dock with the TL ... and you have an own energy-complex ... and if you use my complex hub with capital docks ... you could use CLS Mk II to let your TL fly between complex and dock.

And also as a possibly workaround for your idea, I've just got (while writing that post ;-)) the following idea:

Set up CLS Mk II for your TL and just give it the order to unload/sell up to your needed amount of energy cells. Don't give it another order. I don't know if it works, but you could try.
cheeseburger
Posts: 648
Joined: Fri, 25. Mar 05, 02:14

Post by cheeseburger »

Have few questions:

* Do satellites / advanced satellites have any effect on CAG? I remember on X3:R, CAG will only visit sectors with a satellite in it...

* Do CAG ships visit Terran sectors? If so, do they jump to next jumpgate und then fly to the destination sector?

* I had a situation, where many CAG ships were freezed in a (friendly) sector: CAG ships were in the sector in space and a Xenon ship in the same sector. CAG wanted to jum away, but they had not enough energy to jump back to sector with homebase and were just freezed in the space. Xenon didn't attack them for whatever reason.

I was not sure how this happened, but I increased the CAG Jump energy reserve for 100-200 Ecells in the setting and it never happened again...
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

cheeseburger wrote:* Do satellites / advanced satellites have any effect on CAG? I remember on X3:R, CAG will only visit sectors with a satellite in it...
You can order CAG to trade only in sectors with satellites (in "Exceptions" menu).
cheeseburger wrote:* Do CAG ships visit Terran sectors? If so, do they jump to next jumpgate und then fly to the destination sector?
Yes, they do... With second part of question, I don't know.
cheeseburger wrote:* I had a situation, where many CAG ships were freezed in a (friendly) sector: CAG ships were in the sector in space and a Xenon ship in the same sector. CAG wanted to jum away, but they had not enough energy to jump back to sector with homebase and were just freezed in the space. Xenon didn't attack them for whatever reason.
Weren't they trying to dock at nearest station?
I am not very good in english, so please, forgive me...
cheeseburger
Posts: 648
Joined: Fri, 25. Mar 05, 02:14

Post by cheeseburger »

Is there any way to export the log about what the CAG ship is currently *doing*? I exported the settings log, but it's not clear why it's freezing.

The situation: Homebase in Antigone Memorial, CAG stuck in Scale Plate Green. Wares on board: only shield, drone, Mosquito, 190 ECell (210 is required to jump back to home sector), no trading ware. No enemy contact, just "Command: CAG on standby...", ships are waiting in space. The ships are TS Mistral, pilots are trained to higest level.

Any idea how this situation has occured and why the pilots are doing nothing? It's always the same sector, Scale Plate Green, BTW...
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

cheeseburger wrote:Is there any way to export the log about what the CAG ship is currently *doing*? I exported the settings log, but it's not clear why it's freezing.
There are two options:

1) Trade Log, in that is written every transaction (already done) - no information about your problem there.

2) Analysis to Log, that contains settings and other valuable information (detected traiding opportunities etc.).

P.S. Just idea - does homebase have enough credits to pay pilots? Or your account? (That was my problem with CAG few times, with same results.)
I am not very good in english, so please, forgive me...
marcusdavidus
Posts: 155
Joined: Fri, 29. Oct 04, 12:31
x2

Post by marcusdavidus »

cheese : cags can jump in to terran systems... if u setup jump becons first or if uy using gazz "jump"!!! plugin
cheeseburger
Posts: 648
Joined: Fri, 25. Mar 05, 02:14

Post by cheeseburger »

ATM I increased the jump energy reserve from 400 (default 10%) to 600 and it seems to help, no CAG is stuck anymore since then. Also the payment isn't the problem, there are enough cash everywhere. Buying ECell can't be also the problem, because they are instruced to sell ECell, homebase is a complex of SPP
:)

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