AIvsDeathstar.png
    Progress: AI

    I've been working on an Artificial Intelligence structure for the past few days. The idea is to have an efficient method to automatically control big numbers of ships from the AI module on the server.
    I love making AI, because the feeling you get, when for the first time your own 'creation' comes after you is indescribable. StarMade now supports about 80+ individual AI-Entities on state-of-the-art computers without trouble.
    The first AI behavior I created is a simple 'Search-And-Destroy' algorithm:
    Search for a target -> get to the target -> eliminate target
    The algorithm also includes basic evading of other objects, so ships wouldn't get stuck on asteroids or other structures, and have overall a better cloud behavior.
    In the later stages, I added functions for the AI to attack structures of any size. Here is a picture of a Deathstar, which is getting attacked by about 50 AI ships


    Mod your own ship to fight against as an AI
    The nice thing is, that you can use any ship you created as an AI. Build some fast interceptors, heavy bombers, or tanks and test their fighting ability against yourself or other of your creations with AI.

    How to test the new AI
    At the moment I have implemented the structure and basics of the AI system, but there is no real integration in the game yet. Integration of this structure will become the focus on the new mode "Coop-Deathstar", which will be released in a few days.

    New Mode: Coop-Deathstar
    This new mode will feature the new AI system. You and your friends are given a certain amount of time and credits to build up your ship. If the time runs out, the next wave of enemies will attack your base. The shop will be a save haven, where enemies will not attack you. However, the shop will be far enough away from your base, so you...
    This version has a few critical fixes for Server and Client.

    Full changelog from Version 0.046 to 0.047

    • [GENERAL][BUG] Fixed bug that could cause the client as well as the server to crash

    • [GENERAL][BUG] Fixed bug, that messed up the indications and UI in a multiplayer game

    • [SHADER][BUG] Updated shader for graphics cards (Intel) that could not handle the modulo sign

    • [SHADER][BUG] Updated shader for graphics cards (Intel) that threw a compile error, when "Fragment shader reads from a tex coord index which the vertex shader does not write to."

    • [GRAPHICS][BUG] Fixed muzzle flash to only display, when something is actually fired.

    • [GRAPHICS][BUG] Fixed muzzle flash to be at the exact position of the weapon's output.
    This update introces the a ship catalog. Players can save their creations there and just buy them for the price of all elements used in that ship. The catalog can be access in the shop. To upload a ship to the catalog, you have to be inside a ship and near the shop; then a "save" button will appear in the shop-catalog panel.

    Full changelog from 0.045 to 0.046


    • [GENERAL][FEATURE] added admin command to save ships as blueprint in a catalog

    • [GENERAL][FEATURE] added admin command to list all saved ships in catalog

    • [GENERAL][FEATURE] added admin command to load and place a saved ship from the catalog in the game

    • [UI][FEATURE] added catalog sub-option in shop

    • [UI][FEATURE] added catalog UI to save to and buy from the ship catalog

    • [GENERAL][FEATURE] added functionality to buy whole ship at the shop (connections inclusive)
    Full changelog from 0.044 to 0.045

    • [UI][ENHANCEMENT] added icon graphics for terrain elements

    • [GRAPHICS][BUG] fixed glitch where the side of an element would not be updated and invisible

    • [GRAPHICS][BUG] lighting now updates more consistently

    • [GENERAL][FEATURE] the admin command "give" now works with String instead of the ID of the element (give by id is now "giveid")

    • [LAUNCHER][ENHANCEMENT] JVM is now started with an incremental garbage collector to remove lag due to garbage collections

    • [LAUNCHER][BUG] Fixed bug where updater would freeze on backup because to many files were open at once.

    • [UI][ENHANCEMENT] replaced texture: back side of weapon

    • [UI][ENHANCEMENT] added textures for all missile controllers

    • [UI][ENHANCEMENT] added textures for all missile back side