Space Engineers

Space Engineers

Tiered Tech Weapons (WIP)
Temporary Work Around for the Bugs created by the Warfare 1 DLC (Weapon DLC)
I have managed a temporary work around that allows rifles to function normally again and adds the ammo back to interior turrets. The process is a little technical as it involves editing the mod files, but it can be easily done with a text editor. My recommendation for an editor is Notepad++ because of its highlighting. I also recommend making a backup of the file so that you have a copy of the original in case you mess it up.




First you will need to find the file to modify. The file is Weapons.sbc and is located in your steam library directory. Here is the path to follow.

"...\SteamLibrary\steamapps\workshop\content\244850\2185103484\Data\Weapons.sbc"

Once located, open the file with your text editor. To fix the rifles, you need to comment out the first four(4) <Weapon> blocks. This is done by adding "<!--" without quotes to the start of the block and adding "-->" without quotes to the end of the block.

So find the first <Weapon> and make it look like this <!--<Weapon>.

IMPORTANT: Weapon not Weapons with an S at the end.

Then you want to find the end of the block. So find the next line that starts with </Weapon> and make it look like this </Weapon>-->

So your section should look similar to this.

<!--<Weapon> ... ... Lots of text in between ... ... </Weapon>-->

(This is called a block of code)

If you use Notepad++ the whole section will turn green to show you that it is commented out correctly. Repeat this process with the first four(4) <Weapon>...</Weapon> blocks. These are your rifles and doing this will make the mod skip them so that you can use the vanilla ones until Sadragos can update the mod to make use of the new ammo types.




Then we are going to fix the interior turrets. Scroll down until you find the line that says <!--Interior Turrets-->. The next four(4) <Weapon>...</Weapon> blocks are your interior turrets. For each block, find the section that looks like this.

<AmmoMagazines> <AmmoMagazine Subtype="NATO_5p56x45mm"/> </AmmoMagazines>

And add in this line <AmmoMagazine Subtype="RapidFireAutomaticRifleGun_Mag_50rd"/> above or below the NATO line so that it looks like this.

<AmmoMagazines> <AmmoMagazine Subtype="RapidFireAutomaticRifleGun_Mag_50rd"/> <AmmoMagazine Subtype="NATO_5p56x45mm"/> </AmmoMagazines>

Do that for all four(4) <Weapon>...</Weapon> blocks after <!--Interior Turrets-->. That will add the 50 round rifle magazines to the interior turrets so that they use ammo that you can actually produce. ;)

Do NOT edit any other parts of the file.

Once you are done make sure to SAVE the file. Then load up Space Engineers and add this mod to your world like normal. If for some reason you get an error about this mod when you load your world, relax. It is probably just a small typo somewhere. You can either hunt it down (if you are familiar with code) or you can start from scratch by restoring the backup file (you did make one right?). Remember, worst case scenario, all that you have to do is un-subscribe , wait a few minutes, and re-subscribe to re-download the file.




Congratulations! You can now use this really awesome mod add-on with fully functional rifles and interior turrets. :)
Last edited by TigersFangs; 2 Dec, 2021 @ 3:04pm
< >
Showing 1-1 of 1 comments
Seamus Donohue 5 Sep, 2022 @ 12:03pm 
If you are using Notepad++ for this process, then (for any given rifle type) you can click-and-drag from the start of <Weapon> to the end of </Weapon> to select the entire block of XML code, then right-click the selection (to get a pop-up menu) and click on "Block Comment".
< >
Showing 1-1 of 1 comments
Per page: 1530 50