21185 Posts in 3575 Topics - by 7368 Members - Latest Member: NeoAva

Author Topic: Beta Branch Patchnotes 0.12.7  (Read 859 times)

koonschi

  • Developer
  • Hero Member
  • *
  • Posts: 1383
    • View Profile
    • Avorion
Beta Branch Patchnotes 0.12.7
« on: July 17, 2017, 12:22:36 AM »
Patch 0.12.7

Date: July 16th, 2017

We've added some performance improvements to battles that take place near the galaxy core - We've identified a major performance issue and resolved it.

Technical Background for those interested:
In faction battles there would ships spawning with 50 to 100 turrets, leading to thousands of turrets (~1300 for a single battle near the barrier) to be spawned.
Turrets have to be updated a lot and they require careful and thus intense calculations.
These calculations include ray-intersection with the ship they're on as well as turning (meaning sine and cosine calculations which are expensive).
We were faced with the fact that these calculations simply couldn't be optimized any further, and we thus had to reduce the amounts of turrets on normal AI ships to 10 - 15.
In turn we added a multiplier for damage dealt, so that the ships will still gain more strength, even if their turret amounts no longer grow towards the center of the galaxy.

Performance
  • Fixed a major performance issue for armed ships near the barrier and the center of the galaxy
    • Large AI ships in the center of the galaxy no longer spawn with 50+ turrets
    • These ships now have less turrets but the turrets deal more damage so the lesser turrets are compensated
Scripting API
  • Added a property to Entity that allows setting a damage multiplier for that specific entity
« Last Edit: July 17, 2017, 12:36:12 PM by koonschi »
#define TRUE FALSE // happy debugging suckers

If you need help, please post in the forum, don't PM me. If there's something that only I can help you with, contact me via mail.

koonschi

  • Developer
  • Hero Member
  • *
  • Posts: 1383
    • View Profile
    • Avorion
Re: Beta Branch Patchnotes 0.12.7
« Reply #1 on: July 17, 2017, 12:22:46 AM »
Note: Patch is not live yet. It's live.
« Last Edit: July 17, 2017, 12:36:01 PM by koonschi »
#define TRUE FALSE // happy debugging suckers

If you need help, please post in the forum, don't PM me. If there's something that only I can help you with, contact me via mail.

Hammelpilaw

  • Full Member
  • ***
  • Posts: 200
    • View Profile
    • Scrap Yard - Factory calculator
Re: Beta Branch Patchnotes 0.12.7
« Reply #2 on: July 17, 2017, 11:58:09 AM »
Its live. Great thing, thanks. The new property is also very good for scripting.