Jump to content

Rusketh

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Rusketh

  1. So I wanted to build the biggest ever fleet in creative.

    I soon found out that creating and setting up that many ships was a daunting task.

    Until 3 days ago when I discovered the game uses my second favourite language LUA.

     

    This is a work in Progress - It still has a lot of bugs (probably).

     

     

    Introducing The Ship Duplicator.

    This mod adds a new command to the game that allows for the duplication of ships along with its:

    • System Upgrades
    • Weapons
    • Torpedo's
    • Fighters
    • Cargo
    • Crew

    Multiple duplicates can be created with a single command and each duplicate will be placed next to the other.

    Commands

    Quote

    Argument Types


    bool
    Possible Values:

    • true - yes
    • false - no

    craft
    Possible Values:

    • craft - Selects the ship you are currently in.
    • selected - Selects the entity you are currently targeting.
    • string - The name of any ship in the sector.

    direction

    Possible Values:

    • forward
    • right
    • backwards
    • left
    • up
    • down

    list

    Some commands support lists for arguments and flags. Lists are comma separated (,) each item on the list must be affixed with a comma then a space.

    E.G: Ship001, Ship002, Ship003

    /duplicate

    Description: Creates a duplicate of a ship.
    Usage: '/duplicate [...names(,)] [...flag value]'
    Flags:

    •         bool = scripts - If set to true, duplication will include the entity's scripts (Only use if you know what your doing), false by default.
    •         bool = crew - If set to true, duplication will include the ship crew, false by default.
    •         bool = upgrades - If set to true, duplication will include the ships installed upgrades, false by default.
    •         bool = turrets - If set to true, duplication will include the ships installed weapons, false by default.
    •         bool = torpedoes - If set to true, duplication will include the ships torpedo shaft contents, false by default.
    •         bool = fighters - If set to true, duplication will include the ships fighter squads and hangar bay contents, false by default.
    •         bool = cargo - If set to true, duplication will include the ships cargo hangar content, false by default.
    •         bool = icon - If set to true, duplication will include the ships chosen icon, false by default.
    •         bool = title - If set to true, duplication will include the ships class name, false by default.
    •         bool = exact - if set to true the ship will be duplicated exactly with turrets, crew, systems etc, false by default.
    •         number = offset - The amount of additional space between the duplicated ships, when placed.
    •         bool = alliance - If set to true, the duplicates will be owned by the players alliance.
    •         direction = direction - The direction in witch to line up the duplicated ships, false by default.
    •         craft = target - The ship or entity to duplicate, the players current target or the players current ship by default.

    /replicate

    Description: Copies your ship load out to another ship.
    Usage: Usage: '/replicate [...flag value]'
    Flags:

    •         bool = scripts - If set to true, replication will include the entity's scripts (Only use if you know what your doing), false by default.
    •         bool = plan - If set to true, replication will include the ship design itself, false by default.
    •         bool = crew - If set to true, replication will include the ship crew, false by default.
    •         bool = upgrades - If set to true, replication will include the ships installed upgrades, false by default.
    •         bool = turrets - If set to true, replication will include the ships installed weapons, false by default.
    •         bool = torpedoes - If set to true, replication will include the ships torpedo shaft contents, false by default.
    •         bool = fighters - If set to true, replication will include the ships fighter squads and hangar bay contents, false by default.
    •         bool = cargo - If set to true, replication will include the ships cargo hangar content, false by default.
    •         bool = icon - If set to true, replication will include the ships chosen icon, false by default.
    •         bool = title - If set to true, replication will include the ships class name, false by default.
    •         bool = exact - if set to true the ship will be duplicated exactly with turrets, crew, systems etc, false by default.
    •         bool = clear - if set to true the ship will be cleared before the duplication, false by default.
    •         craft = from - The craft to replicate from, the players current ship by default.
    •         list<Craft> = to - The a list of ships to replace, the players current target by default.

    /generalize

    Description: Performs a generalization of a ship.
    Usage: '/generalize [...targets(,)] [...flag value]
    Flags:

    •         bool = crew - If set to true, generalization will include the ship crew, true by default.
    •         bool = upgrades - If set to true, generalization will include the ships installed upgrades, true by default.
    •         bool = turrets - If set to true, generalization will include the ships installed weapons, true by default.
    •         bool = torpedoes - If set to true, generalization will include the ships torpedo shaft contents, false by default.
    •         bool = fighters - If set to true, generalization will include the ships fighter squads and hangar bay contents.", true);
    •         bool = cargo - If set to true, generalization will include the ships cargo hangar content, false by default.
    •         bool = icon - If set to true, generalization will include the ships chosen icon, false by default.
    •         bool = title - If set to true, generalization will include the ships class name, false by default.

     

    Examples

    /duplicate "EG 001" upgrades true turrets true

    Spawns a single duplicate of your current ship with System Upgrades & Turrets.

    Notice: Arguments wrapped in quotations (" ") can contain spaces.

    /duplicate "EG 001", EG002

    Spawns two blank duplicates of your ship.

    /duplicate "EG 002" direction up

    Spawns a duplicate of your ship above your current ship.

     

    Download / Install Mod

     

    Work In Progress

    This mod has been thrown together in a few days with no prior understanding of how the game works.

    This mod is still under development & whilst I have tested most of its features I an not yet comfortable to call it stable.

    Please report bugs on GitHub thank you.

     

    Author

    Myself - Rusketh aka MarcusWithSpots

     

     

     

     

     

     

     

     

×
×
  • Create New...