Avorion

Boxelware · Simulation

Avorion patch notes · Nov 9, 2017

Experiment

Beta Branch Patch 0.15 Patchnotes: Economy Update

What's new in Beta Branch Patch 0.15 Patchnotes: Economy Update: 126 changes to Avorion, released Nov 9, 2017.

Balance · 5

  • The fighter minimum production limit is 5 seconds instead of 60.

    fighter minimum production limit
  • Several goods and production chains were rebalanced to avoid completely over- or underpowered factories.

    goods and production chain balance
  • Hireable crew depends more on station type, so mines have miners and military stations host generals and officers.

    crew predictability
  • When an AI ship crashes into a still-standing player station, no damage is done and no relation changes occur.

    ai ship crash into player station
  • There are no hyperspace restrictions.

    hyperspace restriction

Content · 43

  • Trading between players has been added.

    player-to-player trading
  • A startFighter() function was added to start a single fighter.

    startfighter function
  • Players can now found Biotope, Casino, Habitat, Equipment Dock, Fighter Factory, Research Station, Resource Depot, Smuggler's Market, Trading Post, Turret Factory, Military Outpost, Shipyard and Repair Dock stations.

    new station types buildable by player
  • A GameSettings class was added for access to server and game settings.

    gamesettings class
  • FighterAI generates script-readable feedback about what it currently does.

    fighterai script feedback
  • A flag was added to Hangar to check if it is currently producing.

    hangar producing flag
  • Player ships can now be transferred to the alliance, but cannot be transferred back.

    player ship alliance transfer
  • A reference to the Owner component was added.

    owner component reference
  • A setCheckedNoCallback() function was added to CheckBox.

    checkbox setcheckednocallback function
  • FighterType of FighterTemplate is now accessible.

    fightertemplate fightertype access
  • Hangar and Fighter script callbacks were added.

    hangar and fighter script callback
  • entity and entityId properties were added to Components.

    components entity and entityid property
  • Checks were added to FighterController to see if a fighter can start.

    fightercontroller start check
  • entitydbg.lua can now spawn and transform factories.

    entitydbg.lua factory spawn and transform
  • Cargo shuttle fighters have been added.

    cargo shuttle fighter
  • The entitydbg.lua script is attached by default to nearly all entities.

    entitydbg.lua attachment to entity
  • Players can trade money, resources, items and relation improvements.

    player trading of money, resources, items and relation improvement
  • A Selection.entriesHighlightable property was added.

    selection entrieshighlightable property
  • pay() and receive() accept an optional string first argument as transaction description.

    pay and receive transaction description argument
  • Parameter names and return value types are correctly displayed in the generated documentation.

    generated documentation parameter names and return type
  • A Format class was added for translatable money transaction descriptions.

    format class for translatable transaction description
  • A new AI state makes a fighter fly to a specific location.

    fighter fly-to-location ai state
  • getMissionLocation() can now return more than 2 coordinate values.

    getmissionlocation return value
  • setValueNoCallback() and setPositionNoCallback() functions were added to Slider.

    slider no-callback setter
  • Factories can be configured to request traders when full or out of ingredients.

    factory trader request
  • The ShipProblems HUD is now accessible through scripts.

    shipproblems hud script access
  • Factory station extensions now add production blocks.

    factory station extension production block
  • Components can be constructed with a string similar to Entity, or with their Entity.

    component construction from string or entity
  • A ValueComboBox class that can save key-value pairs was added.

    valuecombobox class
  • Documentation was added for predefined scripts and their available functions.

    predefined script documentation
  • Properties were added to access the ships and stations of a player or alliance.

    player and alliance ship and station property
  • Cargo shuttles can be bought at equipment docks.

    cargo shuttle purchase at equipment dock
  • A StartError enum was added.

    starterror enum
  • Custom cargo shuttles can be built at a fighter factory.

    custom cargo shuttle construction
  • Assembly, BlackBox and Gyro BlockType enum values were added.

    assembly, blackbox and gyro blocktype enum value
  • Lost fighters without motherships can be collected by other ships of the same faction.

    lost fighter collection
  • Extensive updates to the script API and its documentation are included for the modding community.

    script api and documentation update
  • Resource Depots request delivery of a specific resource as an event.

    resource depot delivery event
  • A reference to the DockingPositions component was added.

    dockingpositions component reference
  • The military outpost now has a welcome text.

    military outpost welcome text
  • A BlockStatistics class was added.

    blockstatistics class
  • Factories can be configured to send out cargo shuttles to sell or buy goods from other stations.

    factory cargo shuttle dispatch
  • A Hangar():clear() function was added.

    hangar clear function

