How to add ship system power levels

Discuss and distribute tools and methods for modding. Moderator - Grognak
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

How to add ship system power levels

Postby Hexlen » Thu May 18, 2017 11:11 am

i've been trying for hours to edit the xml jsut perfectly to get my weapon mac power to 16 but it jsut wont work please help
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: How to add ship system power levels

Postby meklozz » Thu May 18, 2017 2:35 pm

Modify <systemBlueprint name="weapons"> in blueprints.xml.
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

Re: How to add ship system power levels

Postby Hexlen » Sat May 20, 2017 1:34 am

meklozz wrote:Modify <systemBlueprint name="weapons"> in blueprints.xml.

The problem is the level buy system, im not sure how to get it to work correctly when I modify that
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: How to add ship system power levels

Postby meklozz » Sat May 20, 2017 1:59 pm

Hexlen wrote:
meklozz wrote:Modify <systemBlueprint name="weapons"> in blueprints.xml.

The problem is the level buy system, im not sure how to get it to work correctly when I modify that

I don't really understand what you mean.

This:

Code: Select all

<systemBlueprint name="weapons">
   <type>weapons</type>
   <title>Weapon Control</title>
   <desc>Powers all of the ship's weapons. Upgrading lets you power more weapons.</desc>
   <startPower>4</startPower>
   <rarity>1</rarity>
   <maxPower>12</maxPower>
   <upgradeCost>
      <level>40</level> <!-- level 2 -->  <!-- CHANGED was 60-->
      <level>25</level> <!-- level 3 -->
      <level>35</level> <!-- level 4 -->
      <level>50</level> <!-- level 5 -->
      <level>75</level> <!-- level 6 -->
      <level>90</level> <!-- level 7 -->
      <level>100</level> <!-- level 8 -->
      <level>100</level> <!-- Imaginary level 9 -->
      <level>100</level> <!-- level 10 -->
      <level>100</level> <!-- level 11 -->
      <level>100</level> <!-- level 12 -->
   </upgradeCost>
   <cost>20</cost>
</systemBlueprint>


Works just fine for me, just change maxpower and add levels with price.
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

Re: How to add ship system power levels

Postby Hexlen » Sat May 20, 2017 5:29 pm

meklozz wrote:
Hexlen wrote:
meklozz wrote:Modify <systemBlueprint name="weapons"> in blueprints.xml.

The problem is the level buy system, im not sure how to get it to work correctly when I modify that

I don't really understand what you mean.

This:

Code: Select all

<systemBlueprint name="weapons">
   <type>weapons</type>
   <title>Weapon Control</title>
   <desc>Powers all of the ship's weapons. Upgrading lets you power more weapons.</desc>
   <startPower>4</startPower>
   <rarity>1</rarity>
   <maxPower>12</maxPower>
   <upgradeCost>
      <level>40</level> <!-- level 2 -->  <!-- CHANGED was 60-->
      <level>25</level> <!-- level 3 -->
      <level>35</level> <!-- level 4 -->
      <level>50</level> <!-- level 5 -->
      <level>75</level> <!-- level 6 -->
      <level>90</level> <!-- level 7 -->
      <level>100</level> <!-- level 8 -->
      <level>100</level> <!-- Imaginary level 9 -->
      <level>100</level> <!-- level 10 -->
      <level>100</level> <!-- level 11 -->
      <level>100</level> <!-- level 12 -->
   </upgradeCost>
   <cost>20</cost>
</systemBlueprint>


Works just fine for me, just change maxpower and add levels with price.

Code: Select all

<systemBlueprint name="weapons">
   <type>weapons</type>
   <title>Weapon Control</title>
   <desc>Powers all of the ship's weapons. Upgrading lets you power more weapons.</desc>
   <startPower>4</startPower>
   <rarity>1</rarity>
   <maxPower>12</maxPower>
   <upgradeCost>
      <level>40</level> <!-- level 2 -->  <!-- CHANGED was 60-->
      <level>25</level> <!-- level 3 -->
      <level>35</level> <!-- level 4 -->
      <level>50</level> <!-- level 5 -->
      <level>75</level> <!-- level 6 -->
      <level>90</level> <!-- level 7 -->
      <level>100</level> <!-- level 8 -->
      <level>100</level> <!-- Imaginary level 9 -->
      <level>100</level> <!-- level 10 -->
      <level>100</level> <!-- level 11 -->
      <level>100</level> <!-- level 12 -->
      <level>100</level> <!-- level 13 -->
      <level>100</level> <!-- level 14 -->
      <level>100</level> <!-- level 15 -->
      <level>100</level> <!-- level 16 -->
   </upgradeCost>
   <cost>20</cost>
</systemBlueprint>

this is crashing on startup for me
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: How to add ship system power levels

Postby meklozz » Sat May 20, 2017 6:09 pm

