Garry's Mod

Garry's Mod

TTT - Cloaking Device
69 kommentarer
Garash 18. feb. kl. 22:21 
I wish this didn't use the exact same icon as the M4 SLAM
GoopDog123 28. dec. 2021 kl. 11:08 
assssswssssssssssssssss
GoopDog123 28. dec. 2021 kl. 11:08 
poggos
The Senate 18. apr. 2020 kl. 12:54 
I can't find it in my spawnlist
Desertworld 15. sep. 2017 kl. 10:24 
hey, it's a very nice addon but one thing bothers me: why can't you drop the cloaking device like any other traitorshop item? is there a fix to it? i already tried adding SWEP.AllowDrop = true but it didn't help
Keensta 25. feb. 2017 kl. 14:58 
If you want a fix for the pointshop bug as you call it, add me on steam. I have the code you can add to fix it.
mcNuggets 9. sep. 2016 kl. 4:51 
That is not a bug.
You are just cloaking the player, not cloaking the PS Items.
Polonius 12. aug. 2016 kl. 16:02 
Unfortunately, that's why I had to take it off my servers :(
Lykrast  [ophavsmand] 5. aug. 2016 kl. 3:02 
It's a bug that I never found a fix : basically any pointshop item with a material applied to it (like the default afro hat) won't be cloaked.
MoleMad 4. aug. 2016 kl. 20:31 
Is it compatable with pointshop? Cause when I use it in pointshot some of my cosmetics still show and arent cloaked
Nogitsu 21. juli 2016 kl. 2:23 
It won't appear in sandbox game cuz' it's a TTT weapon
Lykrast  [ophavsmand] 21. juli 2016 kl. 2:17 
In the traitor shop inside the Trouble in Terrorist Town gamemode.
Nogitsu 24. juni 2016 kl. 10:00 
T'as plus qu'à faire ta violation de copyright
http://gtm.steamproxy.vip/dmca/create/372779406
Nogitsu 24. juni 2016 kl. 9:57 
attend je vais essayer de t'envoyer le lien
Lykrast  [ophavsmand] 24. juni 2016 kl. 9:02 
Oui mais tu la signale où la violation de copyright ? Parce que le bouton si il est là n'est pas en évidence pour moi.
Nogitsu 24. juni 2016 kl. 8:33 
Signaler n'est pas aussi important que des signalements, il faut plusieurs signalements pour l'enlever et une violation de copyright pour supprimer
Lykrast  [ophavsmand] 24. juni 2016 kl. 8:13 
Je pense je l'avais déjà signalé vu que le drapeau pour moi et rouge et que ça ne fait rien quand je clique dessus.
Nogitsu 24. juni 2016 kl. 7:44 
Lykrast faut que tu signales une violation des copyrights sur ce soit disant reupload alors qu'il est toujours disponible
GodsRightEgg 26. apr. 2016 kl. 10:31 
hm
i do not have any clue^^ but thanks :)
Lykrast  [ophavsmand] 26. apr. 2016 kl. 10:16 
You'd have to do this yourself, since this weapon doesn't do any single check to ammo.
GodsRightEgg 26. apr. 2016 kl. 9:16 
Is it possible to get a cloaking wioth ammo? or could u give me the line i have to use?
BigBuffalo 7. apr. 2016 kl. 8:29 
does anyone know if its working with the latest gmod version?
Lykrast  [ophavsmand] 23. feb. 2016 kl. 7:11 
No problem.
Polonius 23. feb. 2016 kl. 5:03 
Yes some of the hats, like afro, always showed but now the jumppack shows-thats new. As far aas I know, there is only one jumppack model. But yes I think trying to find alternates to the items that show is improbable. I will just have to keep the addon deleted, but thanks for your help.
Lykrast  [ophavsmand] 23. feb. 2016 kl. 4:22 
I noticed it too, and I don't have a fix. However, from my (small amount of) testing, I noted that this only applies to items which have a material applied to them (like the default afro iirc). Maybe you should test it out and see if you can figure some compromise (like finding another model that works, although I know it's probably impossible to find some fitting thing for every hat).

However, this was quite some time ago, and if your problem came with the new update, I have honestly no idea what could cause it, so if you could do some testing yourself with your item, maybe that could help.
Polonius 23. feb. 2016 kl. 3:00 
This is a fantastic addon but with the new gmod update we have noticed a problem. If you have pointshop on your server, certain items are visible even when you are cloaked, specifically hats and the jumppack. I had to remove this from my servers and players just arent happy about it. Is there any code I can add to this to make sure those items are invisible when cloaked and become visible again when uncloaked?
BigBuffalo 20. jan. 2016 kl. 0:57 
i dont think it works with the new update mate :/
Neo ツ 19. jan. 2016 kl. 11:48 
i dont hear the sound from the Cloaking Device, can anyone help ?
Xardas Dark 10. jan. 2016 kl. 18:18 
Yeah a countdown would be nice
Min 9. jan. 2016 kl. 4:00 
Can you please add a function that allows the Cloaking Device to be used for a maximum of 60 seconds (Ammo = 60)? Something like:
local MaxAmmo = CreateConVar("cd_ammo", "60", {FCVAR_PROTECTED}, "Max ammo for cloaking device") and SWEP.Primary.ClipSize = GetConVarNumber("cd_ammo")
Superfun 24. dec. 2015 kl. 6:20 
Could you upload this to github or something?
Lykrast  [ophavsmand] 25. nov. 2015 kl. 3:17 
Alright I think I found the issue, I'll update it right now and hope it'll work for good.
Polonius 24. nov. 2015 kl. 11:02 
This doesnt seem to work.

