X4: Foundations

X4: Foundations

76 ratings
Buy And Sell Stations
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
26.034 KB
Apr 29 @ 8:11am
May 7 @ 4:47pm
2 Change Notes ( view )

Subscribe to download
Buy And Sell Stations

Description
Player can sell stations to other factions and buy stations from other factions.

This mod is made by General Vash and all I did was make it compatible with 6.0. I asked and have received permission to upload this to steam so it can be enjoyed by everyone.

If and when General Vash starts modding again and he decides to expand on this mod I will take this one down and you can subscribe on his new version should it ever come to pass.

Enjoy being a station real estate mongol

=================================================
Usage and more expanded description
=================================================

This mod allows buying and selling of stations, except for defense stations, wharfs, shipyards, trade stations, or any faction's headquarters. These were excluded from purchase because I thought that governments would be extremely reluctant to sell strategic resources.

You can speak to any station manager and get an appraisal for the station, which prints to the logbook.
The appraisal for buying stations is as follows:

- The price of all the station's modules, the price of all drones, the price of all the station's cargo at max valuation, plus the price of the station's build plot. This is the base price.

- Then, every station owned by the faction which produces the same products of the station being appraised are evaluated for their relative prices to get the product which has the highest average relative price within the faction. That relative price is divided by 10 to arrive at a value between -0.1 and +0.1. Negative maximums are set to 0. This becomes the exponent accounting for product scarcity, i.e the scarcest product of a station which has relative price of +45% results in an exponent of 1.045, with a factor of 0 being an exponent of 1.

- If the station being appraised is the last station producing some ware owned by the faction, they automatically assign an exponent of 1.1 regardless of the relative price of the ware. This is to make it more difficult to monopolize every station producing some ware.

- The exponent is applied to base price. Formula ( Price of all modules + price of all drones + price of all cargo + price of build plot) ^ (1 + (relative price of scarcest product / 10 )

The appraisal for selling stations is as follows:

- The price of all the station's modules, the price of all drones, the price of all the station's cargo at max valuation, plus the price of the station's build plot. This is the base price.

- Then, the relation of the player with the faction buying the station is checked, and a flat percent bonus is applied for good relations. The bonus scales up to 30%

=======================================
Compatibility
=======================================

Compatibility with Recycle Ships and Stations: His mod replaces my mod's dialogue for owned stations, but doesn't affect buying AI stations. Thanks to iforgotmysocks for this mod, which helped me figure out the dialogue system and provided a good starting point for my work. His mod does not appraise owned stations' cargo or build plot, so you'll sell for less. His method of transferring ownership doesn't use the library for this purpose, but I haven't tested whether there are bugs with the station accounts in Recycle Ships and Stations.

Other mods which add conversation options to station managers probably also interfere with my mod...I tried to look at Extended Conversation Menu but couldn't figure out how to get that to work.
31 Comments
Palman 4 hours ago 
The Prices are insane :O 58 million for a small and empty Turret Comp. Station
knightphantom420 Sep 18 @ 3:03pm 
any chance u can put an ability to recycle ships at ur shipyard or would that have to be a seperate mod?
All In Aug 21 @ 6:39pm 
Is there a way to customise the way stations are valued? Some of the prices I'm seeing are crazy. I'm seeing a station that's worth about 30 mil going for 130 mil, so once I'm at the point where I can afford it it doesn't really seem worth doing, is there a way to modify an .ini or .xml file or something to make the prices a bit more reasonable? Maybe a mod manager?
Rampager Aug 3 @ 9:37am 
i understand a faction unwilling to sell their stations, but could you allow it so that you can sell the prohibited items in a one way trade? aka defence platforms, wharfs, etc
WAKE Aug 2 @ 1:42pm 
selling any stations to factions would be great...
Astarte Jul 19 @ 10:31pm 
It mentions no buying defense platforms, but could you sell a defense platform to a faction to give them control of a sector? I ask because the Xenon ravaged the north half early on for me, and although I've now cleared them out all of the relevant factions seem reluctant to reclaim their territory.

Also, how do you sell a station? I'm not getting any dialog to choose a station to sell when I go to a factions station manager or faction rep, nor does the sell option appear when I talk to the manager of the station I want to sell...
T600_Mod Jul 12 @ 5:35pm 
is there any way you can make a version where I can Buy all Stations? and release that Seperatley.
I want to take over a few sectors and be a miny nation. and the defence platforms are in the way.
Thanks for making this by the way. its great.
Instinct Jul 5 @ 3:40pm 
What about only allowing selling the banned stations?
hanz Jul 3 @ 5:25am 
kinda sad that station that has admin module can't be sold. was hoping i could build a defense platform near xenon gate border and sell it to the faction so i have no need to get ownership.
Roach Jul 2 @ 10:22am 
Teladi tradestations not buyable?