#Buyable Shotgun

102 messages · Page 1 of 1 (latest)

modern ether
languid pawn
modern ether
#

I don't remember
I think it is 1 shot

#

but you have to be close for it to actually hit

languid pawn
#

Looks very cool

#

if the price isnt configurable already (havent tried it yet) you should make it configurable

#

from a bepinex config file

modern ether
#

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

languid pawn
#

ah alright nice

surreal bison
#

what's the diff between this and ''firearmlicence'' mod? can you buy ammo too?

modern ether
#

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

surreal bison
#

👍

wanton current
modern ether
#

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

thick cliff
#

I tested it on shovels, made infinite shovels before launching.

hallow coral
#

Amo buy able in this as well????????

thick cliff
hallow coral
#

Is there a mod for that?

thick cliff
hallow coral
#

W

#

Thanks dude

ember arrow
#

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
*

thick cliff
#

If you get a mod manager it automatically adds them for you when downloading the mod.

hybrid thunder
#

the shotgun shell mod breaks my game

wanton canyon
#

any idea as to why randomly itll shoot? be walking along and the guns will go off..

modern ether
#

shotguns randomly shoot when the safety is off

wanton canyon
#

oh.. lol didnt know that was a thing

rough otter
#

how do I reduce weapon damage?????

modern ether
#

idk go find another mod that does that.
this mod doesn't do anything with the shotgun other than make it buyable.

modern ether
#

Buyable Shotgun

tulip hinge
#

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

modern ether
#

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 😔

tulip hinge
#

hmm thats wierd, maybe a reinstall will make it work without lc_api?

dusky spade
#

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.

modern ether
#

i though i fixed that but ok

#

modding is such a pain

dusky spade
#

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

modern ether
#

that is just common manticoil error

#

not related

#

it is always spammed in logs when a manticoil has been spawned

tired cipher
#

Also having the sync issue, other players couldn't see / interact with purchased shotguns

loud turret
#

I bought it

#

And I could not see it

#

Only my friends

modern ether
#

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

dusky spade
#

the log seems to indicate that there is already a shotgun in the terminal somehow

tulip hinge
#

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

modern ether
#

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.

junior hinge
#

i keep getting this error what does this mean?
[Error : Unity Log] ArgumentException: The Object you want to instantiate is null.
Stack trace:

modern ether
junior hinge
# modern ether 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()

modern ether
junior hinge
#

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?

lapis solstice
#

works good for me, might be a another mod? i tried it with sandboxie on a diff steam account with the same modlist

junior hinge
#

i think it cause by my HookGenPatcher ill try ro figure it out thanks for all of the answer

somber anchor
#

@modern ether is it possible to make the configs sync to host? my friend who wasnt the host made his shotgun cost 1 coin

regal sedge
#

Does everyone here have a problem with the buyable shotgun that doesn't save after loading the save file?

whole heart
cedar copper
#

saving and reloading the game will make bought shotguns disappear (even for host)

#

i have no idea if this fixes it or not lol

modern ether
#

that is just an older version reuploaded

#

the problem does happen still

cedar copper
#

alright

#

seems like bettershotgun, has this problem fixed

modern ether
#

that is because it is exactly like my last version

#

i fix a bug and another pops up

grizzled cairn
#

why mod doesnt work? shootgun dont shop

stray sedge
#

um

#

how can i change the price of the shotgun

storm halo
#

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).

vapid siren
#

I had to backread just to find out it's in a config file

steel sluice
#

the game crashes if i buy this when playing w/ friends for some reason

modern ether
boreal flicker
#

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)

stark meadow
#

how to config buyable shotgun

lucid sphinx
#

@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.

modern ether
alpine ingot
#

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! 💖

modern ether
#

it is in the config file