[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,114
    Likes Received:
    742
    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,114
    Likes Received:
    742
    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:
    1
    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,114
    Likes Received:
    742
    #446
    Clanfear likes this.
  7. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,114
    Likes Received:
    742
    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
  8. Franky 2

    Franky 2 Ensign

    Joined:
    Jan 29, 2025
    Messages:
    1
    Likes Received:
    0
    Anyone has done a Shop script with containers to Sell items from palyer to player?
     
    #448
  9. gregoryross85

    gregoryross85 Ensign

    Joined:
    Aug 2, 2017
    Messages:
    2
    Likes Received:
    0
    @ASTIC can you explain how we change salaries for deconstruct and Recycle. The config only seems to include salaries for Garden we have tried adding to the config.json and cannot get it to take. Any help would be appreciated thank you
     
    #449
  10. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,114
    Likes Received:
    742
    [​IMG]
     
    #450
  11. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    25
    Likes Received:
    0
    Hello, can it be set up so that when a building is dismantled, only the player who created the building has the authority to demolish it?
     
    #451
  12. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,114
    Likes Received:
    742
    Unfortunately, such an option is not built in
     
    #452
  13. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    25
    Likes Received:
    0
    Is there any way to achieve this?
     
    #453
  14. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,114
    Likes Received:
    742
    Unfortunately not at the moment
     
    #454

Share This Page