Garry's Mod

Garry's Mod

SCP - 682 SWEP
63 条留言
Wekyc  [作者] 2 月 7 日 上午 11:53 
i have no idea tbh, it could be releated to legacy code and some garrys updates
Alex 2 月 7 日 上午 11:43 
[ERROR] lua/weapons/scp-682.lua:94: attempt to compare number with nil
1. unknown - lua/weapons/scp-682.lua:94
Wekyc  [作者] 2 月 7 日 上午 11:38 
im kinda clueless
Wekyc  [作者] 2 月 7 日 上午 11:37 
hmm i think that SWEP has to be somehow initialized but i don't remember how

this is rest of my code https://pastebin.com/HpF3h5ck

thh i have no idea wthat could be a problem
Alex 2 月 7 日 上午 11:21 
all my code ?
Wekyc  [作者] 2 月 7 日 上午 11:18 
ye, but entire weapon code
Wekyc  [作者] 2 月 7 日 上午 11:15 
could you show me an entire code?
Alex 2 月 7 日 上午 10:51 
[ERROR] lua/weapons/scp-682.lua:94: attempt to index global 'SWEP' (a nil value)
1. unknown - lua/weapons/scp-682.lua:94
Wekyc  [作者] 2 月 7 日 上午 10:44 
https://pastebin.com/wjVDEVQR pasetbin for better format
Wekyc  [作者] 2 月 7 日 上午 10:43 
SWEP.NextAttackW = 30
SWEP.AttackDelay2 = 45
function SWEP:SecondaryAttack()
if self.NextAttackW > CurTime() then
if SERVER then
self.Owner:PrintMessage(3, "Ability 'burst' is still on cooldown!")
return
end
end
self.NextAttackW = CurTime() + self.AttackDelay2
local ply = self.Owner

ply:SetWalkSpeed(300)
ply:SetRunSpeed(300)
ply:SetMaxSpeed(300)
ply:SetJumpPower(300)
local function RemoveBuff()
ply:SetWalkSpeed(115)
ply:SetRunSpeed(115)
ply:SetMaxSpeed(115)
ply:SetJumpPower(200)
end
timer.Create("SCP_PLAYER_WILL_LOSE_BUFF", 5, 1, RemoveBuff)
end

This should work
Alex 2 月 7 日 上午 10:22 
acceleration for a certain time
Alex 2 月 7 日 上午 10:20 
acceleration is like yours for SCP-682
Wekyc  [作者] 2 月 7 日 上午 10:17 
what do u want to do?
Alex 2 月 7 日 上午 10:00 
I'm talking about my mod, can you help me with speeding up over time ? :steamhappy:
Wekyc  [作者] 2 月 7 日 上午 8:37 
ok, i got it. you have to extract file using a GMAD.exe (its located in garrysmod -> bin directory, but first you have to fix a *_legacy.bin file

1.Extract bin file with 7-zip
2.Add the extension .gma to the extracted file's name
3.There you have your gma file to extract with gmad

and then you'll have a extracted directory with a 2 directories,
-lua
-sound

enter sound, and there you have a roar.mp3 file. to make it quieter you have to replace this file with something else. (im pretty sure that it must be properly converted otherwise it won't work)

and voila, now you have to upload this file to steam workshop xd
Alex 2 月 7 日 上午 7:00 
hello, can you help me with the mod?
Wekyc  [作者] 2 月 1 日 上午 5:54 
filename . [filextension]
Alex 1 月 31 日 上午 5:13 
I do not know what it is
Wekyc  [作者] 1 月 31 日 上午 4:46 
what is file extension? It looks like compiled code
Alex 1 月 28 日 上午 9:58 
u€VGeћЖ№lЧUmн,BІнъFJF— лќI“¤"$|bD]<мVџВЩ#kpА’лэ6ВЛwЄбЬлv‘+”ґофrfx‰ўONЃ‹$·н1oЗ­ЖrY№ьФє1ҐбдЏOк»Зэщ:‰1Щ*a|ШуYЛпMо)п*mиШ=У…ґ†3·$эР«0j, what is it, I went into the editor to turn off the sound and boost the otaku, and then this code
Alex 1 月 28 日 上午 9:48 
OK but the adrenaline
Wekyc  [作者] 1 月 28 日 上午 9:46 
search for a function which is responsible for the attack, if u can paste code on pasetbin, it would be easier for me instead of read the tea leves
Alex 1 月 28 日 上午 9:24 
how to remove a scream :steamhappy:
Alex 1 月 15 日 上午 10:54 
:steamhappy:
Alex 1 月 15 日 上午 10:54 
and the mod can be edited
Alex 2024 年 11 月 13 日 上午 3:47 
ok thanks for the cool mod
Wekyc  [作者] 2024 年 11 月 12 日 下午 4:00 
Its not supported since 2017 xD tbh i don't remember how to edit this addon, but i think that it is possible to extract lua files from this and edit it by yourself
Alex 2024 年 11 月 12 日 下午 1:18 
can you replace the sound when killing, I just shit myself
ShadowFall334 2022 年 10 月 20 日 上午 8:24 
Yes!
Wekyc  [作者] 2022 年 10 月 19 日 下午 3:05 
this script is still working? xD
ShadowFall334 2022 年 10 月 18 日 下午 1:19 
Mf turned the volume up to 5000%
screaming sicillian jimbo 2021 年 5 月 26 日 下午 10:36 
jake but hes pertending to be demon
duckliege 2021 年 2 月 21 日 上午 11:52 
That is dog gorefield
Cap'n Squidbeard the terror 2020 年 10 月 1 日 下午 3:54 
wow even xenomorph,s are more scary
Sigmund 2019 年 5 月 17 日 下午 10:05 
SCP-Adventure time addition
bag 2019 年 5 月 4 日 上午 9:53 
is that 682 it looks awfully weird
Möth Man (Pingu) 2018 年 12 月 30 日 上午 4:23 
what's with the picture
munkeyrunkey 2018 年 10 月 29 日 下午 2:18 
...
VinkoZovich 2018 年 10 月 11 日 下午 12:06 
you know thats not a tattle tail thats actaully jake the dog from a episode of adventur time
BluDogger 2018 年 10 月 1 日 上午 11:52 
wow
Wekyc  [作者] 2018 年 7 月 28 日 上午 4:42 
I don't care, i made this for my own modpack.
HeadHuntingSniper 2018 年 7 月 27 日 下午 7:37 
If you don't tell use what it does or if the Picture is an orange tattletail why the #### should we subscribe
Wekyc  [作者] 2018 年 5 月 15 日 上午 6:06 
No dick no pic
big lizard 2018 年 5 月 14 日 下午 3:27 
No pic, no click.
No description, No Subscription.
Gibbles The Fool 2017 年 9 月 6 日 下午 10:00 
did you just assume my gender
Wekyc  [作者] 2017 年 8 月 9 日 上午 2:05 
Its Demon Jake.
Anxiety 2017 年 8 月 8 日 下午 5:04 
Soo , you picked up a Jake from an Adventure time picture and placed it in paint , placed some words , and yeah , ported in the Screenshot , no desc and no Pics of what the fuck is it , soo , lemee guess , i dont want GMOD Crash or Lua errors everywhere so , yeah like the guy below me , "No pic,no click"
Gibbles The Fool 2017 年 6 月 14 日 下午 3:00 
no pic, no click
Gen. Alexander 2017 年 6 月 13 日 下午 11:30 
should i get or should i go?
cuz if it sucks ill waste my time
so let me think for some time..
should i get or should i go?
Wekyc  [作者] 2017 年 6 月 13 日 上午 6:33 
ayy