Adds shotguns to the store for 700 credits
https://thunderstore.io/c/lethal-company/p/MegaPiggy/BuyableShotgun/
https://github.com/MegaPiggy/LethalCompanyBuyableShotgun
102 messages · Page 1 of 1 (latest)
Adds shotguns to the store for 700 credits
https://thunderstore.io/c/lethal-company/p/MegaPiggy/BuyableShotgun/
https://github.com/MegaPiggy/LethalCompanyBuyableShotgun
How many shots would it take to kill a thumper
I don't remember
I think it is 1 shot
but you have to be close for it to actually hit
Looks very cool
if the price isnt configurable already (havent tried it yet) you should make it configurable
from a bepinex config file
it is configurable but the config file needs to be generated first by starting game since I didn't include that in the zip file
ah alright nice
what's the diff between this and ''firearmlicence'' mod? can you buy ammo too?
there is no difference really
we just had same idea at same time
buying ammo is a separate mod I made
but firearmlicense has both packed into one
👍
do only the host needs to use it?
i have no idea as I haven't tested that.
probably just best to have it on both sides.
most likely both sides need it anyways
If the host doesnt have it and a random has it, the pod doesnt open at all. And if you buy something before hand and then buy it it makes it to where the pod just spews out an infinite amount of whatever item bought before hand.
I tested it on shovels, made infinite shovels before launching.
Amo buy able in this as well????????
Thats a seperate mod
Is there a mod for that?
just making sure are the other mod patchers required to use these mods ? if so is there a tutorial on how you install them ?
Evaisa-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher
*
If you get a mod manager it automatically adds them for you when downloading the mod.
the shotgun shell mod breaks my game
any idea as to why randomly itll shoot? be walking along and the guns will go off..
shotguns randomly shoot when the safety is off
oh.. lol didnt know that was a thing
how do I reduce weapon damage?????
idk go find another mod that does that.
this mod doesn't do anything with the shotgun other than make it buyable.
Buyable Shotgun
this doesnt show up in the store for some reason
so it turns out it needs lc_api for some reason even tho its not listed as a dependency
It does not need that
It not showing up in store has been bugging me for a while
it shows up fine on my device but then I get multiple reports of it not doing that 😔
hmm thats wierd, maybe a reinstall will make it work without lc_api?
yea can confirm it isn't working properly. shows up in the terminal store, is buyable, but 50/50 chance you will see it when the delivery shows up.
typically whoever buys it will see it and be able to pick it up and see it, but it doesnt sync with other players.
never ending update haha
[Error : Unity Log] "CalculatePolygonPath" can only be called on an active agent that has been placed on a NavMesh.
[Error : Unity Log] "SetDestination" can only be called on an active agent that has been placed on a NavMesh.
This it what the log shows typically right when I try to interact with the shotgun
that is just common manticoil error
not related
it is always spammed in logs when a manticoil has been spawned
Also having the sync issue, other players couldn't see / interact with purchased shotguns
Same happens to me
I bought it
And I could not see it
Only my friends
What mods did you have?
That makes it a little easier for me to test if it is an incompatibility
Though it very well might not be, but I just want to make sure
the log seems to indicate that there is already a shotgun in the terminal somehow
now shotgun is gone again and needs lc_api to work for some reason
turns out its actually a mod called dead begone that has some incompatibility with this mod
This is all very random
Well dead begone does need LC_API but doesn't have it marked as dependency so that might be a hint at something
yeah I see that one problem. I add shotgun to store on scene load.
If there is any mod that errors on scene load i think it will just skip my mod.
i keep getting this error what does this mean?
[Error : Unity Log] ArgumentException: The Object you want to instantiate is null.
Stack trace:
could you post the full log?
because that message alone isn't very helpful
[Error : Unity Log] ArgumentException: The Object you want to instantiate is null.
Stack trace:
UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Transform parent, System.Boolean instantiateInWorldSpace) (at <e27997765c1848b09d8073e5d642717a>:IL_0045)
UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Transform parent, System.Boolean worldPositionStays) (at <e27997765c1848b09d8073e5d642717a>:IL_0001)
UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Transform parent) (at <e27997765c1848b09d8073e5d642717a>:IL_0001)
BuyableShotgun.BuyableShotgun.MakeNonScrap (System.Int32 price) (at C:/Users/noahp/source/repos/BuyableShotgun/Main.cs:84)
BuyableShotgun.BuyableShotgun.Awake () (at C:/Users/noahp/source/repos/BuyableShotgun/Main.cs:48)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset:OnEnable()
ok that should be fixed now. thank you for reporting it
thankyou for fixing it ill try it
it's doesn't show on my store but it doesn't show any error code anymore, any idea what happen?
works good for me, might be a another mod? i tried it with sandboxie on a diff steam account with the same modlist
i think it cause by my HookGenPatcher ill try ro figure it out thanks for all of the answer
@modern ether is it possible to make the configs sync to host? my friend who wasnt the host made his shotgun cost 1 coin
Does everyone here have a problem with the buyable shotgun that doesn't save after loading the save file?
It's known unfortunately, it was attempted to be fixed with the most recent update but seems to still happen
@modern ether does the mod still has this issue?
saving and reloading the game will make bought shotguns disappear (even for host)
i have no idea if this fixes it or not lol
why mod doesnt work? shootgun dont shop
Mods for buying a shotgun and shell do not work with players who do not have these mods, although everything worked before, fix this (I checked if I can go to regular servers without mods with these mods, I do not have a friend to check if he can connect to me in the lobby without mods).
I wish they made this clearer
I had to backread just to find out it's in a config file
the game crashes if i buy this when playing w/ friends for some reason
it is pretty clear if you read the description of the mod
what command do I put in the terminal to get the shotgun/shell? (you probably get this question a lot but i couldnt find the answer)
how to config buyable shotgun
@modern ether there is currently a bug with the mod and how the terminal reads the inputs. I have found that with the recent update to the mod, no matter what you type (for example, shotg, shotgu, shotgun, shot, gun) it interprets this as wanting to order shells. I am unable to actually purchase the shotgun.
use this mod. I'll make an update when I can that will require this mod.
https://thunderstore.io/c/lethal-company/p/SylviBlossom/TerminalConflictFix/
Hello! I just downloaded the Buyable Shotgun mod and cannot seem to be able to configure the price. I read the conversation here but the question about it hasn't been addressed, may I ask if the price is configurable? Thanks in advance! 💖
it is in the config file