AI Galaxy Trade v0.1 (9th June 2014)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
AI Galaxy Trade v0.1 (9th June 2014)
AI Galaxy Trade
===========
What is it?
-----------
Following a forum thread covering 2 possible approaches to breaking the cluster bound economic stalemates some help is given with a set of new ai jobs allowing a few L sized trade ships to wander the systems in search of profits. It may just be possible to let a CV in Devries find it's own supplies if you don't mind the wait.
Not all wares are covered in v0.1, noteably drones and ammo. After all we don't want life in DeVries too easy now...
All feedback and suggestions greatly appreciated.
Testing prior to release
---------------------------
Tested with new game start in 2.1 rc4 and an established plot game started in 1.25.
Install
-------
Same as always, copy the mod directory into the /extensions folder in the game directory. Feel free to create /extensions if you do not already have it. For example :
C:\Program Files (x86)\Steam\SteamApps\common\X Rebirth\extensions
Uninstall
----------
Delete the mod, run XR without it, save and restart game. I do not however know what effect this will have on outstanding trades using these ships. Hopefully no more than a timeout on failed trade.
Known Issues
----------------
In a plot game when traversing gates you might see small traffic jams as the ai is forced to park in the center of the gate aperture. This is only a concern while in zone so, if at a certain point of the plot you need to jump fast, take the skunk through and allow the other ships to follow. Otherwise none that are not part of the vanilla game, this mod simply defines new jobs and lets Egosoft's code do the rest.
Download
-----------
http://www.nexusmods.com/xrebirth/mods/391/?
===========
What is it?
-----------
Following a forum thread covering 2 possible approaches to breaking the cluster bound economic stalemates some help is given with a set of new ai jobs allowing a few L sized trade ships to wander the systems in search of profits. It may just be possible to let a CV in Devries find it's own supplies if you don't mind the wait.
Not all wares are covered in v0.1, noteably drones and ammo. After all we don't want life in DeVries too easy now...
All feedback and suggestions greatly appreciated.
Testing prior to release
---------------------------
Tested with new game start in 2.1 rc4 and an established plot game started in 1.25.
Install
-------
Same as always, copy the mod directory into the /extensions folder in the game directory. Feel free to create /extensions if you do not already have it. For example :
C:\Program Files (x86)\Steam\SteamApps\common\X Rebirth\extensions
Uninstall
----------
Delete the mod, run XR without it, save and restart game. I do not however know what effect this will have on outstanding trades using these ships. Hopefully no more than a timeout on failed trade.
Known Issues
----------------
In a plot game when traversing gates you might see small traffic jams as the ai is forced to park in the center of the gate aperture. This is only a concern while in zone so, if at a certain point of the plot you need to jump fast, take the skunk through and allow the other ships to follow. Otherwise none that are not part of the vanilla game, this mod simply defines new jobs and lets Egosoft's code do the rest.
Download
-----------
http://www.nexusmods.com/xrebirth/mods/391/?
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 377
- Joined: Mon, 15. Mar 04, 08:07
Woo First!
Thanks been waiting a couple days to see this and trial it.
Question: what did you do to resolve the que at jumpgate issues you were having during development? I have a theory for this fix where instead of going to the actual jumpgate the traders will make way towards one but if the que is too big they will use the jumpdrive instead...
Thanks been waiting a couple days to see this and trial it.
Question: what did you do to resolve the que at jumpgate issues you were having during development? I have a theory for this fix where instead of going to the actual jumpgate the traders will make way towards one but if the que is too big they will use the jumpdrive instead...
*modified*
*X3 LiteCube User*
MOD GemFX Real Space Shaders
MOD Variety and Rebalance Overhaul Icon Pack
I lost my Hans and should not be flying Solo.

*X3 LiteCube User*
MOD GemFX Real Space Shaders
MOD Variety and Rebalance Overhaul Icon Pack
I lost my Hans and should not be flying Solo.

