Stations that can receive cargo from CargoShips and turn a profit. CargoShips dock, transfer their cargo, then take up cargo before leaving. TradingStations can be traded with regardless of which team owns them.
Note that the TradingStation classlabel overwrites the build menu so that a Trading Station cannot build GameObjects (unless the build hotkey is used to circumvent this).
classlabel = "trading_station"
Stock ODF Commands
Float, Default: 15.0
Determines how fast cargo is transferred from a CargoShip to this TradingStation in units per second.
Float, Default: 0.36??? something weird here
Modifies the profit made by the transfer of each unit of cargo (1.0 = 1.0%). Base value before modification is set by cargoValue.
percentTradeProfit * m_maxResource / cargoValue... = latinum given ... amount lost to the trade station with every dump. Note that resources only received after full cargo deposited... % if have multiple stations running?
String, Default: Null
Description of the cargo item in question: multiple items can be specified. Dynamic_Localized_Strings.h file can be used to save space and store longer names.
The X for the cargoKey command must be a positive integer and integers should not be repeated when the command is used multiple times within the ODF.
cargoKey3 = "GUI_SD_CARGO_WARP_CORES"
Float, Default: 1.0
Determines the amount of latinum that is given to the player when the specified cargo is fully transferred to a TradingStation by a CargoShip owned by the player. Note that in the case of a Ferengi CargoShip, distanceBetweenTradingStations is actually the start position of the Ferengi CargoShip and its destination TradingStation.
The integer X for the cargoValue command determines which cargoKey is modified. Integers should not be repeated when the command is used multiple times within the ODF.
cargoValue1 = 0.02
cargoValue2 = 100
cargoValue3 = 4.1
Note that cargoValueX is in turn modified by several algorithms which account for the straight-line distance between the two TradingStations that a given CargoShip is traveling between:
For map distances between 0.0 and 1200.0, Armada calculates the latinum given to the player by the following equation: latinumReceived = 0.001 * cargoValueX * distanceBetweenTradingStations
For map distances between >1200.0 and 3000.0, Armada calculates the latinum given to the player by the following equation: latinumReceived = 0.002 * cargoValueX * distanceBetweenTradingStations
For map distances between >3000.0 and <3200.0, Armada calculates the latinum given to the player by at least two additional equations (which act to smooth the function). A semi-accurate polynomial will not be described here.
For map distances between 3200.0 and greater than 3200.0, Armada calculates the latinum given to the player by the following equation: latinumReceived = 0.01 * cargoValueX * distanceBetweenTradingStations