[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100: attempt to index global 'SWEP' (a nil value)
1. PreDrop - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100
2. DropNotifiedWeapon - gamemodes/terrortown/gamemode/weaponry.lua:201
3. unknown - gamemodes/terrortown/gamemode/player.lua:599
4. FireBullets - [C]:-1
5. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318
6. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242
7. oldprimary - gamemodes/terrortown/entities/weapons/weapon_zm_rifle.lua:59
8. unknown - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:54
Lykrast  [ophavsmand] 23. nov. 2015 kl. 22:34 
Well I thought I fixed that last version, my bad. I'll try to update it as soon as I can.
Polonius 23. nov. 2015 kl. 12:23 
The cloaking device drops when the traitor dies, others pick it up, use it, and are rdm'd because players think they are a traitor. Is there any script I can add to fix this? Shoulddropondie wont work because the allowdrop is set to false.
Lykrast  [ophavsmand] 29. okt. 2015 kl. 2:34 
Should be fixed now.
Polonius 29. okt. 2015 kl. 2:05 
Lua Error: [AddCSLuaFile] Couldn't find 'shared.lua' (@gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua (line 2))
Lykrast  [ophavsmand] 27. okt. 2015 kl. 10:48 
Thanks for the bug report. As I don't really know what could cause the issue, the device can no longer be dropped by any means (including on death), which cleans up a bit of the code.

I hope this fixes the issue, or at least no longer displays any error.
Kalwei 27. okt. 2015 kl. 10:22 
9. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
10. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
11. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
12. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
13. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
14. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
15. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
16. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
Kalwei 27. okt. 2015 kl. 10:22 
Your latest update to this I believe fucked it over a bit. In my TTT server we have specdm, and this error started popping up after the update repeatedly.

[ERROR] stack overflow
1. GetTable - [C]:-1
2. __index - lua/includes/extensions/weapon.lua:30
3. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:54
4. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
5. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
6. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
7. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
8. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343


Lykrast  [ophavsmand] 8. aug. 2015 kl. 6:50 
Thanks for telling me.
Cognitive 8. aug. 2015 kl. 6:47 
Lykrast someone reuploaded your weapon the TTT 1.it is Darkgamer he is online so please do something!
Lykrast  [ophavsmand] 15. juli 2015 kl. 13:47 
Check the chain of folders and make sure they are the same as the working ones. From memory it should be something like "gamemodes/terrortown/entities/weapons" (but doublecheck just in case), but I think it can be put in something like "lua/entities/weapons" (again, from memory), although this will cause it to appear in the sandbox spawnmenu, where it cannot function for techical reasons.
PumaEng3l 15. juli 2015 kl. 13:31 
Hey I have a quick question: I'm hosting my own TTT server and I wanted to add some addons. I downloaded the file and extracted it with GmadExtractor to my /server/addons directory. However this addon doesnt shop up in the traitor menu. Other addons like the AK47, the defibrillator are working perfectly fine. Does anybody know what I can do?
MCFX2 26. mar. 2015 kl. 0:58 
Yes, but there's no configuration for this. Add a config, and it's perfect. The config should also include whether or not to have the cloak on a timer, and if so what time limit.
Lykrast  [ophavsmand] 25. mar. 2015 kl. 23:21 
Using weapon DOES remove the cloak, it even makes a loud-*** noise. The way it work is that you are cloaked as long as this is your current weapon, and switching to/from this weapon will make the noise.

It can also be easy to see a cloaked player if you are careful enough, most reliable way is to watch for a shadow without a corpse.
MCFX2 25. mar. 2015 kl. 21:13 
You should some sort of configuration files to affect things like how the invisibility works. Right now, it's a little overpowered. Run away to a secluded spot and snipe everyone without them knowing it. I'd like to see the following:
-Optional outline for cloaked players (still hard to see, but seeable)
-Using weapons disables the cloak
-A timer on the cloak, you can only use it so long before having to uncloak
lovely lad 15. feb. 2015 kl. 2:29 
I'm using your jetpack addon and this one as admin only. Now we can abuse the shit out of users. Thanks :3
Lykrast  [ophavsmand] 27. jan. 2015 kl. 22:21 
You're welcome. ;)
Quarter2Doom 27. jan. 2015 kl. 14:50 
This is working great on the server mate, thanks a lot.