[Bonus Plugin] Commercial Agent

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

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

Nanook
Moderator (English)
Moderator (English)
Posts: 28247
Joined: Thu, 15. May 03, 20:57
x4

Re: CT Won't Jump

Post by Nanook »

jlehtone wrote:
Naughtulus wrote:... with all of the items listed in the OP.
Really? I do not see "Video Enhancement Goggles" (VEG) in OP, which is outdated anyway. Perhaps you used the list in the "Bonuspack Readme" that is installed on your own computer? (As that is up to date.)

And that Readme says: "jump only in emergency". Yes, if the ship has VEG, then it will not jump for trade, but is able to do a short (40 ecells == 3 sectors for TS) jump when attacked. Some may consider a jumping trader an "unfair advantage", but accept the life-saving use of the jumpdrive. Or the continuous consumption of fuel is worse for profits than the lack of speed on long routes, and the loss of cargobay to fuel tanks ... For those players the "VEG disables jumping" is a gift.
This is true, but it seems to me this option would have been better as a configuration setting rather than using VEG's. It's simply not intuitive, or even logical, that having VEG's on board prevent jumping. And it confuses a lot of players, as we can see.
Naughtulus
Posts: 2
Joined: Mon, 5. May 08, 01:03

Post by Naughtulus »

It was non-intuitive for me. Thank you for the help, much appreciated.
aska
Posts: 388
Joined: Thu, 9. Sep 04, 00:26
x3

Post by aska »

First, sorry for my english....

I got a Khaak sector, I take it with some Phoenix... Now it's quite mine... I have placed a Silicon Mine an tractorbeaning to the center of the sector, in the middle of the Phoenix Patrol squad... Now I have assigned that station as hombase to a Freight Pilot commercial agent, and start the commercial agent command... My Ts landing to he's homebase (which is setting at max jump 50) and stop, the Ts don't move anymore...

Some ideas? :roll:
Oh, the silicon mine got the money ofcourse....

Thank you,

a.
jlehtone
Posts: 22559
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Kha'ak sector? One without any Gate? Why I have a feeling that a sector with no Gate connection is so isolated that "list sectors within 50 jumps" returns the same as "list sectors within 0 jumps"?

You could try the CLS with a proxy station in regular space. CLS does not look for customers, it "follows orders". Then have CAG on the proxy.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
aska
Posts: 388
Joined: Thu, 9. Sep 04, 00:26
x3

Post by aska »

:lol:
aska
Posts: 388
Joined: Thu, 9. Sep 04, 00:26
x3

Post by aska »

Uops, CLS don't works.... The ship stand by out the station, and with "delivery products at..." (or what say in english, it's my free translation). And it's the same... if the base is my mine in unknow enemy sector or my spp in regular sectors... :cry:


a.

P.S.
One without any Gate?
I've seen some Yaki round about in the Khaak sector, do you mean there are Khaak sectors with some gates? :o
jlehtone
Posts: 22559
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

aska wrote:I've seen some Yaki round about in the Khaak sector, do you mean there are Khaak sectors with some gates? :o
Game spawns some NPC ships (like Yaki) in totally random sectors. Vanilla Kha'ak sectors have no Gates. Modded games, no idea.

It may be that even the "jump to destination" used by CLS depends on connection (to figure out proper fuel consumption). :(
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
aska
Posts: 388
Joined: Thu, 9. Sep 04, 00:26
x3

Post by aska »

Probably yes... it's sad :cry: Have you an idea about the pain for tractorbean the mine to the center of a Khaak sector... :o I think yes, next time i will use some cheat... All for nothing so sad...

Grazie anyway,


a.
jlehtone
Posts: 22559
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

aska wrote:Have you an idea about the pain for tractorbean the mine to the center of a Khaak sector.
I think I have the idea. Admirable feat. :goner:


Cycrow and others have written Jumpdrive enhancements. Perhaps they could advice? And I think Gazz has in his Complex Cleaner some ware transfer logic. Others too. It is probably quite simple script; decrease ware in one station and increase in another, with suitable charge of course.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Cursed Ghost
Posts: 656
Joined: Sat, 2. Oct 04, 22:44
x3tc

Commercial Agent Questions

Post by Cursed Ghost »

hi all

1.) is there any way to stop the Commercial Agent from buying fighter drones ?? as my freighters are flying with escorts so fighter drones are an unnecessary waste of credits and valuable cargo space