Economy · 10

  • Fulfilling delivery missions now improves relations.

    delivery mission relation reward
  • Cheaper prices for player-owned stations are not yet shown to owners, though owners already receive them.

    player-owned station price display
  • Trading routes are detected when both stations sell or buy for 0 credits.

    trading route detection
  • Crew payment is now one third of what it used to be, matching the shown pay.

    crew payment amount
  • Station owners receive a percentage of money transactions at most stations, as well as cheaper prices.

    station owner transaction share and price
  • Stations require less repair crew.

    station repair crew requirement
  • Station upkeep costs are cheaper.

    station upkeep cost
  • Factory production time is influenced by the value of the production and the production capacity.

    factory production time
  • Station crew payment is reduced by 75%.

    station crew payment
  • AI Traders do not yet respect the price ratio of custom factories.

    ai trader price ratio for custom factory

Controls · 2

  • Relations to players cannot yet be lowered through a menu.

    player relation lowering via menu
  • Scripts can be refreshed with F5, Ctrl-F5 and Shift-F5.

    script refresh shortcut

System · 22

  • Accuracy of fighter-to-station distance calculation was improved.

    fighter-to-station distance calculation accuracy
  • updateParallelRead() is executed before updateParallelSelf().

    parallel update execution order
  • Matrix supports in-place transformation of vectors, reducing allocations and improving performance.

    matrix in-place vector transformation
  • server.ini values restrict the maximum number of player ships and stations.

    server.ini maximum player ships and stations count
  • A devMode setting was added to server.ini.

    server devmode setting
  • When a player-owned non-player-controlled entity jumps into a non-loaded sector, the sector is loaded from disk or generated.

    sector loading for jumping player-owned entity
  • New MessageBoxes that work on Linux were added.

    message box support on linux
  • Mouse and window handling was improved for computers with UI scaling enabled.

    mouse and window handling with ui scaling
  • Hangar landing areas must stick out of the ship or station bounding box for fighters to land.

    hangar landing area bounding box
  • Compatibility for older GPUs was improved.

    older gpu compatibility
  • Network and client performance when removing multiple blocks was improved.

    network and client performance when removing block
  • AI trading ships are pulled toward or pushed away from docks with a tractor beam.

    ai trading ship docking behaviour
  • Full-screen resolutions were improved for computers with multiple, varying size displays.

    multi-display full-screen resolution
  • A server.ini value restricts the maximum number of blocks for player crafts.

    server.ini maximum blocks for player craft
  • server.ini values restrict the maximum volume for player ships and stations.

    server.ini maximum volume for player ships and station
  • AI trading ships avoid occupied docks.

    ai trading ship dock avoidance
  • There is no client filesystem scripting API yet.

    client filesystem scripting api
  • Stations are more secure.

    station security
  • Several ReadOnlyXXX classes were added for the parallel scripting interface.

    readonly classes for parallel scripting
  • An updateParallelRead() Entity function was added that updates in parallel and grants read-only access to all entities.

    updateparallelread entity function
  • An updateParallelSelf() Entity function was added that updates in parallel with access limited to the own entity and ReadOnlySector().

    updateparallelself entity function
  • A check for crashes at startup was added.

    startup crash check

