Any way to get any gun in the Phantom Brigade!?!

Hello,

I saw the Phantom Brigade Mod Mega-Thread and was pondering to myself, “Is there a way to give your mech any weapon in the game?!” What I mean by this is there a way to go into the files and just change the gun your mech has. I specifically am trying to add to the new Minigun that BYG just added. Anybody who knows how to do this please let me know. That’s all.

Hey there @Nerf_Tech - I went and asked about the specifics of modding files to give yourself a minigun, here’s what our junior designer said:

The file path where the unit save data is stored is here:
C:\Users\UserName\Documents\my games\Phantom Brigade\Saves\SaveName\Units

Then open the txt file for the mech that you want to have the minigun and replace data under the following chunks of data with the code snippet attached.
parts:
equipment_right:

    preset: wpn_ultraheavy_minigun_v01_set01_r0
    livery: inv_army_city_b
    integrity: 1
    barrier: 1
    salvageable: false
    sockets:
    - equipment_right
    hardpoints:
    - internal_main_equipment
    - wpn_internal_projectile
    - wpn_vis_back
    - wpn_vis_bottom
    - wpn_vis_front
    - wpn_vis_top
    systems:
      internal_main_equipment:
        blueprint: wpn_main_ultraheavy_minigun_v01_set01
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false
      wpn_internal_projectile:
        blueprint: wpn_projectile_ballistic_mg
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false
      wpn_vis_back:
        blueprint: wpn_vis_heavy_minigun_back_01
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false
      wpn_vis_bottom:
        blueprint: wpn_vis_heavy_minigun_bottom_01
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false
      wpn_vis_front:
        blueprint: wpn_vis_heavy_minigun_front_01
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false
      wpn_vis_top:
        blueprint: wpn_vis_heavy_minigun_top_01
        livery: 
        level: 1
        destroyed: false
        fused: true
        salvageable: false

It should look something like this:


It is very important to maintain the spacing and formatting of everything, otherwise the edit will not work.

Hope this helped!

Additional information:

There will also be other groups of data in this order. Each group corresponds to a part as the names suggest.

parts:
  core:
  secondary:
  optional_left:
  optional_right:
  equipment_right:
  equipment_left:

Currently combat saves are not enabled by default but what the players can do is roughly match the data to what they see in combat.
That can be done by changing the level of subsystems on parts.

        level: 1

Or by adding subsystems to parts.

      internal_aux_top_core:
        blueprint: internal_aux_core_standard
        livery:
        level: 1
        destroyed: false
        fused: true
        salvageable: false

Do I need to do the additional information as well? Or will it work without it?

it should work without it!

Oh ok, thank you for your time. It’s been very helpful.