Brigador: Up-Armored Edition

Brigador: Up-Armored Edition

View Stats:
Tengiz Jun 24, 2021 @ 4:55pm
Oxybeles primary weapon slot
Wouldnt it be more fitting for a mech that is made for breaching defenses to be equiped with heavy weapon instead of main weapon? Is it possible for me to mod it to heavy weapon?
< >
Showing 1-10 of 10 comments
Boss Tweed  [developer] Jun 24, 2021 @ 5:12pm 
The short answer is yes to both--you can pretty trivially change the mount (someone from the modding channel in the discord should explain shortly) and the AI variant equips a heavy mount barrel, but because of how the mount size combinations shook out for each faction i ended up giving it a main/aux mount pairing. In the canon configuration it would have a heavy mount Jericho and then probably a supplementary turret or small mount.
@Boss Tweed First of all, I love this game, it's fantastic and I can't wait for the sequel! Second, I'm happy to read that this game supports modding, I wasn't aware of that previously. I'm a programmer and experienced modder, so I can't wait to see how I can modify parts of Brigador: Up-Armored Edition's code, and or configuration parameter files, depending on which assets and files are user-accessible and not encrypted as binaries. Thanks for the amazing game and keep up the great work! :)
the huanglong Jun 24, 2021 @ 6:21pm 
Originally posted by Tengiz:
Is it possible for me to mod it to heavy weapon?

Sure, this can even be done in game!
Modifying the Oxybeles to have a heavy mount as primary requires a minimum of two steps, editing the sprite file that contains and defines the available mounts, and editing the chassis file (also called an upper) which refers to the sprite resource and converts mounts to primary / secondary / horn / ai weapon sockets. Because the sprite resource is shared between the AI oxybeles and the player oxybeles, you will have to update the AI oxybeles as well to avoid glitches. But don't worry, it's fairly simple once you are familiar with the developer console.

The best practice would be to copy all the relevant files and modify a duplicate. It's best to learn this from one of the modding guides or joining the friendly modders on discord. If you aren't shy about modifying the stock assets (at your own peril) this method should work.

Back up your copy of Brigador (copy pasting the directory in a safe place is enough)

Open game

Press F1 (developer console)
Expand the window so that you can read it.

Click the pack file tab

Search: spacer_mech_06

Select the following (will highlight green):
assets/units/spacers/mechs/spc_mech_06_up.json
assets/data/uppers/player/spc_mech_06_up.json
assets/data/uppers/spacers/spc_mech_06_up.json
assets/data/units/spacers/spc_mech_06.json

Now navigate to the data editor tab.

Select in the left menu:
assets/units/spacers/mechs/spc_mech_06_up.json
in the right menu navigate to mount names and expand the list.
Change main0 to heavy0

Save changes (top of the right menu)

Select in the left menu,
assets/data/uppers/player/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Select in the left menu,
assets/data/uppers/spacers/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Now to fix the flow on changes to the NPC oxybeles.
Select in the left menu:
assets/data/units/spacers/spc_mech_06.json
in the right menu, navigate to guns, there should be one gun attached to the no longer existant main0 socket. Change to heavy0.

Save changes

That should do the trick. If something bad happens, simply verify the integrity of your game files to undo the damage.
Last edited by the huanglong; Jun 24, 2021 @ 6:49pm
Tengiz Jun 24, 2021 @ 9:06pm 
Thank you for the answers. Is it possible for me to tinker further with models, like move mount positions, add autofiring weapons or enable AI only weapons such as heavy jericho?
Boss Tweed  [developer] Jun 25, 2021 @ 6:15am 
Most models have redundant / alternate mount positions you can use but you'd need to re-render the asset in order to give it completely new mount positions. Otherwise yes you could pretty trivially do everything else you're asking about. The folks in the modding channel at the Brigador discord can walk you through everything if you're interested: https://discord.gg/AgDjaTF8Hj
the huanglong Jun 25, 2021 @ 9:19am 
Originally posted by Tengiz:
Thank you for the answers. Is it possible for me to tinker further with models, like move mount positions, add autofiring weapons or enable AI only weapons such as heavy jericho?

It absolutely is possible, but some tasks are trivial and some are quite difficult. Adding a new mount location is very hard, but swapping one turret for another or adding an autofire weapon to an unused mount is very easy.

You can check this thread
https://steamcommunity.com/app/274500/discussions/0/3049482036392457251/
for an example of a simple weapon class swap that uses redundant /alternate mount positions. You can have some fun looking through the sprite resources in the F1 tool to see what unused mounts are available for your own mods!.
Last edited by the huanglong; Jun 25, 2021 @ 9:35am
Huge-O Jul 2, 2021 @ 8:16am 
Originally posted by the huanglong:
Originally posted by Tengiz:
Is it possible for me to mod it to heavy weapon?

Sure, this can even be done in game!
Modifying the Oxybeles to have a heavy mount as primary requires a minimum of two steps, editing the sprite file that contains and defines the available mounts, and editing the chassis file (also called an upper) which refers to the sprite resource and converts mounts to primary / secondary / horn / ai weapon sockets. Because the sprite resource is shared between the AI oxybeles and the player oxybeles, you will have to update the AI oxybeles as well to avoid glitches. But don't worry, it's fairly simple once you are familiar with the developer console.

