[Help] Gun game: Recoil and damage problem

Each shot has so much recoil that character looks at ground. Also even pistol shots one shot everything.
I know it is a bug that the developers created, but can we try to fix it with our own methods?

I propose that it might be an issue with recoil somehow modified by a lot

Create a custom squad so the gun aren’t modify by the squad initial gun

1 Like

Would you mind sharing your codes?

For your gun game did you provide a gun with the initial squad?

I just take a APC driver with no gun with vertical recoil for the perk

https://drive.google.com/drive/folders/12Fhqi5A8q3od0DkHO_cRAh_IJoUf5OI3
My code is here. Could i trouble you to help me take a look at whats wrong?

@Mopuit It might be my laziness causing me trouble
image
I did not add weapons:array since i thought it was useless

No that did not solve it. What is happening
Does anyone know or have any experience of fixing a gun game?
@ErikaKalkbrenner sorry to trouble you, could you please see if you have any clue to this?

i don’t… deal with gun games either :upside_down_face:

" what do you do then? "

i’m more of a fashion designer of enlisted lmao

since half of my mods are pves, which are broken for the most part due to restrictions.

in your case, i really don’t know.

what i know however, is that such " phenomena " used to be a bug when picking up weapons.

but more than that, i do not know.

try to look at the characters.

they have this parameter:

              "human_weap__weapInitialComponents" : [
                 {
                    "gun__kineticDamageMult" : 20.0,
                    "gun__recoilAmount" : -15.0,
                    "gun_spread__maxDeltaAngle" : -30.0

could be the issue(?)

sorry… wish i could help further, but i don’t know of such issue.

You are correct, i am now testing to see if human_weap__weapInitialComponents is causing the problem. Like the negative value makes the value go to positive infinity.

OMG you are correct! I was thinking about it when I saw your suggestion.
Video below is with the InitialComponent:


And this is with it removed:

So the human_weap__weapInitialComponents really made the values go to positive infinity

That why I was founding that strange that you have this component when looking the code

That profile was the one i used for my zombie mod. And it was logical i, believe, to have that. I didn’t know it could cause things like +∞ which would happen when you have a negative that is so small, that the program cannot handle and then resort it to the largest number it can fit in (so technically it is just a very large positive number, not ∞). This is the overflow error which happens in two’s complement cases, idk it would happen here

I guess you learn new things every day