Edit Mods?

Discuss and distribute tools and methods for modding. Moderator - Grognak
Chopper
Posts: 9
Joined: Mon Apr 30, 2018 5:57 pm

Edit Mods?

Postby Chopper » Wed Apr 29, 2020 7:12 am

Im new to modding ftl. I try to edit something, save it, patch it. I load up the game and the mod like shuts off? Im editing the Battleship Arsenal.ftl mod

Here is what i am editing. All i did was add 17 max power. Is there a limit or something? I edit other mods and it still crashes. Ex: Like editing anti-personal drone power from 3 to 1.

<systemBlueprint name="drones">
<type>drones</type>
<title>Drone Control</title>
<desc>Powers all of the ship's drones. Drones are automated robots that perform tasks like attacking enemy ships or repairing systems.</desc>
<startPower>2</startPower>
<maxPower>17</maxPower>
<rarity>1</rarity>
<upgradeCost>
<level>100</level> <!-- level 2 -->
<level>20</level> <!-- level 3 -->
<level>30</level> <!-- level 4 -->
<level>45</level> <!-- level 5 -->
<level>60</level> <!-- level 6 -->
<level>80</level> <!-- level 7 -->
<level>100</level> <!-- level 8 -->
<level>120</level> <!-- level 9 -->
<level>140</level> <!-- level 10 -->
<level>160</level> <!-- level 11 -->
<level>180</level> <!-- level 12 -->
<level>200</level> <!-- level 13 -->
<level>220</level> <!-- level 14 -->
<level>240</level> <!-- level 15 -->
<level>260</level> <!-- level 16 -->
<level>280</level> <!-- level 17 -->
</upgradeCost>
<cost>60</cost>
</systemBlueprint>

Here is the file

https://drive.google.com/file/d/1zRumyP ... sp=sharing
User avatar
Jumbocarrot0
Posts: 422
Joined: Sat Oct 21, 2017 1:18 am

Re: Edit Mods?

Postby Jumbocarrot0 » Wed Apr 29, 2020 8:39 am

The biggest problem I noticed is your file structure

You don't need the Battleship Arsenal folder in the .ftl file, the audio, data and img folders should be the top level folders.
Image
Chopper
Posts: 9
Joined: Mon Apr 30, 2018 5:57 pm

Re: Edit Mods?

Postby Chopper » Wed Apr 29, 2020 10:45 am

Jumbocarrot0 wrote:The biggest problem I noticed is your file structure

You don't need the Battleship Arsenal folder in the .ftl file, the audio, data and img folders should be the top level folders.


Thank you sooo much! I thought countless time they were top level folders. But apparently not. It works perfectly! Maybe a little cheaty though. LOL