-
- Posts: 719
- Joined: Mon, 19. Dec 11, 22:59
Well I am happy to see this , and it compatible with my more enemies mod ! awsome.
I have been trying to do somthing like this for ages
I have been trying to do somthing like this for ages
X4 Advert Redesign : https://www.nexusmods.com/x4foundations/mods/899
Split Voice Overhaul : https://www.nexusmods.com/x4foundations/mods/598
Split Voice Overhaul : https://www.nexusmods.com/x4foundations/mods/598
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
I used a totally different methodledhead900 wrote:Woo First!
Thanks been waiting a couple days to see this and trial it.
Question: what did you do to resolve the que at jumpgate issues you were having during development? I have a theory for this fix where instead of going to the actual jumpgate the traders will make way towards one but if the que is too big they will use the jumpdrive instead...


Glad to hear itPrivata wrote:Well I am happy to see this , and it compatible with my more enemies mod ! awsome.
I have been trying to do somthing like this for ages

X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 37
- Joined: Fri, 12. May 06, 19:59
So my goal is to make DeVries my home base for stations and infrastructure, and I am well on my way to doing that. My question is very simple and I think I know the answer.
Do you have to select galaxy trading or do ships automatically begin searching for trades outside their home system?
I've been following your development and it seems like they will eventually begin finding other trades but I want to be sure.
Also, are you able to elaborate on what products are traded cross system? My plan is to use DeVries' VAST...I mean gigantic...huge...crazy...amount of ore and silicon to flood the market with wafers and refined metals. Along with materials like ice and even some crystals and navidium, you could corner the market on raw goods from DeVries if its able to be traded across the galaxy.
Thoughts?
As for ships outside their home system when the mod is removed: I have built several ships in Albion and assigned them to stations in DeVries. They often find a trade in Albion that sells in DeVries and then they stay there. I imagine that something similar would happen. Example: I had a container rehannas assigned to my food stuffs station. On its way home it picked up some (scanners?) and sold them to the shipyard in DeVries.....
P.s. thank you for your hard work!
Do you have to select galaxy trading or do ships automatically begin searching for trades outside their home system?
I've been following your development and it seems like they will eventually begin finding other trades but I want to be sure.
Also, are you able to elaborate on what products are traded cross system? My plan is to use DeVries' VAST...I mean gigantic...huge...crazy...amount of ore and silicon to flood the market with wafers and refined metals. Along with materials like ice and even some crystals and navidium, you could corner the market on raw goods from DeVries if its able to be traded across the galaxy.
Thoughts?
As for ships outside their home system when the mod is removed: I have built several ships in Albion and assigned them to stations in DeVries. They often find a trade in Albion that sells in DeVries and then they stay there. I imagine that something similar would happen. Example: I had a container rehannas assigned to my food stuffs station. On its way home it picked up some (scanners?) and sold them to the shipyard in DeVries.....
P.s. thank you for your hard work!
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
It's automatic. the galaxy enabled ships judge trades like any other and travel wherever needed.
No drones or missiles in the current list, and probably missing some secondary resources. No raw materials are traded at all. There are not huge numbers of ships either, but you do have an alternative to manual trading if you are willing to trade for time taken to get things delivered
And no they don't stay put. Range is a factor in the profit calculation but they simply go where the profit is.
No drones or missiles in the current list, and probably missing some secondary resources. No raw materials are traded at all. There are not huge numbers of ships either, but you do have an alternative to manual trading if you are willing to trade for time taken to get things delivered

And no they don't stay put. Range is a factor in the profit calculation but they simply go where the profit is.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 1627
- Joined: Thu, 5. Aug 04, 01:57
Guesses that this and the autotrader mod will collide with each other 

Link to the list of Mods working in X4-Foundations and also Link to the list of Mods working in X-Rebirth
NOTE: I play with a modded game, so any reports I make outlining suggestions/problems/bugs/annoyances, are made with mods installed and running.
NOTE: I play with a modded game, so any reports I make outlining suggestions/problems/bugs/annoyances, are made with mods installed and running.
-
- Posts: 319
- Joined: Fri, 11. Oct 13, 12:02
-
- Posts: 377
- Joined: Mon, 15. Mar 04, 08:07
He said he worked around that in post 3, when I asked him what he did to fix the gate pile ups he never told me exactly what.
I reckon tho if this works well it should be extended to include every trading ship and even small cargo.
I reckon tho if this works well it should be extended to include every trading ship and even small cargo.
*modified*
*X3 LiteCube User*
MOD GemFX Real Space Shaders
MOD Variety and Rebalance Overhaul Icon Pack
I lost my Hans and should not be flying Solo.

