StarMade v0.198.476 - The Trading System
Greetings, Citizens ~
HOTFIX #2: fixed game lagging out in multiplayer (low fps). Also fixed a NullPointerException at Startup (happened semmingly at random)
HOTFIX #1: fixes sector sizes being capped to 5000
This update marks an important step in the overall progress. The trading system will be used throughout the universe -- not only by players, but in the future by NPC Factions as well. This will create a dynamic economy throughout the universe, and should make gameplay much more engaging.
Trading System
The most important part of the trading system is the Trade Network. This network makes it possible to access inventories and prices without having to visit the stations themselves (or even having them loaded). Not only can they be accessed, but they can also be modified, meaning stations may trade with one another regardless of their distance and loaded states.
The Trading Guild itself handles trades made using the Trade Network. This means anyone can trade with any other shop in the network, given they have sufficient credits to pay the Guild its fee.
Trade nodes
A station with a shop module can now opt-in to the Trade Network. This option is only available to the owner of the shop. There are also now more options added for shop owners, such as the ability to let their faction, allies, or everyone use the shop as an owner (except for the right to add/remove owners, of course).
Everyone with that permission can make trades at that shop and set the prices. Keep in mind not to leave money and blocks in a shop with a broad ownership, however.
Player Shop Capacity and added functions
Player shops now require capacity the same way storage blocks do. You will need to connect cargo blocks to the shop in order to expand its capacity. However, shops also gained some of the functionality of storage blocks: they can now pull items (and be pulled from), which should make it much easier to manage shop inventories.
Setting Prices
As before, there are two type of prices you can set per block: the price that you want to sell blocks at, and the price you want to buy blocks for. Players can now also impose a stock limit, preventing blocks from being bought or sold past that limit, thus allowing reserves for ship building, repairs, and the like.
Players can set Prices both within the Shop tab as before, or within the new Set Prices tab. If the shop is in the Trade Network, this tab publishes all credit prices in real-time. The previous shopping permissions (located within the Options tab) still apply, but only to local trading -- that is, trading with ships that actually visit the shop.
Placing Orders
To place an order, go to the Trading tab. This lists all shops within the Trade Network in a sortable and searchable list. Select a shop of your choice and click its [Order] button to bring up the order menu. Alternatively, you may search for offers by block type instead. This fetches the buy/sell prices for that particular block type from the server, making it easy to find the best price for specific items.
The order menu allows you to buy and sell from other shops. The availability of purchasable items of course depends on the target shop’s inventory and stock limits. Likewise, the amount of inventory that a particular shop can buy from you is limited by its cargo capacity and stock limits, as well as its credits.
The top of the menu lists the price/profit for a trade. Since the Trading Guild is handling the actual trading, they require a delivery fee, as well as a share of the profit based on delivery distance.
The delivery price itself depends on distance and quantity of ships used. As every ship has a fixed amount of cargo space, certain order volumes are more cost-effective. Example: if you buy only a single block (or a single block over the capacity of one ship), you must still pay for the use of that entire ship.
Keep in mind that buying/selling will send an individual Trading Guild fleet, because orders have different shops as starting points. Also: Trading Guild fleets are only virtual at the moment and therefore cannot be intercepted nor raided … yet. We will add this feature in the coming weeks, along with some of the NPC faction features. This will also include an upgrade to fleet AI.
Active Trades
Once you click [ok], all credits of the trade will be instantly added/removed from shops in the trade. All bought/sold blocks are also instantly removed from the shop and loaded onto the Trading Guild fleet. When the fleet has reached its destination, it will transferred the cargo to the destination shop.
The shop’s Trading tab displays all trades to/from that shop. Shop owners will also receive a message when a trade completes, as well as a faction message (if applicable).
Galaxy Map
Active trades to/from your personal or faction shops are visible on the galaxy map. Every shop within the Trade Network is also visible on the map. In the future, we will change how the map handles and shares information between players.
Trade Config
Currently the values used in the Trade System are adjustable in the blockBehaviorConfig.xml (open with any text editor).
When other features get added, these values will change:
-
Cargo Hold of trade ship: 1000 volume
-
Cost per trade ship: 1000 cr
-
Cost per system travelled: 300 cr
-
Travel time: 1 sector every 3 seconds
-
Trading guild flat share: 20%
-
Trading guild share per system travelled: 2%
New LoD Blocks (and graphic changes)
To test the integration of the LoD (Level-of-Detail) system with existing blocks, we have replaced the mushroom (found on red planets) with a model that uses LoD. As you travel further from the model, it will reduce in complexity, thereby improving graphics performance. The LoD system will make use of multiple steps in the future to help further improve performance while retaining proportional detail.
Additionally, we’ve added a new block: the light bar. This block will make hallways look quite nice, but of course can be used in a variety of other ways. Unfortunately, due to the block requiring 24 orientations, it currently cannot be switched off; there are plans to fix or work around this problem soon. We are aware of some glitches in the graphics on the light bar. Those will hopefully be fixed till friday.
We have been slowly working on optimising our textures and their application, meaning less occupied VRAM. The footprint of our planet LOD textures, Non cubic model emissive maps and some UI sprites have been cut by up to 80%. We will continue to further streamline our assets wherever possible.
Asteroid Tweaks
-
Generation is now 2-3 times faster.
-
Configurable asteroid sizes within server settings
-
Some FPS improvements for ice asteroids, more to come soon.
Fleet Contest Results
Results of the Community Fleet Contest have been made publicly available, you can find the thread providing more details here: https://starmadedock.net/threads/community-fleet-contest-results.25911/
Bug Fixes
Unlisted bug fixed: shop panel could be unusable after logging out and in again without exiting the program.
T1595 GLibC 2.12 native libraries included for CentOS 6
What comes next
After a bug fixing round this week -- and maybe next week (two releases) -- more features will follow. We will also add the faction NPC system and make it usable on existing galaxies.
The coming months will probably one of the most important times in StarMade history as it will define the transition from framework-building to actual gameplay.
As always, thank you for playing StarMade!
~ The Schine Team