Page 1 of 1

[Question]EASIEST WAY to add new weapons and ships?

Posted: Sat Jan 17, 2015 3:48 pm
by redstonetorches
If any seasoned modders know the easiest way to add a new ship in a ship editor and then add custom weapons onto that ship, please reply here! I thought one easy way would be to add the weapons into the game first, then a ship editor like superluminal will add those new weapons as options? Correct me if I'm wrong!

Re: [Question]EASIEST WAY to add new weapons and ships?

Posted: Mon Jan 19, 2015 5:36 am
by Noobjuice
You’re correct sir, making the weapons first is generally the best way to do it. 8-)

You can include weapons from other mods in Superluminal by going [file-> mod database]. But I'm pretty sure those weapons won't be integrated into your ship mod, so you'll need to load the weapons mod and the ship mod for it to work properly.

Alternatively, you could try this:
  1. Make your ship in Superluminal and export it as .ftl (use vanilla weapons as placeholders for your custom weapons). Change the mod's filename from .ftl to .zip and unzip it.
  2. Copy all the files from your weapons mod into the unzipped ship mod. If there are two .xml files with the same name, open both and copy the content from the weapon's .xml file into the ship's file.
  3. In your ship mod's data folder, open [blueprints.xml] (or [dlcBlueprints]/[dlcBlueprintsOverwrite] if your ship replaces a Lanius/TypeC ship).
  4. Search for “weaponList”, underneath that will be a few lines that say <weapon name=“(placeholder weapon)”>. Just replace the placeholder weapons with your custom weapon's BlueprintName.
  5. Re-zip and change the filename back to .ftl and you're mod is good to go. :)