Hexlen wrote:

Code: Select all

<systemBlueprint name="weapons">
   <type>weapons</type>
   <title>Weapon Control</title>
   <desc>Powers all of the ship's weapons. Upgrading lets you power more weapons.</desc>
   <startPower>4</startPower>
   <rarity>1</rarity>
   <maxPower>12</maxPower>
   <upgradeCost>
      <level>40</level> <!-- level 2 -->  <!-- CHANGED was 60-->
      <level>25</level> <!-- level 3 -->
      <level>35</level> <!-- level 4 -->
      <level>50</level> <!-- level 5 -->
      <level>75</level> <!-- level 6 -->
      <level>90</level> <!-- level 7 -->
      <level>100</level> <!-- level 8 -->
      <level>100</level> <!-- Imaginary level 9 -->
      <level>100</level> <!-- level 10 -->
      <level>100</level> <!-- level 11 -->
      <level>100</level> <!-- level 12 -->
      <level>100</level> <!-- level 13 -->
      <level>100</level> <!-- level 14 -->
      <level>100</level> <!-- level 15 -->
      <level>100</level> <!-- level 16 -->
   </upgradeCost>
   <cost>20</cost>
</systemBlueprint>

this is crashing on startup for me


Works fine for me (with 12 power available for purchase, as per <maxpower>). Are you sure your file structure is good (blueprints.xml.append inside a data folder inside the archive), and your FTL is bug free, nothing crashing otherwise? Sometimes you may need to delete an old save or something. The xml is as it should be.
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

Re: How to add ship system power levels

Postby Hexlen » Sat May 20, 2017 6:25 pm

meklozz wrote:
Hexlen wrote:

Code: Select all

<systemBlueprint name="weapons">
   <type>weapons</type>
   <title>Weapon Control</title>
   <desc>Powers all of the ship's weapons. Upgrading lets you power more weapons.</desc>
   <startPower>4</startPower>
   <rarity>1</rarity>
   <maxPower>12</maxPower>
   <upgradeCost>
      <level>40</level> <!-- level 2 -->  <!-- CHANGED was 60-->
      <level>25</level> <!-- level 3 -->
      <level>35</level> <!-- level 4 -->
      <level>50</level> <!-- level 5 -->
      <level>75</level> <!-- level 6 -->
      <level>90</level> <!-- level 7 -->
      <level>100</level> <!-- level 8 -->
      <level>100</level> <!-- Imaginary level 9 -->
      <level>100</level> <!-- level 10 -->
      <level>100</level> <!-- level 11 -->
      <level>100</level> <!-- level 12 -->
      <level>100</level> <!-- level 13 -->
      <level>100</level> <!-- level 14 -->
      <level>100</level> <!-- level 15 -->
      <level>100</level> <!-- level 16 -->
   </upgradeCost>
   <cost>20</cost>
</systemBlueprint>

this is crashing on startup for me


Works fine for me (with 12 power available for purchase, as per <maxpower>). Are you sure your file structure is good (blueprints.xml.append inside a data folder inside the archive), and your FTL is bug free, nothing crashing otherwise? Sometimes you may need to delete an old save or something. The xml is as it should be.

I don't see blueprints.xml.append only blueprints.xml
edit: spelling
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: How to add ship system power levels

Postby meklozz » Sat May 20, 2017 6:30 pm

Hexlen wrote:I don't see blueprints.xml.append only blueprints.xml
edit: spelling

It sounds like you are trying to add the blueprint file with only that bit of code - which erases a significant part of the original game files and crashes the game. Rename the file to blueprints.xml.append, or copy the whole content of the original (better use .append). That should help.
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

Re: How to add ship system power levels

Postby Hexlen » Sat May 20, 2017 7:00 pm

meklozz wrote:
Hexlen wrote:I don't see blueprints.xml.append only blueprints.xml
edit: spelling

It sounds like you are trying to add the blueprint file with only that bit of code - which erases a significant part of the original game files and crashes the game. Rename the file to blueprints.xml.append, or copy the whole content of the original (better use .append). That should help.

no im adding and replacing that section to the origianl blueprint file, im not stupid lol ;P
Hexlen
Posts: 6
Joined: Thu May 18, 2017 9:49 am

Re: How to add ship system power levels

Postby Hexlen » Sat May 20, 2017 7:07 pm

meklozz wrote:
Hexlen wrote:I don't see blueprints.xml.append only blueprints.xml
edit: spelling

It sounds like you are trying to add the blueprint file with only that bit of code - which erases a significant part of the original game files and crashes the game. Rename the file to blueprints.xml.append, or copy the whole content of the original (better use .append). That should help.

I figured it out, I forgot to change the maxpower to 16 when I had 16 level ups availible, aswell as I forgot to put a gap at the end of the code