Loadout Spawner 1.1.0

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Why even bother buying gear when you can spawn it directly?

I was tired of having to buy stuff all the time, while I only want to shoot at AI during my free time.


As of now, only weapon preset spawn is available, but I'm planning to also add gear preset.


I'm also planning to automatically add weapon/gear to player slot if they are empty.


Installation

Drag and drop to your SPT folder


How to use

  • Click on the ADD TO INVENTORY" button while your are on a weapon preset.
    • The weapon will appear in your stash.
  • Go in your preset list and click on SPAWN GEAR


Additionnal informations

Please, keep in mind this is my first mod. If something is broken, report it to me


Coming in the future

  • Go in raid with a random PMC loadout
  • Version 1.1.0

    feat: loadout spawner. You can now spawn your entire loadout.

    fix: no longer relying on GameObject.Find

  • Version 1.0.1

    Removed EFT Api dependency because too many weird issues were happening because of it.

    Make sure to read README.md (tl;dr: remove user/mods/rameleu-loadoutspawner-1.0.0 folder before running your server, as I made some crap on the previous release).

    • fix: removed EFT Api dependency
    • chore: removed backend logging on weapon spawn
  • Version 1.0.0

  • is there gonna be updates for 3.9.x??

    Thumbs Up 1 Crying 2
  • Hi!
    I was using that mod with any problem but out of the nowhere every time I click on the "spawn gear" button the game crash with this error:

    TypeError: Cannot read properties of undefined (reading '_props')

    TypeError: Cannot read properties of undefined (reading '_props')

    at ArmorHelper.addChildrenToArmorModSlots (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\helpers\ArmorHelper.ts:48:58)

    at Mod.giveItem (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:104:26)

    at D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:86:34

    at Array.map (<anonymous>)

    at Object.action (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:85:36)

    at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:47:61)

    at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:78:62)

    at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:43:30)

    at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38)

    at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43)

    TypeError: Cannot read properties of undefined (reading '_props')

    TypeError: Cannot read properties of undefined (reading '_props')

    at ArmorHelper.addChildrenToArmorModSlots (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\helpers\ArmorHelper.ts:48:58)

    at Mod.giveItem (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:104:26)

    at D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:86:34

    at Array.map (<anonymous>)

    at Object.action (D:\Giochi\SPT3.8.3\user\mods\rameleu-loadoutspawner\src\mod.ts:85:36)

    at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:47:61)

    at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:78:62)

    at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:43:30)

    at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38)

    at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43)

    I installed the most recent EFT Api but nothing changed. Thank you for your help.

  • Hi Rameleu, do you know if this is or will be compatible with fika, would be fun to try silly custom loadouts with my mates with this but every time i add to inventory EFT stops responding, TIA.

    • It is compatible with any other mod, as long as it is installed both on client and server.

  • Will there ever be ammo added to the spawn ability? I can't seem to figure out how to get ammo w/out buying it .

    • You need to add them first in your inventory. In a future version, I'll allow right click > spawn, but for the moment I don't have time to work on it

  • for the gearwise is there a way that i can disable the gamma case content to not be saved? because when i click spawn loadout it pushes all the dog tags out which i had gathered from the previous raids...

    • just remove the gamma when you save the loadout, that way it won't spawn another one. I'll make an update when I have the time to filter out the cases from the loadout

      Thumbs Up 1
    • alrighty will do thank you so much!

  • Oh you finished the gear bro!!! This is the coolest and most necessary mod, I missed it so much, Thank you!!!!

    • Glad you like it! There are still some issues, but I'm too lazy to fix them atm

    • Everything works great for me, it was lazy that helped to come up with and create this mod! this is a great power!!! :vodka: :vodka: :vodka:

  • I cannot get it to work. I am on 3.8.3 with this mod loading 4th from the last. IDK why it wont work.

    • Nevermind it just doesn't work with Fika. Besides that point I have an idea with this mod. If you'd be willing to implement something like that. I am trying to put together a realism + Path to Tarkov pack together. And I want some sort of permanent progression. The idea is basically playing with no flea market. And only trading with traders. Since you cannot access the stash from everywhere. I would like to add a few loadouts every 5 levels. With some sorta progression between them.

    • My mod should work with any other mod, as long as the server has it installed.

      As for the suggestion, thank you, I'll think about it!

    • TypeError: Cannot read properties of undefined (reading '_props')

      TypeError: Cannot read properties of undefined (reading '_props')

      at ArmorHelper.addChildrenToArmorModSlots (D:\eft sp\user\mods\rameleu-loadoutspawner\src\helpers\ArmorHelper.ts:48:58)

      at Mod.giveItem (D:\eft sp\user\mods\rameleu-loadoutspawner\src\mod.ts:104:26)

      at Object.action (D:\eft sp\user\mods\rameleu-loadoutspawner\src\mod.ts:59:30)

      at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:47:61)

      at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:78:62)

      at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:43:30)

      at HttpRouter.getResponse (D:\eft sp\user\mods\fika-server\src\overrides\routers\HttpRouter.ts:25:56)

      at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38)

      at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43)

      at IncomingMessage.emit (node:events:518:28)

      TypeError: Cannot read properties of undefined (reading '_props')

      TypeError: Cannot read properties of undefined (reading '_props')

      at ArmorHelper.addChildrenToArmorModSlots (D:\eft sp\user\mods\rameleu-loadoutspawner\src\helpers\ArmorHelper.ts:48:58)

      at Mod.giveItem (D:\eft sp\user\mods\rameleu-loadoutspawner\src\mod.ts:104:26)

      at Object.action (D:\eft sp\user\mods\rameleu-loadoutspawner\src\mod.ts:59:30)

      at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:47:61)

      at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:78:62)

      at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:43:30)

      at HttpRouter.getResponse (D:\eft sp\user\mods\fika-server\src\overrides\routers\HttpRouter.ts:25:56)

      at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38)

      at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43)

      at IncomingMessage.emit (node:events:518:28)


      Getting this error while trying to use it.

    • Have you solved? I don't use Fika but the error messages are the same.

  • Hello, in the first version it didn't work for me and now that you updated to not have a dependency on eftApi I thought it would work for me and it still doesn't work. I click the add to inventory button and nothing happens. I've tried everything but nothing works... require a new profile?

    • edit: i was using wrong spt version sorry great mod

  • hey the mod is not working, could we trouble shoot on discord?

  • idk if i'm missing something important but it doesn't work for me.

    I downloaded the mod and EFT Api but when i click on ,,add to inventory,, nothing happens.

    Do i maybe have to install another mod for this?

    • okay so apparently after restarting my game it worked so nevermind

  • this is fire, but can you make it that it still costs money to do so?

    • Not planned as you get the exact same feature by just using the regular "find parts" button

  • Honestly it would be awesome to also make this for the preset kits as well!

    Thinking 1
    • That's in the works!

  • You're awesome, brother. Such a good QoL mod. Can't wait for the gear integration if you can manage it. Good work.

  • Does this work with anything below 3.8.3 or is it 3.8.3 only?

    • It may work for 3.8.x, not sure below that version

    • I just checked myself, it appears to work without any issue on 3.8.0. Great mod, thank you for making it

  • This is such a huge QoL improvement for those who just spawn their preferred equipment in that my jaw dropped when I saw it. So much time saved! Thanks

  • Thank you very much for your efforts, all that's left is to add equipment and it will be absolutely amazing

    • Glad you like it! I'll work on that asap

  • Hello! I have EFT API installed, I see the "add to inventory" button. But if I press it nothing happens. Can you help? (Edit: It gets in my stash after restarting the game)

    • It should add it instantly. If it doesn't after restarting, let me know and I'll look into the issue

    • For some reason I have to exit, and re-enter the game to have the weapon spawned in my stash. It doesnt add instantly.

    • If you got time, do you mind adding me on discord ( @Rameleu) to talk about that issue? I'd like to get those issues sorted before making more features

    • Ive sent you a friend request (fatalnexus)

  • Hello! The idea is cool but something doesn’t work (both with vanilla weapons and with mods) I press add to inventory and nothing happens

    • You're probably missing EFT API. Please, install it from here EFT Api

    • All work (mod`s weapon same) Thank :)

  • That's... rather interesting. Need tests of course.


    I have too many mods that add new weapons as well, don't wanna risk for now ;D