#HOW TO FIX THE GUN BUG (bullets explode in the gun)

43 messages · Page 1 of 1 (latest)

twilit briar
#

ONLY FOR Tesseractahedron guns

  1. right click on this page and copy the URL
  2. paste the url in notepad or something, you need to copy the actual ID (the numbers) of this mod
  3. go to steam library and right click on teardown and browse local files
  4. look at the address bar and press back arrow until you are at "steamapps"
  5. click workshop, then content, then find the folder named "1167630" (teardown mods)
  6. go to search bar and paste the ID of the mod
  7. once you find the folder for the mod, find main.lua
  8. open up main.lua, press control F (to find) and search for "function Shoot()"
  9. inside that function there should be a line that says "local gunpos"
  10. set the third value inside of the vec() to like -3 or -4
    ^^ should look like this "local gunpos = TransformToParentPoint(gt, Vec(0.275, -0.6, -3))"
  11. DONT mess with the first two values, they are up and down and left to right, they arent the right directions
  12. save the file and load up the gun AND YOU ARE DONE

idk if its the right place to post???

kind scaffold
twilit briar
#

it works for all

kind scaffold
#

the actual solution is to add QueryRejectBody(GetToolBody()) above any instances of QueryRaycast in the code

twilit briar
#

they all use the same exact system, the only difference is the vector3 points may be different on the first two values

#

that probably works too

#

this is just a simple fix

kind scaffold
#

how many mods have you looked at

twilit briar
#

im only talking about the Tesseractahedron guns

kind scaffold
#

I'd still recommend the QueryRejectBody method, it just works better

silent oar
#

this is unnecessary

twilit briar
#

this is literally just for the people in the comments

#

who probably dont know anything about lua

silent oar
#

it also works for EVERY gun

kind scaffold
#

we, the modders, are giving a solution

twilit briar
#

im sure Tesseractahedron can find a way to implement the other method, this is just to quickly fix the guns

silent oar
kind scaffold
#

I have described everything you need to do

twilit briar
#

brah

#

i get it

kind scaffold
#

it's the actual, official solution

twilit briar
#

this is for ppl in the comments

silent oar
twilit briar
#

thats why its so simple

#

true^

kind scaffold
twilit briar
#

Robert Smith

silent oar
#

our method requires you to add 1 single line

twilit briar
#

ok

kind scaffold
# twilit briar Robert Smith

and that's fine, but we, the people that make mods for the game, are saying there's an easier and overall better solution to fix any mod with the issue, not just tesseractahedron's

silent oar
#

wait

#

KBD2

kind scaffold
#

hallo

silent oar
#

this is the guy who kept arguing with fowleri in the norway reupload comments

kind scaffold
#

LMAO

silent oar
#

if you know about that

#

go on a submarine ride which uses a Logitech F710 as a controller to explore the titanic

obsidian robin
#

Or just do QuereyRejectBody(GetToolBody()) in front any raycasts