UI · 20

  • The chat window was reworked.

    chat window
  • Visibility of the trash icon was improved.

    trash icon visibility
  • Many new loading screen tips were added, including sci-fi and science trivia.

    loading screen tip
  • A warning appears when a new key binding is already bound to another key.

    key binding conflict warning
  • Names of stations in delivery missions were improved.

    station names in delivery mission
  • A new squad is automatically created when transferring fighters if there is no free slot.

    fighter transfer squad creation
  • A description of relations to the sector-controlling faction was added to the galaxy map tooltip.

    galaxy map relation tooltip
  • Fighters unable to land show an error message at the top of the screen.

    fighter landing failure message
  • The player's own name was removed from the dropdown when writing an email.

    email recipient dropdown
  • Filters for different channels were added.

    chat channel filter
  • Energy usage of energy weapons is visible even when they are not firing.

    energy weapon energy usage display
  • A few outdated hints were removed.

    outdated hint
  • An icon shows when bulletin boards have missions.

    bulletin board mission icon
  • Items marked as trash are now at the end of inventory lists.

    trash item sorting in inventory
  • Ambient economy relation changes occurring in another sector are no longer shown as notifications.

    ambient relation change notification
  • A free slot in a non-adjacent squad is used first when transferring fighters.

    fighter transfer slot selection
  • Ambient economy payments occurring in another sector are no longer shown as notifications.

    ambient payment notification
  • A hint for rearranging energy system priorities was added.

    energy system priority hint
  • A scroll bar was added for the last few hundred messages.

    chat scroll bar
  • Tooltips were added to mission exclamation marks on the galaxy map.

    galaxy map mission marker tooltip

Fix · 22

  • The /run command now works with normal statements.

    /run command with normal statement
  • The quickmenu tooltip showed the wrong keyboard shortcut for mail; this was fixed.

    quickmenu mail shortcut tooltip
  • Shield damage updates caused lots of network traffic; this was fixed.

    shield damage update network traffic
  • Fighters could not land when no player was in the sector; this was fixed.

    fighter landing with no player in sector
  • Sliders in the crew board UI showed non-integer numbers; this was fixed.

    crew board slider non-integer value
  • GL error printing was improved.

    gl error printing
  • Craft stats showed number of members instead of workforce; this was fixed.

    craft stats workforce display
  • Many GL, graphics and display issues were fixed.

    gl graphics and display issue
  • Alliance notifications were not recognized as already present, causing spam; this was fixed.

    alliance notification spam
  • The mail window created unnecessary network traffic; this was fixed.

    mail window network traffic
  • An exploit in the turret factory was fixed.

    turret factory exploit
  • An issue where it was not possible to fully repair ships was fixed.

    full ship repair
  • Repair beams were not penetrating shields; this was fixed.

    repair beams penetrating shield
  • Almost broken shields dampened hits when multiple shots hit in the same frame; this was fixed.

    near-broken shield dampening on same-frame hit
  • Wreckage pieces that are part of a wreckage sector were cleaned up incorrectly; this was fixed.

    wreckage cleanup in wreckage sector
  • Some freighters had no engines; this was fixed.

    freighters missing engine
  • Insurance mails were sent for 0 credits; this was fixed.

    insurance mail zero credit amount
  • Alliance ships could not be controlled by anti-smuggling patrols; this was fixed.

    alliance ship control by anti-smuggling patrol
  • The object detector now detects Exodus mission beacons.

    object detector exodus beacon detection
  • Default components missing from entities created via Sector():createObject() were fixed.

    missing default components on sector createobject entity
  • Fighters slowed down a lot when returning to the mothership; this was fixed.

    fighter slowdown returning to mothership
  • Wrong documentation in several callbacks was fixed.

    wrong callback documentation

Also in this patch2

  • The payMoney() and receiveMoney() functions were removed; pay() and receive() replace them.

    paymoney and receivemoney removal
  • The economy update is almost ready and available on the beta branch, reworking factories, stations and economy-related things.

    general