Mod Details

Burst M4

Burst M4 1.0.0

Created by  steak au povire

845 Downloads

SPT 3.9.8 Compatible

Small mod to an M4 variant that can single or burst fire

Latest Version 1.0.0
SPT 3.9.8

Updated Aug 12, 2024 at 1:23 AM

Version Notes
This download is externally hosted.
Always scan for viruses.

Small mod to add a new weapon to Mechanic LL1 that adds an M4 variant that can single fire or burst fire.

Comes with its own realism patch

To install place mod in main spt install directory. And to add the realism patch drag the folder titled SPT-Realism to the user/mods location

Thank you:

Moxo-Pixel for providing the code for mod.ts

Cj and AcidPhantasm for helping me with the trader assort.json

Version 1.0.0
Download Mod Version
SPT 3.9.8
Latest Compatible SPT Version

845 Downloads

Created Aug 12, 2024 at 1:23 AM

Updated Aug 12, 2024 at 1:23 AM

Virus Total Results
ChenNB

3.10 pls T_T

0 Likes
Clueless23

Shouldn’t there be a root folder for the mod contents? The google drive link provided shows the Realism compat but also a user/mods component, shouldn’t there be another folder in the format of user/mods/“mod-name here”? Currently the Databse, Src, and Package.json sit in the ‘mods’ directory.

I would attach a screenshot outlining my concern here but I have not figured out how (I guess there’s no simple image upload function?).

0 Likes

Oh thank you for letting me know, fixed it!

1 Like

There seems to be another error when trying to load the updated mod on the server, I’ve attached the error below for reference.

TypeError: Cannot read properties of undefined (reading ‘assort’) TypeError: Cannot read properties of undefined (reading ‘assort’) at burstm4.addTraderAssort (G:\SPT Local\user\mods\burstm4\src\mod.ts:136:54) at burstm4.postDBLoad (G:\SPT Local\user\mods\burstm4\src\mod.ts:50:44) at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:77:45) at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:30:24) at App.load (C:\snapshot\src\utils\App.ts:57:26) TypeError: Cannot read properties of undefined (reading ‘assort’) TypeError: Cannot read properties of undefined (reading ‘assort’) at burstm4.addTraderAssort (G:\SPT Local\user\mods\burstm4\src\mod.ts:136:54) at burstm4.postDBLoad (G:\SPT Local\user\mods\burstm4\src\mod.ts:50:44) at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:77:45) at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:30:24) at App.load (C:\snapshot\src\utils\App.ts:57:26)

0 Likes

Odd, that error means that your traders have different ids for some reason, can you confirm that in the mod in /database/traders the folder is named 5a7c2eca46aef81a7ca2145d

If that is the case something is wrong with your install since that is mechanics default ID

0 Likes

The folder is named that, guess something is wrong with my install. Highly unfortunate .

0 Likes

Message me on discord: steak_au_poive I think i can help you out with this

1 Like
shocked

you shouldve just added burst to the already existing m4. nice addition tho

0 Likes

I thought about that, but I felt it would be more interested in having a trade off with using one or the other. I could make an alternate version that just adds it to the existing one

0 Likes
Darezi

This should be M16 burst mode!

0 Likes

You are right lol, was lazy and did not update the name, but will with next update

0 Likes

Details