The best practice would be to copy all the relevant files and modify a duplicate. It's best to learn this from one of the modding guides or joining the friendly modders on discord. If you aren't shy about modifying the stock assets (at your own peril) this method should work.

Back up your copy of Brigador (copy pasting the directory in a safe place is enough)

Open game

Press F1 (developer console)
Expand the window so that you can read it.

Click the pack file tab

Search: spacer_mech_06

Select the following (will highlight green):
assets/units/spacers/mechs/spc_mech_06_up.json
assets/data/uppers/player/spc_mech_06_up.json
assets/data/uppers/spacers/spc_mech_06_up.json
assets/data/units/spacers/spc_mech_06.json

Now navigate to the data editor tab.

Select in the left menu:
assets/units/spacers/mechs/spc_mech_06_up.json
in the right menu navigate to mount names and expand the list.
Change main0 to heavy0

Save changes (top of the right menu)

Select in the left menu,
assets/data/uppers/player/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Select in the left menu,
assets/data/uppers/spacers/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Now to fix the flow on changes to the NPC oxybeles.
Select in the left menu:
assets/data/units/spacers/spc_mech_06.json
in the right menu, navigate to guns, there should be one gun attached to the no longer existant main0 socket. Change to heavy0.

Save changes

That should do the trick. If something bad happens, simply verify the integrity of your game files to undo the damage.
any idea why I'm not getting the heavy0 option for the npc weapon mount? it gives me everything else but not the heavy
the huanglong Jul 4, 2021 @ 5:45am 
Originally posted by huge-o:
Originally posted by the huanglong:

Sure, this can even be done in game!
Modifying the Oxybeles to have a heavy mount as primary requires a minimum of two steps, editing the sprite file that contains and defines the available mounts, and editing the chassis file (also called an upper) which refers to the sprite resource and converts mounts to primary / secondary / horn / ai weapon sockets. Because the sprite resource is shared between the AI oxybeles and the player oxybeles, you will have to update the AI oxybeles as well to avoid glitches. But don't worry, it's fairly simple once you are familiar with the developer console.

The best practice would be to copy all the relevant files and modify a duplicate. It's best to learn this from one of the modding guides or joining the friendly modders on discord. If you aren't shy about modifying the stock assets (at your own peril) this method should work.

Back up your copy of Brigador (copy pasting the directory in a safe place is enough)

Open game

Press F1 (developer console)
Expand the window so that you can read it.

Click the pack file tab

Search: spacer_mech_06

Select the following (will highlight green):
assets/units/spacers/mechs/spc_mech_06_up.json
assets/data/uppers/player/spc_mech_06_up.json
assets/data/uppers/spacers/spc_mech_06_up.json
assets/data/units/spacers/spc_mech_06.json

Now navigate to the data editor tab.

Select in the left menu:
assets/units/spacers/mechs/spc_mech_06_up.json
in the right menu navigate to mount names and expand the list.
Change main0 to heavy0

Save changes (top of the right menu)

Select in the left menu,
assets/data/uppers/player/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Select in the left menu,
assets/data/uppers/spacers/spc_mech_06_up.json
in the right menu, and navigate to mounts, and expand the list.
Find the the socket called main0 and rename to heavy0.

Save changes

Now to fix the flow on changes to the NPC oxybeles.
Select in the left menu:
assets/data/units/spacers/spc_mech_06.json
in the right menu, navigate to guns, there should be one gun attached to the no longer existant main0 socket. Change to heavy0.

Save changes

That should do the trick. If something bad happens, simply verify the integrity of your game files to undo the damage.
any idea why I'm not getting the heavy0 option for the npc weapon mount? it gives me everything else but not the heavy

Is main0 still there? My first thought would be to double check the upper of the NPC oxybeles,
assets/data/uppers/spacers/spc_mech_06_up.json, and making sure it has a socket called heavy0. Only the sprite is shared between player and NPC versions, both NPC and Player uppers and both unit files have to be manually edited.
Huge-O Jul 4, 2021 @ 7:43am 
Originally posted by the huanglong:
Originally posted by huge-o:
any idea why I'm not getting the heavy0 option for the npc weapon mount? it gives me everything else but not the heavy

Is main0 still there? My first thought would be to double check the upper of the NPC oxybeles,
assets/data/uppers/spacers/spc_mech_06_up.json, and making sure it has a socket called heavy0. Only the sprite is shared between player and NPC versions, both NPC and Player uppers and both unit files have to be manually edited.
yeah main0 is still there. I'll check it out, thanks for the response
the huanglong Jul 4, 2021 @ 8:29am 
For anyone who's interested, I also made a playable Oxybeles for Freelance that doesn't let you choose a primary but once you start the mission, the primary is occupied by the heavy burst vortex cannon the NPC Oxybeles (and prism use). It's a bit harder to make in F1 than can easily be explained here, but it's easy to reverse-engineer once you see it. Hit me up on the discord server if you're keen. https://discord.gg/AgDjaTF8Hj
< >
Showing 1-10 of 10 comments
Per page: 1530 50