[mod] Empyrion Scripting Mod

Discussion in 'Empyrion API' started by ASTIC, May 25, 2019.

Tags:
  1. awgsknite

    awgsknite Ensign

    Joined:
    Oct 11, 2024
    Messages:
    3
    Likes Received:
    0
    I play on a modded server and would present the script to the admin there so how would I go about writing this savegamescript ? since you say it is forbidden or cheating to do such a thing could you send me a PM on how to make the script then ?
     
    #441
  2. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,085
    Likes Received:
    731
    In principle, it is a “normal” script in Handlebars (HBS) or C# which is stored as a file in the Savegame Scripts folder. As an example, you can take a look at Floorplan here https://github.com/GitHub-TC/EmpyrionScripting-Collection/tree/master/Scripts
     
    #442
  3. GlesCraft

    GlesCraft Ensign

    Joined:
    Sep 8, 2022
    Messages:
    1
    Likes Received:
    0
    Подскажите есть скрип на автодобычу руды чтобы не нажимать каждый раз клавишу вперёд или назад чтобы корабль парировал и автоматически добывал на маленькой скорости? У нас на Серваке скрипты работают сервер модовый
     
    #443
  4. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,085
    Likes Received:
    731
    Unfortunately no, the API for controlling the ships is too imprecise and cannot be controlled well
     
    #444
  5. Clanfear

    Clanfear Ensign

    Joined:
    Jul 6, 2018
    Messages:
    4
    Likes Received:
    0
    is there a place where i can read about using "format" in simple words and with examples, you know - all those {{~format . '{0,8:p2}'}} and {{~format Content '{0,7:0.0}'}} thingy
     
    #445
  6. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,085
    Likes Received:
    731
    #446
    Clanfear likes this.
  7. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,085
    Likes Received:
    731
    This block is (now) part of a "multiblock" and theres is no single "EMP Cruise Missile Launcher" block in the current RE2-24 maybe you have here an old block

    [​IMG]
     
    #447

Share This Page