Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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
Love your weapons! Wishing to see more from you !
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
more gun
2) The spread was a bit lower then it could be. The holes are placed too close to each other to give u the perfect feeling of an auto-shotgun.
pelletSpread = 8 - thats why i went for this line, atleast for some ammo (i ve used mostly low damage ammo with more pellets)
3) I think i can (or u can) create a vox model of an ammo castings and might use it instead of a pic of actual casting. Debatable, because i love the way u pulled it off.
4) U might wanna look into mine and bob's shotgun upgrade for a push code, that could replace ur applybodyforce (which is too weak right now to push stuff around).
With all respect and passion to improve already one of the best guns in the workshop
1) The barrel length does not work perfectly. I was able to found nearly perfect spot for every barrel. As well as adding the realistical looking fire on a muzzle, instead of plain one. I assume u might not use it as a standart mode, but atleast on modes that
SpawnParticle("smoke", TransformToParentPoint(GetBodyTransform(GetToolBody()), Vec(0.25, -0.6, -2.35-0.5*4/3)), VecScale(dir, 0.05), 0.3, 0.3)
ParticleType("plain")
ParticleTile(5)
ParticleColor(1, 0.6, 0.4, 1, 0.3, 0.2)
ParticleRadius(0.2)
ParticleEmissive(5, 1)
SpawnParticle(TransformToParentPoint(GetBodyTransform(GetToolBody()), Vec(0.25, -0.6, -2.35-0.5*4/3)), VecScale(dir, 0.05), 0.8, 0.3)
function SpentCasing()
local ct = GetBodyTransform(GetToolBody())
local fwdpos = TransformToParentPoint(ct, Vec(0.8+math.random(1,10)*0.01, -0.6+math.random(1,10)*0.01, -1.4+math.random(1,10)*0.01))
local gunpos = TransformToParentPoint(ct, Vec(0.4, -0.6, -1.2))
local direction = VecSub(fwdpos, gunpos)
ParticleReset()
ParticleType("plain")
ParticleTile(6)
ParticleSticky(0.5, 0.5)
ParticleDrag(0.2, 0.2)
ParticleRadius(0.05, 0.05)
ParticleAlpha(1, 0)
ParticleEmissive(10, 10)
ParticleColor(0.15, 0.15, 0.1, 0.15, 0.15, 0.1)
ParticleGravity(-10, -10)
SpawnParticle(gunpos, VecScale(direction, 10), 5)
end
and you'll understand why I use the images.
and second up, you use images of shell casings for all your weapons, even tho you could make particles like when something is hit, a high resolution image of a shell casing just feels wrong in a voxel game