2.) how do i set up the Commercial Agent to act as a relay transferring goods from one station to another station

for example I have a wheat farm and a space fuel distillery in the same sector and id like set up one of my transport ships to act as a relay between these 2 stations taking wheat from the wheat farm and delivering it to the space fuel distillery
User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Post by Carlo the Curious »

1. Don't install fight software (this is in the readme, btw).
2. Use commodity logistics instead.
Cursed Ghost
Posts: 656
Joined: Sat, 2. Oct 04, 22:44
x3tc

Post by Cursed Ghost »

Don't install fight software (this is in the readme, btw).
err OK isn't that a bit bone headed if he don't have the fight software installed then he looses the laser auto aim on the turret making the turret useless

my ships might have escorts but the ship still needs to be able to defend its self in the event that the escorts are tied up with other attacking vessels

so next question how do I stop him buying fighter drones when the fight software is still installed

and while I'm on the subject of stopping the Commercial Agent buying things I don't want him to how do I also stop him from buying missiles with out removing the fight software
User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Post by Carlo the Curious »

Laser auto-aim does nothing for AI ships, as far as I know.
Phier
Posts: 254
Joined: Sat, 23. Feb 08, 22:23
x3tc

Post by Phier »

Carlo the Curious wrote:Laser auto-aim does nothing for AI ships, as far as I know.
Maybe in vanilla X3, I never tested it but I did test it with the fight command mark 3 script.

Autoaim seems to make a huge difference there.
Cedric_FP
Posts: 191
Joined: Thu, 13. Apr 06, 17:56
x4

Post by Cedric_FP »

Will CAG's purchase resources from player owned factories?

I notice there is a way to turn it off ala OP, but I wanted someone to confirm.

I plan on putting a SPPXL into the same sector as my biogas factory, but want to know if the CAG's representing the biogas factory will buy[transfer] energy from my SPPXL rather than jumping to another sector to buy ecells.
jlehtone
Posts: 22559
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Cedric_FP wrote:Will CAG's purchase resources from player owned factories?
Yes, if:
1. it is the "best offer"
2. the destination station does not run "Trader Barrier" command
3. you have not set the "don't trade" flag: {2} {0} {1} on the CAG
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Cedric_FP
Posts: 191
Joined: Thu, 13. Apr 06, 17:56
x4

Post by Cedric_FP »

jlehtone wrote:
Cedric_FP wrote:Will CAG's purchase resources from player owned factories?
Yes, if:
1. it is the "best offer"
2. the destination station does not run "Trader Barrier" command
3. you have not set the "don't trade" flag: {2} {0} {1} on the CAG
Ahh, best offer. I get it now ;)

Thanks :)
J Cubed
Posts: 113
Joined: Thu, 3. Nov 05, 18:36
x3

Commercial Agent training. . .

Post by J Cubed »

I've read through the CA thread and the "LUC IKE" tutorial / reference sheets, which I have printed out next to me. I have 3 Jaguar Raiders equipped with:
  • Boost Extension
    Navigation Command SW
    Trade Cmd SW 1 and 2
    Special Cmd SW
    Singularity Time Accelerator
    Triplex Scanner (Built-In)
    Fight Cmd SW 1 & 2 (Built-In)
I have these ships set to my Flower Farm as Home base, and had them ferrying in Energy Cells as fast as their 591m/s butts could fly.

One of these ships has been going, now, for 6:03 Stazuras, and it's still Apprentice. Do I need to give them Trading System Extension in order to get them past Apprentice level? If not, what do I need to give them? I see nothing special in the orders of my Flower Farm.

Thanks for the info!
User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Re: Commercial Agent training. . .

Post by Carlo the Curious »

J Cubed wrote:Do I need to give them Trading System Extension in order to get them past Apprentice level?
Yes.

Once you add TSE they'll advance to the appropriate level next time they dock.
Teladidrone
Posts: 644
Joined: Tue, 24. Aug 04, 11:41
x3tc

Post by Teladidrone »

Products are sold if the pilot can load D% into his cargobay (default 30%)
D% of what? Of the freighters cargo bay?
What is 100% of the cargo bay?
How exactly is that calculated?

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