*X3 LiteCube User*
MOD GemFX Real Space Shaders
MOD Variety and Rebalance Overhaul Icon Pack
I lost my Hans and should not be flying Solo.

-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
For some wares yes, but we survived the competition in X3 and as mentioned some of the more profitable wares are not touched at all by this mod. I am a trader player myself and didn't want to kill my own playstyleNZ-Wanderer wrote:Guesses that this and the autotrader mod will collide with each other

The gate pile up - can happen on a small scale but nothing to be worried about. By small scale maybe 3-4 at the same time.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
AI ships never use the trade computer on skunk. They can read all prices at all times in any zone. This mod adds no actual ai to the game, it just defines ship setups, range to trade + wares to be traded. The actual ai for making profit and selecting what cv or station to trade with, movement code etc is all vanilla so will remain usuable with bug fixes from ES in the future.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 111
- Joined: Fri, 4. May 12, 14:49
One request if it's possible about the drone trading , is it possible to allow it to trade cargo lifters only? There seems to be alot of them missing and some URV factories in OL have a full load but the sy in darned hot air and gemstone manufacture is out. It's a bit of a hassle to manually trade them every time you want a new ship.
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 111
- Joined: Fri, 4. May 12, 14:49
Yeah, making the player trading useless is a risk with that.
Maybe traders with a very small amount of drones?
Only 10-15 or so once in a while? So there's a chance for the player to get atleast 10 or so drones on their ship. That way the drones trickle in very slowly on the SY.
I dont know how fast the SY consumes drones though. That might be a problem. Overall I suspect that the pace of consumption is too slow in OL since URV factories are all filled up. Might just be my game though
Maybe traders with a very small amount of drones?
Only 10-15 or so once in a while? So there's a chance for the player to get atleast 10 or so drones on their ship. That way the drones trickle in very slowly on the SY.
I dont know how fast the SY consumes drones though. That might be a problem. Overall I suspect that the pace of consumption is too slow in OL since URV factories are all filled up. Might just be my game though

-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
SYs are the games primary resource sink. The ai will build capitals and send them off to oblivion to keep the need for factories to produce. This is why the drones run out in DeVries. A better solution would be to build an actual drone forge there (not the plot one
) but the money can take a while to build up if you dont like running into Albion to cap freighters and sell em at devries or gemstone.

Spoiler
Show
You don't actually have to fly the ship anywhere, just cap it, retrieve the marine officer and run the skunk alone to a SY to sell

X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 111
- Joined: Fri, 4. May 12, 14:49
Last time I built a URV forge in devries the drones just sat there and didnt get bought.
To be forced to steal/build a specific station seems a bit excessive to solve the issue of getting 10 cargolifters.
especially since you have to steal ships every time you need to build a ship. I did that for a long while to work around it. Stealing ship loses it's charm after the 15th ship when you have to do it to build the URV forge to begin with.
To be forced to steal/build a specific station seems a bit excessive to solve the issue of getting 10 cargolifters.
especially since you have to steal ships every time you need to build a ship. I did that for a long while to work around it. Stealing ship loses it's charm after the 15th ship when you have to do it to build the URV forge to begin with.
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
-
- Posts: 111
- Joined: Fri, 4. May 12, 14:49
-
- Posts: 320
- Joined: Sat, 7. Feb 04, 18:47
May the AI ships should only trade if the sy really need it, dont know if these ships could know if the sy want to build a ship...then wait 30 min if the player dont trade, they start
If you let them trade everything normal...like you guys write...the player couldnt make money, cause Ab and OL get totally balanced after a while with these AI ships
(Oh Yorrick did ES called?
)
If you let them trade everything normal...like you guys write...the player couldnt make money, cause Ab and OL get totally balanced after a while with these AI ships
(Oh Yorrick did ES called?
